Component:AvatarObjectScale: Difference between revisions

From Resonite Wiki
No edit summary
mNo edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 9: Line 9:


<!--T:2-->
<!--T:2-->
== 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-->
Line 30: Line 31:
== Related Components ==
== Related Components ==
</translate>
</translate>
[[Category:Components{{#translation:}}|AvatarObjectScale (Component){{#translation:}}]]
[[Category:Components{{#translation:}}|Avatar Object Scale]]
[[Category:ComponentStubs]]
[[Category:Components:Users:Common Avatar System{{#translation:}}|Avatar Object Scale]]
[[Category:Components:Users:Common Avatar System{{#translation:}}|AvatarObjectScale (Component){{#translation:}}]]

Latest revision as of 01:32, 29 October 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


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