Component:AvatarToolAnchor: Difference between revisions

From Resonite Wiki
Automated: update Fields, Categories
add info
 
Line 7: Line 7:
|Name=AvatarToolAnchor
|Name=AvatarToolAnchor
}}
}}
 
Avatar Tool anchor is a component that defines where to place either the tooltip, toolshelf, or grab area anchors when the avatar is equipped. Or where to position the context menu when it is opened.
<!--T:2-->
== Intoduction ==


<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|AnchorPoint|'''[[#Point|Point]]'''|TypeAdv0=true|
|AnchorPoint|'''[[#Point|Point]]'''|TypeAdv0=true| The type of tool anchor to place under the slot this component is on for this hand.
}}
 
== Point ==
{{Table EnumValues
|Tool|1| Place the tooltip anchor for this hand here.
|GrabArea|2| Place the grabber sphere anchor for this hand here.
|Toolshelf|3| Place the toolshelf anchor for this hand here.
|Menu|4| Position the context menu here when it is opened on this hand here.
|Tooltip|0| Used to be used, OBSOLETE.
}}
}}


Line 22: Line 29:
<!--T:5-->
<!--T:5-->
== Examples ==
== Examples ==
Is automatically placed on avatars upon avatar creation on the hands. Can be moved to say the mouth, to allow grabbing objects with the mouth using the hand for which the anchor came from. Driving the parent value of the slot this component is on is an efficient way of doing this.


<!--T:6-->
<!--T:6-->
Line 27: Line 35:
</translate>
</translate>
[[Category:Components{{#translation:}}|Avatar Tool Anchor]]
[[Category:Components{{#translation:}}|Avatar Tool Anchor]]
[[Category:ComponentStubs]]
[[Category:Components With Nested Enums{{#translation:}}|Avatar Tool Anchor]]
[[Category:Components With Nested Enums{{#translation:}}|Avatar Tool Anchor]]
[[Category:Components:Users:Common Avatar System{{#translation:}}|Avatar Tool Anchor]]
[[Category:Components:Users:Common Avatar System{{#translation:}}|Avatar Tool Anchor]]

Latest revision as of 00:23, 26 October 2024


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


Component image 
AvatarToolAnchor component as seen in the Scene Inspector

Avatar Tool anchor is a component that defines where to place either the tooltip, toolshelf, or grab area anchors when the avatar is equipped. Or where to position the context menu when it is opened.

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.
AnchorPoint Point The type of tool anchor to place under the slot this component is on for this hand.

Point

Values
Name Value Description
Tool 1 Place the tooltip anchor for this hand here.
GrabArea 2 Place the grabber sphere anchor for this hand here.
Toolshelf 3 Place the toolshelf anchor for this hand here.
Menu 4 Position the context menu here when it is opened on this hand here.
Tooltip 0 Used to be used, OBSOLETE.


Behavior

Examples

Is automatically placed on avatars upon avatar creation on the hands. Can be moved to say the mouth, to allow grabbing objects with the mouth using the hand for which the anchor came from. Driving the parent value of the slot this component is on is an efficient way of doing this.

Related Components