Freigeben über


rightProjectionMatrix property

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

This property is read-only.

Syntax

JavaScript
rProjMatrix = object.rightProjectionMatrix

 

Property values

Type: Float32Array

Remarks

The rightProjectionMatrix is given as a 16 element array in column major order.

This value can be passed directly to WebGL’s uniformMatrix4fv function.

Applications should use this matrix without modification in order to prevent the frame from being distorted or badly aligned.

See also

VRFrameData