Pass:getProjection
EditReturns the projection for a single view.
Arguments
Name | Type | Description |
view | number | The view index. |
Returns
Name | Type | Description |
left | number | The left field of view angle, in radians. |
right | number | The right field of view angle, in radians. |
up | number | The top field of view angle, in radians. |
down | number | The bottom field of view angle, in radians. |
Arguments
Name | Type | Description |
view | number | The view index. |
matrix | Mat4 | The matrix to fill with the projection. |
Returns
Name | Type | Description |
matrix | Mat4 | The matrix containing the projection. |