Method GetViewMatrix
GetViewMatrix(int)
Returns the camera view matrix.
Declaration
public Matrix4x4 GetViewMatrix(int viewIndex = 0)
Parameters
Type | Name | Description |
---|---|---|
int | viewIndex | View index in case of stereo rendering. By default |
Returns
Type | Description |
---|---|
Matrix4x4 | The camera view matrix. |