Component:AvatarRenderSettings: Difference between revisions

From Resonite Wiki
Automated: update Categories, SyncDelegates
fix
 
Line 27: Line 27:
</translate>
</translate>
[[Category:Components{{#translation:}}|Avatar Render Settings]]
[[Category:Components{{#translation:}}|Avatar Render Settings]]
[[Category:ComponentStub]]
[[Category:Components:Users:Common Avatar System{{#translation:}}|Avatar Render Settings]]
[[Category:Components:Users:Common Avatar System{{#translation:}}|Avatar Render Settings]]

Latest revision as of 17:27, 17 December 2024

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