Component:ObjectRoot

From Resonite Wiki
Revision as of 04:23, 23 May 2024 by Alizard (talk | contribs) (no intoduction)
(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.


The ObjectRoot component marks a slot as the root of an object, where an object is the slot itself plus all of its child slots, recursively.

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.

The button at the bottom of the component, "Remove all children object roots" will recursively delete any ObjectRoot components from this slot's children.

Behavior

Setting a slot as the ObjectRoot helps the Scene Inspector's "up to object root" button find the root of the object.

Examples

Related Components

Related ProtoFlux nodes