Camera.createPerspectiveFieldOfViewProjectionMatrix() - Mtax-Development/GML-OOP GitHub Wiki

Arguments

Name
Type
Optional
fieldOfView
No
aspectRatio
No
clippingPlane
No

Returns

{Camera.PerspectiveFieldOfViewProjectionMatrix} | On error: {undefined}

Description

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.

⚠️ **GitHub.com Fallback** ⚠️