struct CameraOrthoBounds
CameraOrthoBounds is shortcut for holding camera orthographic projection matrix left, right, bottom, top bounds.
size
The global size of CameraOrthoBounds.
left
Left side X of CameraOrthoBounds.
Left
right
Right side X of CameraOrthoBounds.
Right
top
Top side Y of CameraOrthoBounds.
Top
bottom
Bottom side Y of CameraOrthoBounds.
Bottom
CameraOrthoBounds(float size, float left, float right, float bottom, float top)
Creates a CameraOrthoBounds with defined values. [left, right, bottom, top].
CameraOrthoBounds(float size, float ratio, float scalar)
Creates a CameraOrthoBounds from size and aspect ratio.
ratio
Camera
Last updated 5 months ago