Share via


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

leftProjectionMatrix

Read-only

The leftProjectionMatrix property represents a 4x4 matrix describing the projection to be used for the left eye’s rendering.

leftViewMatrix

Read-only

The leftViewMatrix property is a 4x4 matrix represents the view transform to be used for the left eye’s rendering.

pose

Read-only

The pose property represents the VRPose of the VRDisplay at the time the VRFrameData was created.

rightProjectionMatrix

Read-only

The rightProjectionMatrixis a 4x4 matrix describing the projection to be used for the right eye’s rendering.

rightViewMatrix

Read-only

The rightViewMatrix represents a 4x4 matrix describing the view transform to be used for the right eye’s rendering

timestamp

Read-only

The timestamp property represents a value that enables determining if position state data has been updated from the hardware.