989onan bot (talk | contribs) Automated: update SyncDelegates |
989onan bot (talk | contribs) Automated: update SyncDelegates |
||
Line 8: | Line 8: | ||
== Sync Delegates == | == Sync Delegates == | ||
{{Table ComponentTriggers | {{Table ComponentTriggers | ||
|RemoveChildrenObjectRoots[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |RemoveChildrenObjectRoots:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | ||
|RemoveChildrenObjectRoots[[Type:Func`1|Func`1]]<[[Type:Int|Int]]>|[[Type:Func`1|Func`1]]<[[Type:Int|Int]]>|false| | |RemoveChildrenObjectRoots:[[Type:Func`1|Func`1]]<[[Type:Int|Int]]>|[[Type:Func`1|Func`1]]<[[Type:Int|Int]]>|false| | ||
}} | }} | ||
Revision as of 06:31, 17 March 2025
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
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. |
Sync Delegates
Method Name | Method type and Arguments. | Is the method hidden? | Description |
---|---|---|---|
RemoveChildrenObjectRoots:ButtonEventHandler
|
ButtonEventHandler | ✓ | |
RemoveChildrenObjectRoots:Func`1<Int>
|
Func`1<Int> | X |
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.