Component:UserInspectorItem: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
 
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
|Name=User Inspector Item
|Name=User Inspector Item
}}
}}
{{stub}}
The '''UserInspectorItem''' component is used to display user items of the [[User Inspector]].


== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|_user|User|
|_user|User| The user this item points to.
|_userNameText|'''[[Component:Text|Text]]'''|TypeAdv1=true|
|_userNameText|'''[[Component:Text|Text]]'''|TypeAdv1=true| The text field to display the user's name.
|_expander|'''[[Component:Expander|Expander]]'''|TypeAdv2=true|
|_expander|'''[[Component:Expander|Expander]]'''|TypeAdv2=true| The component used to expand items under the user like stream groups.
|_expanderIndicator|'''[[Component:TextExpandIndicator|TextExpandIndicator]]'''|TypeAdv3=true|
|_expanderIndicator|'''[[Component:TextExpandIndicator|TextExpandIndicator]]'''|TypeAdv3=true| The indicator component used to show the expand/collapse arrow.
|_childContainer|Slot|
|_childContainer|Slot| The slot to display child items of this user item.
}}
}}


== Behavior ==
== Sync Delegates ==
{{Table ComponentTriggers
|OpenUser:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Is called when the user is opened by a user.
|OpenComponents:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Is called when the user components are opened up.
|OpenStream:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:Ushort|Ushort]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:Ushort|Ushort]]>|true| Is called when a specific stream on a user is opened up.
}}
 
== Usage ==
See [[User Inspector]].


== Examples ==
== Examples ==
See [[User Inspector]].


== See Also ==
== See Also ==
* [[User Inspector]]


[[Category:Components:Uncategorized{{#translation:}}|User Inspector Item]]
[[Category:Components:Uncategorized{{#translation:}}|User Inspector Item]]
[[Category:Components{{#translation:}}|User Inspector Item]]
[[Category:Components{{#translation:}}|User Inspector Item]]
[[Category:ComponentStubs]]

Latest revision as of 15:50, 3 May 2025

Component image 
User Inspector Item component as seen in the Scene Inspector

The UserInspectorItem component is used to display user items of the User Inspector.

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.
_user User The user this item points to.
_userNameText Text The text field to display the user's name.
_expander Expander The component used to expand items under the user like stream groups.
_expanderIndicator TextExpandIndicator The indicator component used to show the expand/collapse arrow.
_childContainer Slot The slot to display child items of this user item.

Sync Delegates

Triggers
Method Name Method type and Arguments. Is the method hidden? Description
OpenUser:ButtonEventHandler ButtonEventHandler Is called when the user is opened by a user.
OpenComponents:ButtonEventHandler ButtonEventHandler Is called when the user components are opened up.
OpenStream:ButtonEventHandler`1<Ushort> ButtonEventHandler`1<Ushort> Is called when a specific stream on a user is opened up.

Usage

See User Inspector.

Examples

See User Inspector.

See Also