m ProbablePrime moved page DynamicValueVariableDriver`1 (Component) to Component:DynamicValueVariableDriver`1: Creating component Namespace |
Automated: update component fields |
||
Line 18: | Line 18: | ||
== Usage == | == Usage == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|VariableName|String|The name of the variable to use | |VariableName|String|The name of the variable to use | ||
|Target| | |Target|{{RootFieldType|FieldDrive`1|T}}|TypeAdv1=true|The field to drive | ||
|DefaultValue|T|The value to use if the dynamic variable cannot be resolved. | |DefaultValue|'''T'''|TypeAdv2=true|The value to use if the dynamic variable cannot be resolved. | ||
}} | }} | ||
Revision as of 19:09, 1 March 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
Intoduction
This component drives a value-type field with the contents of the dynamic variable it references.
For demonstration purposes, the component is shown here with a float type.
Usage
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 to use |
Target
|
field drive of T | The field to drive |
DefaultValue
|
T | The value to use if the dynamic variable cannot be resolved. |