Component:DataPresetReference: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page DataPresetReference (Component) to Component:DataPresetReference: Creating component Namespace
Automated: update component fields
Line 9: Line 9:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|PresetReference|IWorldElement|The field reference for the preset. Since this is a generic component, it can be used with any type of reference.
|PresetReference|'''T'''|TypeAdv0=true|The field reference for the preset. Since this is a generic component, it can be used with any type of reference.
|TargetReference|SyncRef`1|TypeString1=SyncRef<IWorldElement>|A reference to the reference field of the same type as PresetReference.
|TargetReference|{{RootFieldType|RelayRef`1|[[Type:SyncRef`1|SyncRef`1]]&lt;T&gt;}}|TypeAdv1=true|A reference to the reference field of the same type as PresetReference.
}}
}}



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 
Data Preset Reference`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.
PresetReference T The field reference for the preset. Since this is a generic component, it can be used with any type of reference.
TargetReference direct RelayRef`1<SyncRef`1<T>> A reference to the reference field of the same type as PresetReference.

Usage

See DataPreset for usage.

Examples

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