Documentation / @sw-file-lib/geometry / AddExtrudedSideOptions
Interface: AddExtrudedSideOptions
ts
interface AddExtrudedSideOptions extends AddFaceOptions {
readonly close?: boolean;
readonly color?: ReadonlyColor;
readonly flip?: boolean;
readonly materialIndex?: number;
readonly zRange: readonly [number, number];
}Defined in: builder.ts:129
Options for GeometryBuilder.addExtrudedSides.
Extends
Properties
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
|
| Whether to connect the last and first vertices. Default ts | ‐ | |
| Vertex color applied to the generated face. (Range: 0-255) Defaults to white. | |||
|
| Whether to reverse the winding order of the generated triangles. Default ts | ||
|
| Material index assigned to the generated triangles.
Default ts | ||
| readonly [ | Start and end Z coordinates for the side strip. | ‐ |