VRControls Class

Module: VirtualReality

VRControl is used to get input from an HDM device and apply it to an Object.

Methods

dispose

()

Dispose object.

resetPose

()

Reset the HDM pose.

update

(
  • object
)

Update VRControls object state.

Parameters:

Properties

display

Object

VR display.

frameData

VRFrameData

VR Frame data.

scale

Number

Scale from real units to world units.

standing

Boolean

Standing property, is set true the user height will be added to the position of the HMD.

userHeight

Number

User height, used to calibrate when the user is standing.