interface ExtrudeGeometryOptions {
    bevelEnabled?: boolean;
    bevelOffset?: number;
    bevelSegments?: number;
    bevelSize?: number;
    bevelThickness?: number;
    curveSegments?: number;
    depth?: number;
    extrudePath?: Curve<Vector3>;
    steps?: number;
    UVGenerator?: UVGenerator;
}

Properties

bevelEnabled?: boolean

Turn on bevel. Applying beveling to the shape.

true

bevelOffset?: number

Distance from the shape outline that the bevel starts. Expects a Float.

0

bevelSegments?: number

Number of bevel layers/segments. Expects a Integer.

3

bevelSize?: number

Distance from the shape outline that the bevel extends Expects a Float.

bevelThickness - 0.1

bevelThickness?: number

How deep into the original shape the bevel goes. Expects a Float.

0.2

curveSegments?: number

Number of points on the curves. Expects a Integer.

12

depth?: number

Depth to extrude the shape.

1

extrudePath?: Curve<Vector3>

A 3D spline path along which the shape should be extruded.

Bevels not supported for path extrusion.

steps?: number

Number of points used for subdividing segments along the depth of the extruded spline.

1

UVGenerator?: UVGenerator

A object that provides UV generator functions.