Matrix:Perspective(alpha, nearr, farr, aspect)
Version added: before 9.5
Prepend a perspective transform onto the current matrix
Arguments:
| Name | Type | Description | Default | Ver |
| alpha | real | The field of view angle (in radians) | < 9.5 | |
| nearr | real | Distance from the virtual eye to the near clipping plane | < 9.5 | |
| farr | real | Distance from the virtual eye to the far clipping plane | < 9.5 | |
| aspect | real | Aspect ratio of the final viewing plane | < 9.5 |
Return value:
void none
Prepend a perspective transform onto the current matrix.
<< Back to Matrix