CameraOrthoBounds

struct CameraOrthoBounds

Description

CameraOrthoBounds is shortcut for holding camera orthographic projection matrix left, right, bottom, top bounds.

Properties

size

The global size of camera ortho box.

left

Left side X of ortho box.

right

Right side X of ortho box.

top

Top side Y of ortho box.

bottom

Bottom side Y of ortho box.

Constructors

CameraOrthoBounds(float size, float left, float right, float bottom, float top)

Creates a camera ortho box with defined values.

CameraOrthoBounds(float size, float ratio, float scalar)

Creates a camera ortho box from size and aspect ratio.

See Also

Camera

Last updated