Version: 2017.3

Camera.SetStereoProjectionMatrix

Cambiar al Manual
public void SetStereoProjectionMatrix (Camera.StereoscopicEye eye, Matrix4x4 matrix);

Parámetros

eye Specifies the stereoscopic eye whose projection matrix needs to be set.
matrix The matrix to be set.

Descripción

Sets a custom projection matrix for a specific stereoscopic eye.

In general it is recommended to stick with the projection matrices provided by the VR SDK to ensure accurate stereoscopic rendering. However for some specific scenarios it can be useful to override the projection matrices to achieve specific effects. For example, custom projection matrices would be required to implement binoculars in VR.

Calling Camera.ResetStereoProjectionMatrices will revert the camera to using projection matrices provided by the VR SDK.