m ProbablePrime moved page DataPresetValue (Component) to Component:DataPresetValue: Creating component Namespace |
Automated: update component fields |
||
Line 9: | Line 9: | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|PresetValue| | |PresetValue|'''T'''|TypeAdv0=true|The value for the preset. Float is used as an example. Since this is a generic component, it can be used with any value. | ||
|TargetField|IField`1| | |TargetField|{{RootFieldType|RelayRef`1|[[Type:IField`1|IField`1]]<T>}}|TypeAdv1=true|A reference to the field of the same type as PresetValue. | ||
}} | }} | ||
Revision as of 19:21, 1 March 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
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. |
PresetValue
|
T | The value for the preset. Float is used as an example. Since this is a generic component, it can be used with any value. |
TargetField
|
direct RelayRef`1<IField`1<T>> | A reference to the field of the same type as PresetValue. |
Usage
See DataPreset for usage.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.