HandTrackingMode


public final class HandTrackingMode


Feature that allows tracking of the user's hands and hand joints.

Summary

Public fields

static final @NonNull HandTrackingMode

Both the left and right hands will be tracked.

static final @NonNull HandTrackingMode

Hands will not be tracked.

Public methods

final int
@NonNull String

Returns a string representation of HandTrackingMode for debugging.

Public fields

BOTH

public static final @NonNull HandTrackingMode BOTH

Both the left and right hands will be tracked. Note that setting this mode will consume additional runtime resources.

Supported runtimes:

  • OpenXR

Required permissions:

DISABLED

public static final @NonNull HandTrackingMode DISABLED

Hands will not be tracked.

Public methods

getMode

Added in 1.0.0-beta02
public final int getMode()

toString

public @NonNull String toString()

Returns a string representation of HandTrackingMode for debugging.

Note: Not intended for production use.