Version: 2017.3

CommandBuffer.SetProjectionMatrix

Switch to Manual
public void SetProjectionMatrix (Matrix4x4 proj);

Parameters

proj Projection (camera to clip space) matrix.

Description

Add a command to set the projection matrix.

View matrix is the matrix that transforms from view space into homogeneous clip space.

Note that when setting both view and projection matrices, it is slightly more efficient to use SetViewProjectionMatrices.

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