Skip to main content

Type Alias: CameraComponentOptions

CameraComponentOptions = object

Defined in: rendering/components/camera-component.ts:8

Options for configuring the CameraComponent.

Properties

isStatic

isStatic: boolean

Defined in: rendering/components/camera-component.ts:25

Indicates if the camera is static (non-movable).


maxZoom

maxZoom: number

Defined in: rendering/components/camera-component.ts:22

The maximum zoom level allowed.


minZoom

minZoom: number

Defined in: rendering/components/camera-component.ts:19

The minimum zoom level allowed.


panInput?

optional panInput: Axis2dAction

Defined in: rendering/components/camera-component.ts:31

Optional input action for panning the camera.


panSensitivity

panSensitivity: number

Defined in: rendering/components/camera-component.ts:16

The sensitivity of the panning controls.


scissorRect?

optional scissorRect: Rect

Defined in: rendering/components/camera-component.ts:34

Optional scissor rectangle to limit the camera's rendering area.


zoom

zoom: number

Defined in: rendering/components/camera-component.ts:10

The current zoom level of the camera.


zoomInput?

optional zoomInput: Axis1dAction

Defined in: rendering/components/camera-component.ts:28

Optional input action for zooming the camera.


zoomSensitivity

zoomSensitivity: number

Defined in: rendering/components/camera-component.ts:13

The sensitivity of the zoom controls.