leftViewMatrix property

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

This property is read-only.

Syntax

JavaScript
lViewMatrix = object.leftViewMatrix

 

Property values

Type: Float32Array

Remarks

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

This matrix represents the inverse of the model matrix for the left eye in sitting space. This value can be passed directly to WebGL’s uniformMatrix4fv function.

This matrix should be used by applications when rendering.

See also

VRFrameData