Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Component:ObjectRoot: Difference between revisions

From Resonite Wiki
No edit summary
(No difference)

Revision as of 18:09, 13 November 2023

This article or section is a stub. You can help the Resonite wiki by expanding it.

Intoduction

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. Some components stop their functionality when this field is disabled, but some don't.

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