API

Class WebXRControllerMovement

This is a movement feature to be used with WebXR-enabled motion controllers. When enabled and attached, the feature will allow a user to move around and rotate in the scene using the input of the attached controllers.

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

Name: "xr-controller-movement" = WebXRFeatureName.MOVEMENT

The module's name

REGISTRATIONS: {
    [key: string]: WebXRControllerMovementRegistrationConfiguration[];
} = ...

Standard controller configurations.

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