CameraPerspectiveBounds
struct CameraPerspectiveBounds
Last updated
struct CameraPerspectiveBounds
Last updated
CameraPerspectiveBounds is shortcut for holding camera perspective projection matrix fov, aspect ratio, near, far bounds.
fov
Field of view.
aspect
Aspect ratio (typically Width / Height).
near
Z near depth clipping plane.
far
Z far depth clipping plane.
CameraPerspectiveBounds(float fov, float aspect, float near, float far)
Creates a camera perspective bounds with defined values.