Documentation / @sw-file-lib/three / CreateSwMeshOptions
Interface: CreateSwMeshOptions
ts
interface CreateSwMeshOptions {
readonly materials?: Readonly<SwMaterialSet>;
readonly name?: string;
}Defined in: mesh.ts:6
Options used when creating a render mesh object from parsed mesh data.
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
|
| Materials used for opaque, glass, and additive groups. | |
|
| Optional display name assigned to the created mesh. |