Component:CloudValueVariableDriver

From Resonite Wiki
This page contains changes which are not marked for translation.
Component image 
CloudValueVariableDriver<T> component as seen in the Scene Inspector


The CloudValueVariableDriver<T> component drives the Target field of type T with the value of the specified cloud variable owned by the local user.

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 the local user does not have a definition for the cloud variable or the local user does not match OverrideOwner.
OverrideOwner String The UserID of the user that made a definition for the variable specified by Path or the local user if not specified.

Usage

Upon being given a valid cloud variable Path, the component will drive the value of the Target with the value of the cloud variable owned by the local user. If OverrideOwner is specified, the field will only be driven to the value for the user specified in OverrideOwner. Otherwise, the field will take the value of the FallbackValue.

Examples

See Also