This class represents a keypoint represneting one of the many joints of a Hand in 3D space, providing methods to retrieve its world position, world rotation, and screen-space position. It uses an ObjectTracking3D component to create an attachment point and a WorldCameraFinderProvider to convert world coordinates to screen coordinates.

Constructors

Properties

attachmentPoint: SceneObject
name: string
objectTracking3DComponent: ObjectTracking3D
transform: Transform
worldCamera: default = ...

Accessors

  • get back(): vec3

    Returns the normalized right vector of this keypoint

    Returns vec3

  • get down(): vec3

    Returns the normalized right vector of this keypoint

    Returns vec3

  • get forward(): vec3

    Returns the normalized right vector of this keypoint

    Returns vec3

  • get left(): vec3

    Returns the normalized right vector of this keypoint

    Returns vec3

  • get position(): vec3

    Returns the world position of this keypoint

    Returns vec3

  • get right(): vec3

    Returns the normalized right vector of this keypoint

    Returns vec3

  • get rotation(): quat

    Returns the world rotation of this keypoint

    Returns quat

  • get screenPosition(): vec2

    Returns the screen-space position of this keypoint

    Returns vec2

  • get up(): vec3

    Returns the normalized right vector of this keypoint

    Returns vec3

Methods

  • Overrides the SceneObject attached to this keypoint

    Parameters

    Returns void

  • Sets the attachment point to the default created one. This function is usually called when the HandVisuals is destroyed, and we don't need to remove the attachment point.

    Returns void

MMNEPVFCICPMFPCPTTAAATR