Component:AvatarRoot: Difference between revisions

From Resonite Wiki
Automated: update SyncDelegates
Automated: update SyncDelegates
Line 22: Line 22:
== Sync Delegates ==
== Sync Delegates ==
{{Table ComponentTriggers
{{Table ComponentTriggers
|OnEquipConfirm[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|OnEquipConfirm:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|OnEquipHeldAvatar[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|OnEquipHeldAvatar:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
}}
}}



Revision as of 06:30, 17 March 2025


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Component image 
Avatar Root component as seen in the Scene Inspector

For detailed information on how this functions for mix and match body parts. Please also see Equipping Multiple Avatars.

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.
Scale Float3 What to set the local scale of the slot this component is on to when being equipped by a user.
_originalParent Slot The slot this avatar was parented to before equipping.

Sync Delegates

Triggers
Method Name Method type and Arguments. Is the method hidden? Description
OnEquipConfirm:ButtonEventHandler ButtonEventHandler
OnEquipHeldAvatar:ButtonEventHandler ButtonEventHandler

Usage

Examples

See Also