ARHandAnchor

Inherits: RefCounted < Object

Represents a tracked hand with skeletal joint data.

Description

Provides the pose, chirality (left/right), tracking state, and optional ARHandSkeleton for a detected hand. Delivered via the ARSession.hand_anchor_updated signal. visionOS only. Hand tracking on iOS uses the Vision framework, not ARKit. On iOS and macOS, this type exists for API consistency but is never populated with real data.

Properties

int

chirality

0

String

identifier

""

bool

is_tracked

false

ARHandSkeleton

skeleton

null

Transform3D

transform

Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)


Enumerations

enum Chirality: 🔗

Chirality LEFT = 0

The anchor represents the left hand.

Chirality RIGHT = 1

The anchor represents the right hand.


Property Descriptions

int chirality = 0 🔗

  • void set_chirality(value: int)

  • int get_chirality()

Which hand this anchor represents. See Chirality.


String identifier = "" 🔗

  • void set_identifier(value: String)

  • String get_identifier()

A unique identifier for this hand anchor.


bool is_tracked = false 🔗

  • void set_is_tracked(value: bool)

  • bool get_is_tracked()

Whether the hand currently has reliable tracking data.


ARHandSkeleton skeleton = null 🔗

The tracked hand skeleton, if available.


Transform3D transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0) 🔗

  • void set_transform(value: Transform3D)

  • Transform3D get_transform()

The hand anchor transform in world space.