Hand constraint behavior that makes the attached
TransformNode follow hands in XR experiences.
Builds a hand constraint behavior
Proximity RadiusSearch playground for gazeProximityRadius
The radius in meters around the center of the hand that the user must gaze inside for the attached node to be enabled and appear. Used with HandConstraintVisibility.GAZE_FOCUS
Constraint VisibilitySearch playground for handConstraintVisibility
Sets the HandConstraintVisibility level for the hand constraint
handednessSearch playground for handedness
Set the hand this behavior should follow. If set to "none", it will follow any visible hand (prioritising the left one).
TimeSearch playground for lerpTime
Rate of interpolation of position and rotation of the attached node. Higher values will give a slower interpolation.
Orientation ModeSearch playground for nodeOrientationMode
Orientation mode of the node attached to this behavior
UpStrictnessSearch playground for palmUpStrictness
A number from 0.0 to 1.0, marking how restricted the direction the palm faces is for the attached node to be enabled. A 1 means the palm must be directly facing the user before the node is enabled, a 0 means it is always enabled. Used with HandConstraintVisibility.PALM_UP
OffsetSearch playground for targetOffset
Offset distance from the hand in meters
ZoneSearch playground for targetZone
Where to place the node regarding the center of the hand.
Orientation ModeSearch playground for zoneOrientationMode
Orientation mode of the 4 zones around the hand
gets or sets behavior's name
Attaches the hand constraint to a
defines the node to attach the behavior to
Detaches the behavior from the
Disable the behavior
Enable the behavior
Initializes the hand constraint behavior
ToXRExperienceSearch playground for linkToXRExperience
Links the behavior to the XR experience in which to retrieve hand transform information.