Component:ValueMultiDriver: Difference between revisions

From Resonite Wiki
imported>Epsilion
Created page with "<languages></languages> <translate> {{stub}} {{Infobox Component |Image=ValueMultiDriver`1Component.png |Name=ValueMultiDriver`1 }} == Intoduction == The '''ValueMultiDriver`1..."
 
mNo edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 6: Line 6:
|Name=ValueMultiDriver`1
|Name=ValueMultiDriver`1
}}
}}
== Intoduction ==
The '''ValueMultiDriver`1''' component allows you to drive multiple fields from a single value.
The '''ValueMultiDriver`1''' component allows you to drive multiple fields from a single value.
== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|Value|T| Value of the specified type, which will be driven to all fields listed in <code>Drives</code>
|Value|'''T'''|TypeAdv0=true| Value 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:FieldDrive`1|FieldDrive`1]]&lt;T&gt;}}|TypeAdv1=true| A list of fields to be driven by this component
}}
}}
== Behavior ==
== Behavior ==
Line 18: Line 17:
</translate>
</translate>
[[Category:Generics{{#translation:}}]]
[[Category:Generics{{#translation:}}]]
[[Category:Components{{#translation:}}|ValueMultiDriver`1 (Component){{#translation:}}]]
[[Category:Components{{#translation:}}|Value Multi Driver`1]]
[[Category:Components:Relations{{#translation:}}|ValueMultiDriver`1 (Component){{#translation:}}]]
[[Category:Generic Components{{#translation:}}|Value Multi Driver`1]]
[[Category:Components:Relations{{#translation:}}|Value Multi Driver`1]]

Latest revision as of 23:45, 25 January 2025


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

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

The ValueMultiDriver`1 component allows you to drive multiple fields from a single value.

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. Some components stop their functionality when this field is disabled, but some don't.
Value T Value of the specified type, which will be driven to all fields listed in Drives
Drives list of FieldDrive`1<T> A list of fields to be driven by this component

Behavior

Examples

Related Components