Camera.createViewMatrix() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
source |
{Vector3} |
No |
target |
{Vector3} |
No |
upVector? |
{Vector3} |
Yes |
{Camera.ViewMatrix} | On error: {undefined}
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.