989onan bot (talk | contribs) Automated: update SyncDelegates |
add info |
||
Line 3: | Line 3: | ||
|Name=Slot Inspector | |Name=Slot Inspector | ||
}} | }} | ||
The '''Slot Inspector''' component controls the slot items shown in a [[Scene Inspector]] and their drop down menus. | |||
== | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|_selectionReference|{{RootFieldType|RelayRef`1|[[Type:SyncRef`1|SyncRef`1]]<[[Type:Slot|Slot]]>}}|TypeAdv0=true| | |_selectionReference|{{RootFieldType|RelayRef`1|[[Type:SyncRef`1|SyncRef`1]]<[[Type:Slot|Slot]]>}}|TypeAdv0=true| The slot this points to. | ||
|_rootSlot|Slot| | |_rootSlot|Slot| The root of the visual for this item. | ||
|_childContainer|Slot| | |_childContainer|Slot| The container for slot inspectors that are children of this one. | ||
|_depth|Int| | |_depth|Int| How far down this slot inspector is from the root selected slot inspector in it's parent [[Scene Inspector]]. | ||
|_expander|'''[[Component:Expander|Expander]]'''|TypeAdv4=true| | |_expander|'''[[Component:Expander|Expander]]'''|TypeAdv4=true| The component responsible for expanding the children slot inspector hierarchy of this item. | ||
|_expanderIndicator|'''[[Component:TextExpandIndicator|TextExpandIndicator]]'''|TypeAdv5=true| | |_expanderIndicator|'''[[Component:TextExpandIndicator|TextExpandIndicator]]'''|TypeAdv5=true| The indicator for whether the slot inspector children hierarchy is expanded or not. | ||
|_slotNameText|'''[[Component:Text|Text]]'''|TypeAdv6=true| | |_slotNameText|'''[[Component:Text|Text]]'''|TypeAdv6=true| The name of the slot this slot inspector is pointing to. | ||
}} | }} | ||
== Sync Delegates == | == Sync Delegates == | ||
{{Table ComponentTriggers | {{Table ComponentTriggers | ||
|IsTargetEmpty:[[Type:Func`1|Func`1]]<[[Type:Bool|Bool]]>|[[Type:Func`1|Func`1]]<[[Type:Bool|Bool]]>|true| | |IsTargetEmpty:[[Type:Func`1|Func`1]]<[[Type:Bool|Bool]]>|[[Type:Func`1|Func`1]]<[[Type:Bool|Bool]]>|true| When called, returns if the target slot contains no children slots. | ||
}} | }} | ||
== | == Usage == | ||
Not used directly by the user. Used in [[Scene Inspectors]]. | |||
== Examples == | == Examples == | ||
Used in [[Scene Inspectors]]. | |||
== See Also == | == See Also == | ||
* [[Scene Inspectors]] | |||
[[Category:Components:Uncategorized{{#translation:}}|Slot Inspector]] | [[Category:Components:Uncategorized{{#translation:}}|Slot Inspector]] | ||
[[Category:Components{{#translation:}}|Slot Inspector]] | [[Category:Components{{#translation:}}|Slot Inspector]] | ||
Latest revision as of 16:02, 12 April 2025
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
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
Usage
Not used directly by the user. Used in Scene Inspectors.
Examples
Used in Scene Inspectors.