PoseControlled

Interface representing a pose controlled object in Babylon. A pose controlled object has both regular pose values as well as pose values from an external device such as a VR head mounted display

Hierarchy

  • PoseControlled

Implemented by

Index

Properties

Optional devicePosition

devicePosition: Vector3

The position of the device in babylon space.

deviceRotationQuaternion

deviceRotationQuaternion: Quaternion

The rotation quaternion of the device in babylon space.

deviceScaleFactor

deviceScaleFactor: number

The scale of the device to be used when translating from device space to babylon space.

position

position: Vector3

The position of the object in babylon space.

rawPose

The raw pose coming from the device.

rotationQuaternion

rotationQuaternion: Quaternion

The rotation quaternion of the object in babylon space.

Methods

updateFromDevice

  • Updates the poseControlled values based on the input device pose.

    Parameters

    • poseData: DevicePose

      the pose data to update the object with

    Returns void

Generated using TypeDoc