Component:CloudValueVariableDriver`1

From Resonite Wiki
Revision as of 19:00, 15 October 2024 by 989onan (talk | contribs) (added some info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
Cloud Value Variable Driver`1 component as seen in the Scene Inspector


For more info on how Cloud Variables work in general, see Cloud Variables.

This updates as fast as reading/writing cloud variables permits. All the restrictions that apply to cloud variables apply to this component, including permissions and world contexts.

This component drives Target to the cloud value read, or drives it to FallbackValue if not found.

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.
Path String The path of the variable this component will read.
Target field drive of T The target field to which the variable value will be written.
IsLinkedToCloud Bool (Read Only) Indicates whether this field was successfully bound to the target variable.
WriteBack Bool Updates the value in the cloud when the driven field is changed.
FallbackValue T Default value if there is no current active user or OverrideOwner. If the user's value isn't set, the definition default will be used instead.
OverrideOwner String The UserID of the user that made a definition for the variable specified by Path, or active user if not specified.

Usage

Examples

Related Components