|Path|String| The [[Cloud_Variables#Cloud_Variable_Definition| path]] of the variable this component will read.
|Path|String| The [[Cloud_Variables#Cloud_Variable_Definition| path]] of the variable this component will read.
|Target|{{RootFieldType|FieldDrive`1|T}}|TypeAdv1=true| The target [[Type:IField`1| field]] to which the variable value will be written.
|Target|{{RootFieldType|FieldDrive`1|T}}|TypeAdv1=true| The target [[Type:IField`1| field]] to which the variable value will be written.
|IsLinkedToCloud|Bool| ''(Read Only)'' Indicates whether this field was successfully bound to the target variable.
|IsLinkedToCloud|{{RootFieldType|RawOutput`1|[[Type:Bool|Bool]]}}|TypeAdv2=true| ''(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. See [[Drives#Write Backs|write backs]].
|WriteBack|Bool| Updates the value in the cloud when the driven field is changed. See [[Drives#Write Backs|write backs]].
|FallbackValue|'''T'''|TypeAdv4=true| Default value if the local user does not have a definition for the cloud variable or the local user does not match <code>OverrideOwner</code>.
|FallbackValue|'''T'''|TypeAdv4=true| Default value if the local user does not have a definition for the cloud variable or the local user does not match <code>OverrideOwner</code>.
Latest revision as of 22:28, 16 March 2025
Component image
CloudValueVariableDriver<T> component as seen in the Scene Inspector
The CloudValueVariableDriver<T> component drives the Targetfield of type T with the value of the specified cloud variable owned by the local user.
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.