UserInterfacePositioner (Component)

From Neos Wiki
Jump to navigation Jump to search
This page contains changes which are not marked for translation.


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


User Interface Positioner component as seen in the Scene Inspector

The UserInterfacePositioner causes the slot to which it is attached to track the user's head position and rotation. This is a somewhat nicer and cleaner alternative than parenting a slot directly to a user's avatar node.

Fields

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
User User
_machineId String
_userId String
RotateVerticalOnly Bool
PositionSpeed Float The speed at which the object will track the user's position.
RotationSpeed Float The speed at which the object will track the user's rotation.
ActivationDistance Float The distance from the user to the object at which the object will start tracking the user's position and rotation. Zero means "always track".
ActivationAngle Float The angle between the user and the object at which the object will start tracking the user's position and rotation. Zero means "always track".
DeactivationDistance Float
DeactivationAngle Float
TargetPosition IField<float3>
TargetRotation IField<floatQ>
_position IField`1
_rotation IField`1

Usage

Examples

Related Components