Component:AvatarObjectPermissions: Difference between revisions

From Resonite Wiki
imported>Kazu
m Kazu moved page AvatarObjectPermission (Component) to AvatarObjectPermissions (Component): Component Name isn't correct.
 
Automated: update Fields
 
(One intermediate revision by one other user not shown)
Line 13: Line 13:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Mode|ListFilterMode|Controls what filtering mode is applied to <code>List</code>
|Tags|{{RootFieldType|TagFilter}}|TypeAdv0=true|
|List|SyncFieldList`1|TypeString1=SyncFieldList<string>|[[Tag]]s which determine the allowed or disallowed equpability dependant on the <code>Mode</code>
}}
}}



Latest revision as of 20:55, 3 March 2024


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


Component image 
Avatar Object Permissions component as seen in the Scene Inspector

Intoduction

The AvatarObjectPermission component is a Permissions component which determines which avatars users are allowed to equip if the avatar is tagged properly.

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.
Tags direct TagFilter

Usage

This permission allows or disallows specific avatars to be used. Tags are used to determine to in-/equipability of such tagged avatars.

Examples

Avatar-A has the Tag "AvatarA". Avatar-B has the Tag "AvatarB".

If the permission is set to Whitelist then only the tags which *are* in the list are allowed to be equipped.

If the list contains "A" as a tag and only AvatarA has the Tag (on avatar root) "A" and the FilterMode is set to Whitelist. Then only AvatarA is allowed to be equipped.

Related Components