|CustomAvatarTemplates|{{RootFieldType|SyncList`1|[[#AvatarTemplate|AvatarTemplate]]}}|TypeAdv1=true| Avatars that user's will spawn into if they don't have a cloud avatar, or optionally force them into one of these templates.
|AutoInject|Slot| A slot that will automatically be duplicated and added as a child of an avatar when they join the world. Certain components will use this to override user behavior when part of this slot's hierarchy, like [[Component:AvatarAudioConfig|Avatar Audio Config]] to name one.
|AutoInject|Slot| A slot that will automatically be duplicated and added as a child of an avatar when they join the world. Certain components will use this to override user behavior when part of this slot's hierarchy, like [[Component:AvatarAudioConfig|Avatar Audio Config]] to name one.
|SetupNameBadges|Bool| Whether to set up the user's default name badge when they spawn
|SetupNameBadges|Bool| Whether to set up the user's default name badge when they spawn
Line 27:
Line 27:
|FindUserPreferredModule|Bool| Whether to try to spawn the user into their preferred locomotion module they set in settings.
|FindUserPreferredModule|Bool| Whether to try to spawn the user into their preferred locomotion module they set in settings.
|SetupItemShelves|Bool| Whether to add item shelves to the user when they spawn.
|SetupItemShelves|Bool| Whether to add item shelves to the user when they spawn.
|ParentClientsToServer|Bool|
|ParentClientsToServer|Bool| Parents users that join under the host user's slot (yes this is what it does)
|AlignTracking|Bool|
|AlignTracking|Bool| used in Kiosk mode in dash space to show Debug tracking visuals
|EmptyAvatarSlotHandler|IEmptyAvatarSlotHandler|
|EmptyAvatarSlotHandler|IEmptyAvatarSlotHandler| Uses this component to handle empty slots like head and hands on a spawning avatar.
|FillEmptySlots|Bool| Whether to fill empty AvatarObjectSlots with default head and hand objects if they are missing on their loaded avatar.
|FillEmptySlots|Bool| Whether to fill empty AvatarObjectSlots with default head and hand objects if they are missing on their loaded avatar.
}}
}}
Line 58:
Line 58:
Found under [[Root]] in every world, and is used to control user spawning.
Found under [[Root]] in every world, and is used to control user spawning.
[[Category:Components With Nested Types{{#translation:}}|Common Avatar Builder]]
[[Category:Components With Nested Types{{#translation:}}|Common Avatar Builder]]
Revision as of 17:35, 11 January 2025
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
CommonAvatarBuilder component as seen in the Scene Inspector
Common Avatar Builder is a component that is part of every world that defines the spawning behavior and routines to do for all users when they spawn into a world. This can be used to add world settings menus, change what parts of a user get automatically set up, and so on.
A slot that will automatically be duplicated and added as a child of an avatar when they join the world. Certain components will use this to override user behavior when part of this slot's hierarchy, like Avatar Audio Config to name one.