Component:RenderTransformOverride

From Resonite Wiki
Revision as of 01:08, 4 March 2024 by PJB (talk | contribs) (Automated: update Fields, Categories)

The RenderTransformOverride component is used to scale, transform or rotate a SkinnedMeshRenderer following a specific context.

It can be used, for instance, to scale a player's head to zero locally to effectively hide it from the user's view while it still being visible in mirrors, cameras and by other players.

It is suspected that this component is currently the cause of multiple crashes[1], though it was improved in Beta 2024.1.12.1336. Until those crashes are solved, it is recommended to use the AvatarRenderSettings component for avatar operations.

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.
Context RenderingContext
PositionOverride Nullable`1<Float3>
RotationOverride Nullable`1<FloatQ>
ScaleOverride Nullable`1<Float3>
SkinnedMeshRenderers list of SkinnedMeshRenderer