Method GetJitteredPerspectiveProjectionMatrix
GetJitteredPerspectiveProjectionMatrix(Camera, Vector2)
Gets a jittered perspective projection matrix for a given camera.
Declaration
public static Matrix4x4 GetJitteredPerspectiveProjectionMatrix(Camera camera, Vector2 offset)
Parameters
Type | Name | Description |
---|---|---|
Camera | camera | The camera to build the projection matrix for |
Vector2 | offset | The jitter offset |
Returns
Type | Description |
---|---|
Matrix4x4 | A jittered projection matrix |