Component:AvatarObjectScale: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page AvatarObjectScale (Component) to Component:AvatarObjectScale: Creating component Namespace
mNo edit summary
 
(4 intermediate revisions by 4 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 25: Line 26:
<!--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: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