Component:ObjectRoot: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page ObjectRoot (Component) to Component:ObjectRoot: Creating component Namespace
m no intoduction
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:


{{stub}}
{{stub}}
== Intoduction ==
The '''ObjectRoot''' component marks a [[Slot|slot]] as the root of an object, where an object is the slot itself plus all of its child slots, recursively.
The '''ObjectRoot''' component marks a [[Slot|slot]] as the root of an object, where an object is the slot itself plus all of its child slots, recursively.
== Usage ==
== Usage ==
Line 17: Line 15:
== Related ProtoFlux nodes ==
== Related ProtoFlux nodes ==


[[Category:Components{{#translation:}}|ObjectRoot (Component){{#translation:}}]]
[[Category:Components{{#translation:}}|Object Root]]
[[Category:Components:Transform{{#translation:}}|ObjectRoot (Component){{#translation:}}]]
[[Category:Components:Transform{{#translation:}}|Object Root]]

Latest revision as of 04:23, 23 May 2024


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