Component:DynamicTypeField: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
 
Line 3: Line 3:
|Name=Dynamic Type Field
|Name=Dynamic Type Field
}}
}}
{{stub}}
The '''DynamicTypeField''' Component is used to mark a field containing a [[Type:Type|Type]] as the value of a dynamic variable.


== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|VariableName|String|
|VariableName|String| The name of the variable.
|TargetField|{{RootFieldType|RelayRef`1|[[Type:SyncType|SyncType]]}}|TypeAdv1=true|
|TargetField|{{RootFieldType|RelayRef`1|[[Type:SyncType|SyncType]]}}|TypeAdv1=true| The field to stay up to date with and change the value of the dynamic variable's value.
|OverrideOnLink|Bool|
|OverrideOnLink|Bool| Whether to write the current value of the dynamic variable in a space when it connects to it with the one this component is storing.
}}
}}


== Behavior ==
== Usage ==
For more info on Dynamic Variables and how they work including this type of component, see [[Dynamic Variables]].


== Examples ==
== Examples ==
{{stub}}


== See Also ==
== See Also ==
* [[Dynamic Variables]]


[[Category:Components:Data:Dynamic{{#translation:}}|Dynamic Type Field]]
[[Category:Components:Data:Dynamic{{#translation:}}|Dynamic Type Field]]
[[Category:Components{{#translation:}}|Dynamic Type Field]]
[[Category:Components{{#translation:}}|Dynamic Type Field]]
[[Category:ComponentStubs]]

Latest revision as of 17:54, 13 November 2024

Component image 
Dynamic Type Field component as seen in the Scene Inspector

The DynamicTypeField Component is used to mark a field containing a Type as the value of a dynamic variable.

Fields

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.
VariableName String The name of the variable.
TargetField direct RelayRef`1<SyncType> The field to stay up to date with and change the value of the dynamic variable's value.
OverrideOnLink Bool Whether to write the current value of the dynamic variable in a space when it connects to it with the one this component is storing.

Usage

For more info on Dynamic Variables and how they work including this type of component, see Dynamic Variables.

Examples

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


See Also