Component:AvatarObjectScale: Difference between revisions

From Resonite Wiki
No edit summary
Define AvatarObjectScale
Line 10: Line 10:
<!--T:2-->
<!--T:2-->
== Intoduction ==
== Intoduction ==
The '''AvatarObjectScale''' component allows setting it's slot scale relative to the UserRoot slot when equipped under an avatar.


<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|UserSpaceScale|Float3|  
|UserSpaceScale|Float3| The desired scale relative to the UserRoot slot.
}}
}}


<!--T:4-->
<!--T:4-->
== Behavior ==
== Behavior ==
On equip the component will set the attached slot scale to be <code>UserSpaceScale</code> in the UserRoot slot space.


<!--T:5-->
<!--T:5-->

Revision as of 03:07, 26 February 2024


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


Component image 
AvatarObjectScale component as seen in the Scene Inspector


Intoduction

The AvatarObjectScale component allows setting it's slot scale relative to the UserRoot slot when equipped under an avatar.

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.
UserSpaceScale Float3 The desired scale relative to the UserRoot slot.

Behavior

On equip the component will set the attached slot scale to be UserSpaceScale in the UserRoot slot space.

Examples

Related Issues

Related Components