Component:ReferenceMultiDriver: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page ReferenceMultiDriver (Component) to Component:ReferenceMultiDriver: Creating component Namespace
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 6: Line 6:
|Name=ReferenceMultiDriver`1
|Name=ReferenceMultiDriver`1
}}
}}
== Intoduction ==
The '''ReferenceMultiDriver`1''' component allows you to drive multiple fields from a single reference.
The '''ReferenceMultiDriver`1''' component allows you to drive multiple fields from a single reference.


== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|Reference|T| Reference of the specified type, which will be driven to all fields listed in <code>Drives</code>
|Reference|'''T'''|TypeAdv0=true| Reference of the specified type, which will be driven to all fields listed in <code>Drives</code>
|Drives|FieldDrive`1|TypeString1=FieldDrive<T>| A list of fields to be driven by this component
|Drives|{{RootFieldType|SyncList`1|[[Type:RefDrive`1|RefDrive`1]]&lt;T&gt;}}|TypeAdv1=true| A list of fields to be driven by this component
}}
}}


Line 20: Line 19:


== Related Issues ==
== Related Issues ==
[https://github.com/Neos-Metaverse/NeosPublic/issues/1154 <s>#1154 - [Enhancement/Component<nowiki>]</nowiki> Add ReferenceMultiDriver</s>]


== Related Components ==
== Related Components ==
</translate>
</translate>
[[Category:Generics{{#translation:}}]]
[[Category:Generics{{#translation:}}]]
[[Category:Components{{#translation:}}|ValueMultiDriver`1 (Component){{#translation:}}]]
[[Category:Components{{#translation:}}|Reference Multi Driver`1]]
[[Category:Components:Relations{{#translation:}}|ValueMultiDriver`1 (Component){{#translation:}}]]
[[Category:Generic Components{{#translation:}}|Reference Multi Driver`1]]
[[Category:Components:Relations{{#translation:}}|Reference Multi Driver`1]]

Latest revision as of 21:35, 25 April 2024


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Component image 
ReferenceMultiDriver`1 component as seen in the Scene Inspector

The ReferenceMultiDriver`1 component allows you to drive multiple fields from a single reference.

Usage

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
Reference T Reference of the specified type, which will be driven to all fields listed in Drives
Drives list of RefDrive`1<T> A list of fields to be driven by this component

Behavior

Examples

Related Issues

Related Components