new Cardboard()
Creates new VR device configuration for Google Cardboard (and similar viewers).
Methods
getOrientation() → {Ayce.Quaternion}
Returns current orientation of the device based on accelerometer / gyroscope as a quaternion
Returns:
orientation
- Type
- Ayce.Quaternion