getProjectionMatrix method

  1. @override
Matrix4 getProjectionMatrix(
  1. double aspectRatio, {
  2. Vector2? jitter,
})
override

Returns the projection matrix for a render target of the given aspectRatio (width / height).

Implementation

@override
Matrix4 getProjectionMatrix(double aspectRatio, {Vector2? jitter}) =>
    _matrix4Perspective(fovRadiansY, aspectRatio, near, far, jitter: jitter);