setScaling
Apply a 2D scaling to the projection matrix after projection.
Useful for adjusting aspect ratio independent of projection. Example: for Fov.HORIZONTAL with aspect w/h:
setProjection(fov, 1.0, near, far, Fov.HORIZONTAL)
setScaling(1.0, aspect)Default: identity (1.0, 1.0).
Parameters
Horizontal scale factor
Vertical scale factor
Apply a 2D scaling to the projection matrix after projection.
Useful for adjusting aspect ratio independent of projection. Example: for Fov.HORIZONTAL with aspect w/h:
setProjection(fov, 1.0, near, far, Fov.HORIZONTAL)
setScaling(1.0, aspect)Default: identity (1.0, 1.0).
Parameters
Horizontal scale factor
Vertical scale factor
Apply a 2D scaling to the projection matrix after projection.
Useful for adjusting aspect ratio independent of projection. Example: for Fov.HORIZONTAL with aspect w/h:
setProjection(fov, 1.0, near, far, Fov.HORIZONTAL)
setScaling(1.0, aspect)Default: identity (1.0, 1.0).
Parameters
Horizontal scale factor
Vertical scale factor
Apply a 2D scaling to the projection matrix after projection.
Useful for adjusting aspect ratio independent of projection. Example: for Fov.HORIZONTAL with aspect w/h:
setProjection(fov, 1.0, near, far, Fov.HORIZONTAL)
setScaling(1.0, aspect)Default: identity (1.0, 1.0).
Parameters
Horizontal scale factor
Vertical scale factor
Apply a 2D scaling to the projection matrix after projection.
Useful for adjusting aspect ratio independent of projection. Example: for Fov.HORIZONTAL with aspect w/h:
setProjection(fov, 1.0, near, far, Fov.HORIZONTAL)
setScaling(1.0, aspect)Default: identity (1.0, 1.0).
Parameters
Horizontal scale factor
Vertical scale factor