Camera.createPerspectiveFieldOfViewProjectionMatrix() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
fieldOfView |
{Angle} |
No |
aspectRatio |
{real} |
No |
clippingPlane |
{Range} |
No |
{Camera.PerspectiveFieldOfViewProjectionMatrix} | On error: {undefined}
Create and assign to this Camera the first of matrices needed to display graphics, the projection matrix. This projection contains perspective information. Specified values change how much of the scene is fit into the projection, according to field of view Angle affecting how wide the view is, aspect ratio stretching either dimension of rendering result and a clipping plane cutting out graphics outside of it.