Component:AvatarObjectScale: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page AvatarObjectScale (Component) to Component:AvatarObjectScale: Creating component Namespace
Automated: update Categories
 
(2 intermediate revisions by 2 users not shown)
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-->
Line 25: Line 27:
<!--T:6-->
<!--T:6-->
== Related Issues ==
== Related Issues ==
[https://github.com/Neos-Metaverse/NeosPublic/issues/3485 #3485 - AvatarObjectScale doesn't work when joining other people's sessions]
 


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

Latest revision as of 22:54, 3 March 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