Interface: SceneOptions
Defined in: core/Scene.ts:43
Options for configuring a Scene.
Extended by
InteractiveSceneOptionsThreeDSceneOptionsZoomedSceneOptionsMovingCameraSceneOptionsVectorSceneOptionsLinearTransformationSceneOptionsPlayerOptions
Properties
autoRender?
optionalautoRender:boolean
Defined in: core/Scene.ts:59
Enable auto-render on add/remove. Defaults to true.
backgroundColor?
optionalbackgroundColor:string
Defined in: core/Scene.ts:49
Background color as CSS color string. Defaults to Manim's dark gray (#1C1C1C).
backgroundOpacity?
optionalbackgroundOpacity:number
Defined in: core/Scene.ts:61
Background opacity (0 = fully transparent, 1 = fully opaque). Defaults to 1. Not supported when exporting to video or GIF formats.
frameHeight?
optionalframeHeight:number
Defined in: core/Scene.ts:53
Frame height in world units. Defaults to 8 (Manim standard).
frameWidth?
optionalframeWidth:number
Defined in: core/Scene.ts:51
Frame width in world units. Defaults to 14 (Manim standard).
frustumCulling?
optionalfrustumCulling:boolean
Defined in: core/Scene.ts:57
Enable frustum culling optimization. Defaults to true.
headless?
optionalheadless:boolean
Defined in: core/Scene.ts:63
Enable headless mode (no WebGL renderer). Useful for testing scene logic without a DOM.
height?
optionalheight:number
Defined in: core/Scene.ts:47
Canvas height in pixels. Defaults to container height.
targetFps?
optionaltargetFps:number
Defined in: core/Scene.ts:55
Target frame rate in fps. Defaults to 60.
width?
optionalwidth:number
Defined in: core/Scene.ts:45
Canvas width in pixels. Defaults to container width.