CameraOrthoBounds
struct CameraOrthoBounds
Description
CameraOrthoBounds is shortcut for holding camera orthographic projection matrix left, right, bottom, top bounds.
Properties
size
The global size of CameraOrthoBounds.
left
Left side X of CameraOrthoBounds.
right
Right side X of CameraOrthoBounds.
top
Top side Y of CameraOrthoBounds.
bottom
Bottom side Y of CameraOrthoBounds.
Constructors
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.
See Also
Last updated