VRFrameData object
The VRFrameData object represents the information needed to render a single frame of a virtual reality (VR) scene.
Syntax
var frameData = new VRFrameData();
Members
The VRFrameData object has these types of members:
- Properties
Properties
The VRFrameData object has these properties.
Property | Access type | Description |
---|---|---|
Read-only |
The leftProjectionMatrix property represents a 4x4 matrix describing the projection to be used for the left eye’s rendering. |
|
Read-only |
The leftViewMatrix property is a 4x4 matrix represents the view transform to be used for the left eye’s rendering. |
|
Read-only |
The pose property represents the VRPose of the VRDisplay at the time the VRFrameData was created. |
|
Read-only |
The rightProjectionMatrixis a 4x4 matrix describing the projection to be used for the right eye’s rendering. |
|
Read-only |
The rightViewMatrix represents a 4x4 matrix describing the view transform to be used for the right eye’s rendering |
|
Read-only |
The timestamp property represents a value that enables determining if position state data has been updated from the hardware. |