Component:AvatarRenderSettings

From Resonite Wiki
Revision as of 16:58, 14 October 2024 by 989onan (talk | contribs) (Add info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
AvatarRenderSettings component as seen in the Scene Inspector

Avatar Render Settings is a component that can be placed anywhere on an avatar for it to work. This component changes the internal camera settings for the first person view for a user wearing an avatar with this component under it by optionally changing the far and/or near clip values of the POV camera.

Usage

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.
NearClip Nullable`1<Float> If not null, changes the NearClip of the user's POV camera when this component is under the user's avatar hierarchy.
FarClip Nullable`1<Float> If not null, changes the FarClip of the user's POV camera when this component is under the user's avatar hierarchy.

Behavior

This component does not start working on an avatar when added, until the avatar is re-equipped. After this, changing values on the component change what the user sees live. This component can be used to extend the distance a user can see, which by default is 4096 meters multipled by user global scale.

Examples

Can be used to prevent a user from seeing the snout of an avatar, or the hair on an avatars face. This can also be used to allow a user to be able to see objects outside of normal clipping distance by making FarClip larger than 4096.

Related Components