CameraComponent constructor
CameraComponent({
- CameraProjection? projection,
Creates a camera component with the given projection (a
PerspectiveProjection by default).
Implementation
CameraComponent({CameraProjection? projection})
: projection = projection ?? PerspectiveProjection();