Interface: Shell3DOptions
Defined in: src/mobjects/three-d/Shell3D.ts:19
Options for creating a Shell3D.
Extends
OrganicMeshOptions
Properties
center?
optionalcenter:Vector3Tuple
Defined in: src/mobjects/three-d/organicMesh.ts:416
Center position [x, y, z]. Default: [0, 0, 0]
Inherited from
OrganicMeshOptions.center
color?
optionalcolor:string
Defined in: src/mobjects/three-d/organicMesh.ts:412
Color as a CSS color string.
Inherited from
OrganicMeshOptions.color
cut?
optionalcut:Shell3DCut
Defined in: src/mobjects/three-d/Shell3D.ts:29
Cut mode. Default: 'plane'
cutDirection?
optionalcutDirection:Vector3Tuple
Defined in: src/mobjects/three-d/Shell3D.ts:31
Normal of the cut plane, or the axis of the wedge (Manim's up, +Z, by default). Default: [0, 0, 1]
cutOffset?
optionalcutOffset:number
Defined in: src/mobjects/three-d/Shell3D.ts:36
Plane cut only: plane position along cutDirection, as a fraction of the outer radius. Must satisfy |cutOffset * outerRadius| < innerRadius. Default: 0.3
innerColor?
optionalinnerColor:string
Defined in: src/mobjects/three-d/Shell3D.ts:47
Color of the inner face. Default: the main color
innerRadius?
optionalinnerRadius:number
Defined in: src/mobjects/three-d/Shell3D.ts:23
Inner radius of the wall. Default: outerRadius - thickness
opacity?
optionalopacity:number
Defined in: src/mobjects/three-d/organicMesh.ts:414
Opacity from 0 to 1. Default: 1
Inherited from
OrganicMeshOptions.opacity
outerRadius?
optionalouterRadius:number
Defined in: src/mobjects/three-d/Shell3D.ts:21
Outer radius of the wall. Default: 1
rimColor?
optionalrimColor:string
Defined in: src/mobjects/three-d/Shell3D.ts:49
Color of the flat cut rim (the visible wall band). Default: the main color
scale?
optionalscale:Vector3Tuple
Defined in: src/mobjects/three-d/Shell3D.ts:27
Per-axis scale [x, y, z] that turns the sphere into an ellipsoid. Default: [1, 1, 1]
segments?
optionalsegments:number
Defined in: src/mobjects/three-d/Shell3D.ts:51
Segments around the full circle. Default: 64
thickness?
optionalthickness:number
Defined in: src/mobjects/three-d/Shell3D.ts:25
Wall thickness, used when innerRadius is not given. Default: 0.1 * outerRadius
wedgeAngle?
optionalwedgeAngle:number
Defined in: src/mobjects/three-d/Shell3D.ts:45
Wedge cut only: angle of the removed wedge in radians. Default: PI / 2
wedgeStart?
optionalwedgeStart:number
Defined in: src/mobjects/three-d/Shell3D.ts:43
Wedge cut only: start azimuth of the removed wedge in radians, measured right-handed about cutDirection. Azimuth 0 is the image of +X under the rotation that takes +Y onto cutDirection (for the default +Z axis: +X, and PI / 2 is +Y). Default: -PI / 4