CLASSES
TagsA - Z

PoseEnabledController

Description

class PoseEnabledController extends Gamepad

Constructor

new PoseEnabledController(vrGamepad)

Parameters

Name Type Description
vrGamepad any

Members

vrGamepad : any

devicePosition : Vector3

deviceRotationQuaternion : Quaternion

deviceScaleFactor : number

position : Vector3

rotationQuaternion : Quaternion

controllerType : PoseEnabledControllerType

rawPose : DevicePose

mesh : AbstractMesh

Methods

update() void

updateFromDevice(poseData) void

Parameters

Name Type Description
poseData DevicePose

attachToMesh(mesh) void

Parameters

Name Type Description
mesh AbstractMesh

attachToPoseControlledCamera(camera) void

Parameters

Name Type Description
camera TargetCamera

detachMesh() void

getForwardRay(length) Ray

Parameters

Name Type Description
optional length number