Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface 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 devicePositionSearch playground for devicePosition

devicePosition: Vector3

The position of the device in babylon space.

deviceRotationQuaternionSearch playground for deviceRotationQuaternion

deviceRotationQuaternion: Quaternion

The rotation quaternion of the device in babylon space.

deviceScaleFactorSearch playground for deviceScaleFactor

deviceScaleFactor: number

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

positionSearch playground for position

position: Vector3

The position of the object in babylon space.

rawPoseSearch playground for rawPose

The raw pose coming from the device.

rotationQuaternionSearch playground for rotationQuaternion

rotationQuaternion: Quaternion

The rotation quaternion of the object in babylon space.

Methods

updateFromDeviceSearch playground for updateFromDevice

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

    Parameters

    • poseData: DevicePose

      the pose data to update the object with

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method