Component:AvatarUserMeshHider

From Resonite Wiki
Revision as of 21:07, 29 December 2024 by 989onan (talk | contribs) (add info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
AvatarUserMeshHider component as seen in the Scene Inspector

The AvatarUserMeshHider component makes non Skinned meshes invisible or only cast shadows according to the active user's perspective. It does this by making value User overrides for all MeshRenderers except for those in Exclude. It restores the fields back to normal after dequipping.

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.
Method HideMethod How to hide the meshes for the active user under the avatar.
Exclude list of MeshRenderer Which meshes to not hide for the active user.

HideMethod

Values
Name Value Description
ShadowOnly 0 Hide the meshes by value user overriding them to Shadow Only for the active user
Deactivate 1 Hide the meshes by value user overriding their active field to false only for the active user.


Usage

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


Examples

See Also