Version: 2017.3

CommandBuffer.SetViewProjectionMatrices

매뉴얼로 전환
public void SetViewProjectionMatrices (Matrix4x4 view, Matrix4x4 proj);

파라미터

view View (world to camera space) matrix.
proj Projection (camera to clip space) matrix.

설명

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.