Component:DataPresetValue: Difference between revisions

From Resonite Wiki
Automated: update component fields
Automated: update Categories
Line 23: Line 23:
[[Category:ComponentStubs]]
[[Category:ComponentStubs]]
[[Category:Generics]]
[[Category:Generics]]
[[Category:Components|Data Preset Value`1]]
[[Category:Components:Data:Presets{{#translation:}}|Data Preset Value`1]]
[[Category:Components:Data:Presets|Data Preset Value`1]]
[[Category:Components{{#translation:}}|Data Preset Value`1]]
[[Category:Generic Components{{#translation:}}|Data Preset Value`1]]

Revision as of 20:27, 3 March 2024


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


Component image 
Data Preset Value`1 component as seen in the Scene Inspector


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.
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.