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

Find examples in Playground
devicePosition: Vector3

The position of the device in babylon space.

deviceRotationQuaternion

Find examples in Playground
deviceRotationQuaternion: Quaternion

The rotation quaternion of the device in babylon space.

deviceScaleFactor

Find examples in Playground
deviceScaleFactor: number

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

position

Find examples in Playground
position: Vector3

The position of the object in babylon space.

rawPose

Find examples in Playground

The raw pose coming from the device.

rotationQuaternion

Find examples in Playground
rotationQuaternion: Quaternion

The rotation quaternion of the object in babylon space.

Methods

updateFromDevice

Find examples in Playground
  • 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