API

Class WebXRHandTracking

WebXR Hand Joint tracking feature, available for selected browsers and devices

Hierarchy (View Summary)

Index
dependsOn?: string[]

The dependencies of this feature, if any

disableAutoAttach: boolean = false

Should auto-attach be disabled?

isDisposed: boolean = false

Is this feature disposed?

onFeatureAttachObservable: Observable<IWebXRFeature> = ...

Observers registered here will be executed when the feature is attached

onFeatureDetachObservable: Observable<IWebXRFeature> = ...

Observers registered here will be executed when the feature is detached

onHandAddedObservable: Observable<WebXRHand> = ...

This observable will notify registered observers when a new hand object was added and initialized

onHandRemovedObservable: Observable<WebXRHand> = ...

This observable will notify its observers right before the hand object is disposed

Options to use when constructing this feature.

DEFAULT_HAND_MODEL_BASE_URL: string = "https://assets.babylonjs.com/core/HandMeshes/"

The base URL for the default hand model.

DEFAULT_HAND_MODEL_LEFT_FILENAME: string = "l_hand_rhs.glb"

The filename to use for the default left hand model.

DEFAULT_HAND_MODEL_RIGHT_FILENAME: string = "r_hand_rhs.glb"

The filename to use for the default right hand model.

DEFAULT_HAND_MODEL_SHADER_URL: string = "https://assets.babylonjs.com/core/HandMeshes/handsShader.json"

The URL pointing to the default hand model NodeMaterial shader.

Name: "xr-hand-tracking" = WebXRFeatureName.HAND_TRACKING

The module's name

Version: 1

The (Babylon) version of this module. This is an integer representing the implementation version. This number does not correspond to the WebXR specs version