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

Properties

UVGenerator?: UVGenerator

A object that provides UV generator functions.

bevelEnabled?: boolean

Turn on bevel. Applying beveling to the shape.

Default Value

true

bevelOffset?: number

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

Default Value

0

bevelSegments?: number

Number of bevel layers/segments. Expects a Integer.

Default Value

3

bevelSize?: number

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

Default Value

bevelThickness - 0.1

bevelThickness?: number

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

Default Value

0.2

curveSegments?: number

Number of points on the curves. Expects a Integer.

Default Value

12

depth?: number

Depth to extrude the shape.

Default Value

1

extrudePath?: Curve<Vector3>

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

Remarks

Bevels not supported for path extrusion.

steps?: number

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

Default Value

1