Version: 2017.3

Camera.SetStereoProjectionMatrix

매뉴얼로 전환
public void SetStereoProjectionMatrix (Camera.StereoscopicEye eye, Matrix4x4 matrix);

파라미터

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

설명

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.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961