Interface: Extrude3DOptions
Defined in: src/mobjects/three-d/Extrude3D.ts:41
Options for creating an Extrude3D.
Extends
OrganicMeshOptions
Properties
bend?
optionalbend:Extrude3DBend
Defined in: src/mobjects/three-d/Extrude3D.ts:63
Optional bend applied after the extrusion. Default: none (flat)
bevel?
optionalbevel:number
Defined in: src/mobjects/three-d/Extrude3D.ts:55
Radius of the round edge (0 = sharp edge). Clamped below depth / 2, and below the width at which it would fold the outline. Default: 0
bevelSegments?
optionalbevelSegments:number
Defined in: src/mobjects/three-d/Extrude3D.ts:57
Rings in each quarter-round bevel. Default: 4
capColor?
optionalcapColor:string
Defined in: src/mobjects/three-d/Extrude3D.ts:65
Color of the two flat faces (top and bottom). Default: the main color
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
creaseAngle?
optionalcreaseAngle:number
Defined in: src/mobjects/three-d/Extrude3D.ts:61
Outline corners sharper than this angle (radians) get a hard edge. Default: PI / 6
curveSegments?
optionalcurveSegments:number
Defined in: src/mobjects/three-d/Extrude3D.ts:59
Samples per cubic Bezier curve of a VMobject outline. Default: 8
depth?
optionaldepth:number
Defined in: src/mobjects/three-d/Extrude3D.ts:50
Slab thickness along Z (centred on z = 0). Default: 0.2
holes?
optionalholes:Outline2D[]
Defined in: src/mobjects/three-d/Extrude3D.ts:48
Holes inside the outline. A VMobject outline also contributes its other subpaths as holes. Default: none
opacity?
optionalopacity:number
Defined in: src/mobjects/three-d/organicMesh.ts:414
Opacity from 0 to 1. Default: 1
Inherited from
OrganicMeshOptions.opacity
outline
outline:
Outline2D
Defined in: src/mobjects/three-d/Extrude3D.ts:43
Outer outline in the XY plane. A VMobject uses its first subpath.