Constructors

Properties

filterPositionAndRotation: boolean = true

Enables filtering of position and rotation

onControllerStateChange: any = null

Public API to subscribe to controller state change events.

The public api

onTrackingQualityChange: PublicApi<TrackingQuality> = ...

Public API to subscribe to tracking quality change events.

The public api

getInstance: (() => MobileInputData)

Accessors

  • get position(): vec3
  • Returns vec3

    the current position.

  • get rotation(): quat
  • Returns quat

    the current rotation.

Methods

  • Returns boolean

    if the mobile input data provider is available, which means that it is receiving data.