Freigeben über


leftProjectionMartix property

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

This property is read-only.

Syntax

JavaScript
leftProjMatrix = object.leftProjectionMartix

 

Property values

Type: Float32Array

Remarks

The leftProjectionMatrix 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