Component:SlotInspector

From Resonite Wiki
Revision as of 16:02, 12 April 2025 by 989onan (talk | contribs) (add info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
Slot Inspector component as seen in the Scene Inspector

The Slot Inspector component controls the slot items shown in a Scene Inspector and their drop down menus.

Fields

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.
_selectionReference direct RelayRef`1<SyncRef`1<Slot>> The slot this points to.
_rootSlot Slot The root of the visual for this item.
_childContainer Slot The container for slot inspectors that are children of this one.
_depth Int How far down this slot inspector is from the root selected slot inspector in it's parent Scene Inspector.
_expander Expander The component responsible for expanding the children slot inspector hierarchy of this item.
_expanderIndicator TextExpandIndicator The indicator for whether the slot inspector children hierarchy is expanded or not.
_slotNameText Text The name of the slot this slot inspector is pointing to.

Sync Delegates

Triggers
Method Name Method type and Arguments. Is the method hidden? Description
IsTargetEmpty:Func`1<Bool> Func`1<Bool> When called, returns if the target slot contains no children slots.

Usage

Not used directly by the user. Used in Scene Inspectors.

Examples

Used in Scene Inspectors.

See Also