Documentation / @sw-file-lib/geometry / AddFaceOptions
Interface: AddFaceOptions
ts
interface AddFaceOptions {
readonly color?: ReadonlyColor;
readonly flip?: boolean;
readonly materialIndex?: number;
}Defined in: builder.ts:91
Options shared by face generation methods.
Extended by
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
| 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 |