Component:ActiveUserCloudValueVariable: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page ActiveUserCloudValueVariable (Component) to Component:ActiveUserCloudValueVariable: Creating component Namespace
give info for component
Line 2: Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
ActiveUserCloudValueVariable is a component that reads a cloud variable for the active user and puts the value into Value, which can be any primitive type. This node follows the same rules as [[Cloud Variables]] except that it caches the quickly made changes and then updates the cloud variable with the cached changes as soon as possible using the cloud.
 
{{Infobox Component
{{Infobox Component
|Image=ActiveUserCloudValueVariable`1Component.png
|Image=ActiveUserCloudValueVariable`1Component.png
Line 11: Line 12:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Path|String|
|Path|String| The path of the variable. Following the rules of [[Cloud Variables]].
|IsLinkedToCloud|Bool|
|IsLinkedToCloud|Bool| Whether or not the cloud variable has been successfully connected to and is relaying information properly.
|UpdateCloudVariable|Bool|
|UpdateCloudVariable|Bool| Whether or not to update the cloud variable value for the active user when Value is changed.
|FallbackValue|Float|
|FallbackValue|Float| The default value defined by who made the variable.
|Value|Float|
|Value|Float| the value the active user has set for the cloud variable.
}}
}}


<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
Having an item where it changes to the user's color set on the cloud.


<!--T:4-->
<!--T:4-->
== Examples ==
== Examples ==
{{Stub}}


<!--T:5-->
<!--T:5-->
== Related Components ==
== Related Components ==
</translate>
</translate>
[[Category:ComponentStubs]]
[[Category:Generics{{#translation:}}]]
[[Category:Generics{{#translation:}}]]
[[Category:Components{{#translation:}}|Active User Cloud Value Variable`1]]
[[Category:Components{{#translation:}}|Active User Cloud Value Variable`1]]
[[Category:Components:Cloud:Variables{{#translation:}}|Active User Cloud Value Variable`1]]
[[Category:Components:Cloud:Variables{{#translation:}}|Active User Cloud Value Variable`1]]

Revision as of 22:51, 13 February 2024

ActiveUserCloudValueVariable is a component that reads a cloud variable for the active user and puts the value into Value, which can be any primitive type. This node follows the same rules as Cloud Variables except that it caches the quickly made changes and then updates the cloud variable with the cached changes as soon as possible using the cloud.

Component image 
Active User Cloud Value Variable`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. Following the rules of Cloud Variables.
IsLinkedToCloud Bool Whether or not the cloud variable has been successfully connected to and is relaying information properly.
UpdateCloudVariable Bool Whether or not to update the cloud variable value for the active user when Value is changed.
FallbackValue Float The default value defined by who made the variable.
Value Float the value the active user has set for the cloud variable.

Usage

Having an item where it changes to the user's color set on the cloud.

Examples

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


Related Components