Component:DynamicVariableSpace

From Resonite Wiki
Revision as of 18:36, 2 May 2021 by imported>Xekri (Adds details for fields)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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


Component image 
DynamicVariableSpace component as seen in the Scene Inspector

Intoduction

The DynamicVariableSpace component is used to separate dynamic variables into namespaces. Since dynamic variables are, by default, created on the slot of the nearest parent DynamicVariableSpace, this component provides control over where the root of that space is, as well as part of the path name to be referenced when using a consumer of dynamic variables, such as DynamicValueVariableDriver`1.

Usage

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.
SpaceName String The name of the space.
OnlyDirectBinding Bool When enabled, variables won't be bound to this space unless they specify it by name: <spacename>/<varname>.

Behavior

Examples

Related Components