CommandBuffer.SetViewProjectionMatrices

Cambiar al Manual
public void SetViewProjectionMatrices (Matrix4x4 view, Matrix4x4 proj);

Parámetros

viewView (world to camera space) matrix.
projProjection (camera to clip space) matrix.

Descripción

Add a command to set the view and projection matrices.

This function is equivalent to calling SetViewMatrix and SetProjectionMatrix. It is slightly more efficient when changing both matrices at once.

See Also: SetViewMatrix, SetProjectionMatrix, Camera.projectionMatrix, Matrix4x4.Perspective.

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