Component:AvatarObjectPermissions: Difference between revisions

From Resonite Wiki
Automated: update Fields
add info
 
Line 2: Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=AvatarObjectPermissionsComponent.png
|Image=AvatarObjectPermissionsComponent.png
|Name=Avatar Object Permissions
|Name=Avatar Object Permissions
}}
}}
== Intoduction ==
The '''AvatarObjectPermission''' component is a [[Permissions]] component which determines which avatars users are allowed to equip if the avatar is tagged properly.
The '''AvatarObjectPermission''' component is a Permissions component which determines which avatars users are allowed to equip if the avatar is tagged properly.


<!--T:2-->
<!--T:2-->
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Tags|{{RootFieldType|TagFilter}}|TypeAdv0=true|
|Tags|{{RootFieldType|TagFilter}}|TypeAdv0=true| The list of tags and whether they are white listed or black listed
}}
}}


Line 31: Line 29:


<!--T:5-->
<!--T:5-->
== Related Components ==
== See Also ==
</translate>
</translate>
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Avatar Object Permissions]]
[[Category:Components{{#translation:}}|Avatar Object Permissions]]
[[Category:Components:Permissions{{#translation:}}|Avatar Object Permissions]]
[[Category:Components:Permissions{{#translation:}}|Avatar Object Permissions]]

Latest revision as of 17:33, 29 December 2024

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

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 The list of tags and whether they are white listed or black listed

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.

See Also