Interface: MovingCameraOptions
Defined in: core/CameraExtensions.ts:30
Options for configuring a MovingCamera.
Extends
Properties
aspectMode?
optionalaspectMode:Camera2DAspectMode
Defined in: core/Camera.ts:254
Behaviour of setAspectRatio when the viewport aspect doesn't match
this camera's frame. Defaults to 'fill' for back-compat — set to
'contain' (recommended for multi-camera layouts) to make per-camera
frameWidth/frameHeight zoom intent survive the per-viewport
aspect adjustment.
Inherited from
frameHeight?
optionalframeHeight:number
Defined in: core/Camera.ts:244
Height of the visible frame in world units. Defaults to 8 (Manim standard).
Inherited from
frameWidth?
optionalframeWidth:number
Defined in: core/Camera.ts:242
Width of the visible frame in world units. Defaults to 14 (Manim standard).
Inherited from
position?
optionalposition: [number,number,number]
Defined in: core/Camera.ts:246
Initial camera position [x, y, z]. Defaults to [0, 0, 10].
Inherited from
zoom?
optionalzoom:number
Defined in: core/CameraExtensions.ts:32
Initial zoom level. Defaults to 1.