For detailed information on how this functions for mix and match body parts. Please also see [[Equipping Multiple Avatars]].
<!--T:2-->
The '''AvatarManager''' component is found on User root slots and is used to manage avatars equipped to a particular user. It also keeps track of and sets the equipped parameters of [[Component:AvatarObjectSlot]]s under an avatar, It manages the setting of fields on the [[Component:AvatarRoot]] and [[Component:AvatarGroup]] components.
|_objectGroups|{{RootFieldType|SyncList`1|[[#EquippedGroup|AvatarManager.EquippedGroup]]}}|TypeAdv0=true| A list of objects currently equipped by the user as part of an avatar.
|_currentAnchor|{{RootFieldType|LinkRef`1|[[Component:AvatarAnchor|AvatarAnchor]]}}|TypeAdv1=true| The anchor the user associated with this component is currently sitting in.
|AutoAddNameBadge|Bool|
|AutoAddNameBadge|Bool| Whether to auto add the name badge component if it doesn't exist on an avatar when equipping it. Usually managed by the world through the [[Component:CommonAvatarBuilder]]
|AutoAddIconBadge|Bool|
|AutoAddIconBadge|Bool| Whether to auto add the icon badges if it doesn't exist on an avatar when equipping it. Usually managed by the world through the [[Component:CommonAvatarBuilder]]
|AutoAddLiveIndicator|Bool|
|AutoAddLiveIndicator|Bool| Whether to auto add the live indicator component if it doesn't exist on an avatar when equipping it. Usually managed by the world through the [[Component:CommonAvatarBuilder]]
|EmptySlotHandler|IEmptyAvatarSlotHandler|
|EmptySlotHandler|IEmptyAvatarSlotHandler| The object to handle empty avatar slots. Usually defined by the world through the [[Component:CommonAvatarBuilder]].
|DefaultScale|Float|
|DefaultScale|Float| The default scale multiplier of the avatar currently equipped
|NameTagText|String|
|NameTagText|String| The text that should be assigned to the avatar nametag's text field list
|NameTagColor|ColorX|
|NameTagColor|ColorX| The color that should be assigned to the avatar nametag's color list.
|NameTagOutline|ColorX|
|NameTagOutline|ColorX| The color that should be assigned to the avatar nametag's color1 list.
|NameTagBackground|ColorX|
|NameTagBackground|ColorX| The color.that should be assigned to the avatar nametag's color background list.
|_badgeTemplates|Slot|
|_badgeTemplates|Slot| the slot that was made for the user for storage of their badges.
|_autoNameBadge|Slot|
|_autoNameBadge|Slot| the slot that was made for the user for their name badge.
|_autoIconBadge|Slot|
|_autoIconBadge|Slot| the slot that was made for the user for their Icon.
|_autoLiveIndicator|Slot|
|_autoLiveIndicator|Slot| The slot that was made for the user for their live indicator
|_updateVersion|Int|
|_updateVersion|Int| Internal.
}}
== EquippedGroup ==
Equipped group is internally handled as a type to hold data from a Dictionary<[[Component:AvatarRoot]], {{RootFieldType|SyncList`1|[[Component:AvatarObjectSlot]]}}>
{{Table TypeFields
|Root|[[Component:AvatarRoot|AvatarRoot]]|TypeAdv0=true| The avatar root associated with the currently equipped avatar.
|ObjectSlots|{{RootFieldType|SyncList`1|[[Component:AvatarObjectSlot]]}}|TypeAdv1=true| The list of currently equipped object nodes associated with <code>Root</code>.
}}
}}
<!--T:4-->
<!--T:4-->
== Behavior ==
== Usage ==
Should not be used directly by the player, since this is used by the game instead to manage avatars on a user.
For detailed information on how this functions for mix and match body parts. Please also see Equipping Multiple Avatars.
The AvatarManager component is found on User root slots and is used to manage avatars equipped to a particular user. It also keeps track of and sets the equipped parameters of Component:AvatarObjectSlots under an avatar, It manages the setting of fields on the Component:AvatarRoot and Component:AvatarGroup components.
Whether to auto add the name badge component if it doesn't exist on an avatar when equipping it. Usually managed by the world through the Component:CommonAvatarBuilder
Whether to auto add the icon badges if it doesn't exist on an avatar when equipping it. Usually managed by the world through the Component:CommonAvatarBuilder
Whether to auto add the live indicator component if it doesn't exist on an avatar when equipping it. Usually managed by the world through the Component:CommonAvatarBuilder