Component:CloudValueVariableDriver`1: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page CloudValueVariableDriver`1 (Component) to Component:CloudValueVariableDriver`1: Creating component Namespace
Automated: update component fields
Line 12: Line 12:
{{Table ComponentFields
{{Table ComponentFields
|Path|String| The [[Cloud_Variables#Cloud_Variable_Definition| path]] of the variable this component will read, for the current [[Active_User|active user]]
|Path|String| The [[Cloud_Variables#Cloud_Variable_Definition| path]] of the variable this component will read, for the current [[Active_User|active user]]
|Target|IField`1|TypeString1=IField<float>| The target [[IField`1| field]] to which the variable value will be written.
|Target|{{RootFieldType|FieldDrive`1|T}}|TypeAdv1=true| The target [[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.
|WriteBack|Bool| Updates the value in the cloud when the driven field is changed.
|FallbackValue|Float| Default value if there is no current active user. If the active user's value isn't set, the definition default will be used instead.
|FallbackValue|'''T'''|TypeAdv4=true| Default value if there is no current active user. If the active user's value isn't set, the definition default will be used instead.
|OverrideOwner|String|
}}
}}



Revision as of 10:35, 1 March 2024


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


Component image 
Cloud Value Variable Driver`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.
Path String The path of the variable this component will read, for the current active user
Target field drive of T The target field to which the variable value will be written.
IsLinkedToCloud raw output of 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. If the active user's value isn't set, the definition default will be used instead.
OverrideOwner String

Usage

Examples

Related Components