Flags

Flags that can be applied to some API operations.

Variables


const uint32_t FLAG_VALUE_BY_POST = 1

Specifies that the value being set should not be applied to the node until the next frame update. This is useful when trying to set properties in response to observer functions which would otherwise violate the observer pattern.


const uint32_t METANODE_ADMIN = (1 << 12)

Indicates that the metanode should only be represented in the 2D drawing system when in developer admin mode.


const uint32_t METANODE_CHILD_MAP = (1 << 11)

Specifies that a metanode or specific node instance should use a map for its children (performance optimization for nodes with large numbers of children)


const uint32_t METANODE_DEVELOPER_NO_SAVE = (1 << 2)

Specifies that a metanode or specific node instance should not be saved anywhere, including special system-save operations.


const uint32_t METANODE_NO_CLONE = (1 << 0)

Specifies that a metanode or specific node instance should not be copy-able by the application.


const uint32_t METANODE_NO_GUI = (1 << 10)

Indicates that an application should not attempt to represent this node in whatever 2D drawing system it is using.


const uint32_t METANODE_NO_HISTORY = (1 << 5)

Specifies that a metanode or specific node instance should not be inserted into the undo/redo history.


const uint32_t METANODE_NO_SAVE = (1 << 1)

Specifies that a metanode or specific node instance should not be saved into a scene.


const uint32_t METANODE_NODE_SPY = (1 << 3)

Specifies that a metanode or specific node instance should be treated as node-spy, which triggers its dirty flags when any of its descendants are modified.


const uint32_t METANODE_PROTECTED = (1 << 4)

Specifies that a metanode or specific node instance is protected from all user and script operations that would affect its position in the tree (deleting, parenting, etc)


const uint32_t METANODE_TRANSIENT = (1 << 6)

Used for event MetaNodes and similar. Nodes of this MetaNode can be expected to be deleted shortly after their creation.


const uint32_t PROPERTY_INVALID_INDEX = 0xFFFFFFFF

Identifier of an invalid property index.

No Results.

Getting StartedArchitectureBest PracticesHow ToAdvanced TopicsChangelogvrtreevrtree_cppvtCoreCoreForeign Function InterfaceMetanodesMigrationsObserversPropertiesSettingsTreeUtilitiesAPI DefinitionsVR ExchangePluginsLua API