Skip to content

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 ​

PropertyModifierTypeDescription

materials?

readonly

Readonly<SwMaterialSet>

Materials used for opaque, glass, and additive groups.

name?

readonly

string

Optional display name assigned to the created mesh.