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