Component:AvatarBadgeManager

From Resonite Wiki
Revision as of 22:47, 24 October 2024 by 989onan (talk | contribs) (add info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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


Component image 
AvatarBadgeManager component as seen in the Scene Inspector


The AvatarBadgeManager component initializes the user's badges under the Badges Root slot.

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.
BadgeSize Float The size of the generated badges in local space.
BadgeSeparation Float The separation in meters between the badges in local space
MaxRowSize Int The maximum amount of badges on one row before moving to the next.
_badgesRoot Slot The slot to put the badges under.
_badgesOffset field drive of Float3 The position of the _badgesRoot slot, which is used to move the badges away from the user's name tag and keep them positioned properly.

Usage

This is used to help with organizing badges on a user's Nameplate, including custom badges. The user badge manager does this internally to help assign badges accordingly.

Examples

Related Components