Options
All
  • Public
  • Public/Protected
  • All
Menu

The options container for the controller movement module

Hierarchy

  • IWebXRControllerMovementOptions

Index

Properties

customRegistrationConfigurations?: WebXRControllerMovementRegistrationConfiguration[]

Override default behaviour and provide your own movement controls

movementEnabled?: boolean

Is movement enabled

movementOrientationFollowsViewerPose: boolean

Camera direction follows view pose and movement by default will move independently of the viewer's pose.

movementSpeed?: number

Movement speed factor (default is 1.0)

movementThreshold?: number

Minimum threshold the controller's thumbstick/touchpad must pass before being recognized for movement (avoids jitter/unintentional movement)

rotationEnabled?: boolean

Is rotation enabled

rotationSpeed?: number

Movement speed factor (default is 1.0)

rotationThreshold?: number

Minimum threshold the controller's thumstick/touchpad must pass before being recognized for rotation (avoids jitter/unintentional rotation)

xrInput: WebXRInput

Babylon XR Input class for controller

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme