Difference between revisions of "DynamicField`1 (Component)"
Jump to navigation
Jump to search
Chemicalcrux (talk | contribs) (Add descriptions.) |
Chemicalcrux (talk | contribs) m (Use generic type.) |
||
Line 11: | Line 11: | ||
== Intoduction == | == Intoduction == | ||
The '''DynamicField`1''' component points at a field containing a value type. The value of the its variable is whatever the field contains, and the field will be updated if the variable is written to. | The '''DynamicField`1''' component points at a field containing a value type. The value of the its variable is whatever the field contains, and the field will be updated if the variable is written to. | ||
+ | |||
+ | For demonstration purposes, this component is shown with a [[:Category:Types:Float|float]] type. | ||
<!--T:3--> | <!--T:3--> | ||
Line 16: | Line 18: | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|VariableName|String|The name of the dynamic variable to be used | |VariableName|String|The name of the dynamic variable to be used | ||
− | |TargetField|IField`1|TypeString1=IField< | + | |TargetField|IField`1|TypeString1=IField<T>|The field that will be used as the dynamic variable's value |
|OverrideOnLink|Bool|If true, the value of the field will be written when this component is moved into a new space | |OverrideOnLink|Bool|If true, the value of the field will be written when this component is moved into a new space | ||
}} | }} |
Latest revision as of 15:35, 8 February 2021
This article or section is a Stub. You can help the Neos Wiki by expanding it.
Intoduction
The DynamicField`1 component points at a field containing a value type. The value of the its variable is whatever the field contains, and the field will be updated if the variable is written to.
For demonstration purposes, this component is shown with a float type.
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 |
VariableName
|
String | The name of the dynamic variable to be used |
TargetField
|
IField<T> | The field that will be used as the dynamic variable's value |
OverrideOnLink
|
Bool | If true, the value of the field will be written when this component is moved into a new space |