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

Arguments

Name
Type
Optional
source
No
target
No
upVector?
Yes

Returns

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

Description

Create and assign to this Camera the second of matrices needed to display graphics, the view matrix. It contains specified location from where this Camera is heading towards the location it points to, both oriented around the specified upward vector.

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