API
Babylon Lite API
|
getProjectionMatrix
…
|
Babylon Lite API
|
getProjectionMatrix
getProjectionMatrix
Function getProjectionMatrix
getProjectionMatrix
(
camera
:
Camera
,
aspectRatio
:
number
)
:
Mat4
Compute the projection matrix for a camera. Cached per
_cameraChangeKey
+ aspect.
Parameters
camera
:
Camera
aspectRatio
:
number
Returns
Mat4
Compute the projection matrix for a camera. Cached per
_cameraChangeKey+ aspect.