Interface: ThreeDSceneOptions
Defined in: core/ThreeDScene.ts:11
Options for configuring a ThreeDScene.
Extends
Properties
autoRender?
optionalautoRender:boolean
Defined in: core/Scene.ts:58
Enable auto-render on add/remove. Defaults to true.
Inherited from
backgroundColor?
optionalbackgroundColor:string
Defined in: core/Scene.ts:48
Background color as CSS color string. Defaults to Manim's dark gray (#1C1C1C).
Inherited from
backgroundOpacity?
optionalbackgroundOpacity:number
Defined in: core/Scene.ts:60
Background opacity (0 = fully transparent, 1 = fully opaque). Defaults to 1. Not supported when exporting to video or GIF formats.
Inherited from
SceneOptions.backgroundOpacity
distance?
optionaldistance:number
Defined in: core/ThreeDScene.ts:19
Initial camera distance from origin. Defaults to 15.
enableOrbitControls?
optionalenableOrbitControls:boolean
Defined in: core/ThreeDScene.ts:21
Enable orbit controls for user interaction. Defaults to true.
fov?
optionalfov:number
Defined in: core/ThreeDScene.ts:13
Camera field of view in degrees. Defaults to 45.
frameHeight?
optionalframeHeight:number
Defined in: core/Scene.ts:52
Frame height in world units. Defaults to 8 (Manim standard).
Inherited from
frameWidth?
optionalframeWidth:number
Defined in: core/Scene.ts:50
Frame width in world units. Defaults to 14 (Manim standard).
Inherited from
frustumCulling?
optionalfrustumCulling:boolean
Defined in: core/Scene.ts:56
Enable frustum culling optimization. Defaults to true.
Inherited from
height?
optionalheight:number
Defined in: core/Scene.ts:46
Canvas height in pixels. Defaults to container height.
Inherited from
orbitControlsOptions?
optionalorbitControlsOptions:OrbitControlsOptions
Defined in: core/ThreeDScene.ts:23
Orbit controls configuration options.
phi?
optionalphi:number
Defined in: core/ThreeDScene.ts:15
Initial camera phi angle (polar, from Y axis). Defaults to PI/4.
setupLighting?
optionalsetupLighting:boolean
Defined in: core/ThreeDScene.ts:25
Whether to set up default lighting. Defaults to true.
targetFps?
optionaltargetFps:number
Defined in: core/Scene.ts:54
Target frame rate in fps. Defaults to 60.
Inherited from
theta?
optionaltheta:number
Defined in: core/ThreeDScene.ts:17
Initial camera theta angle (azimuthal, in XZ plane). Defaults to -PI/4.
width?
optionalwidth:number
Defined in: core/Scene.ts:44
Canvas width in pixels. Defaults to container width.