Skip to content

Documentation / @sw-file-lib/three / SwMaterialSet

Interface: SwMaterialSet ​

ts
interface SwMaterialSet {
  additive: MeshBasicMaterial;
  glass: ShaderMaterial;
  opaque: MeshStandardMaterial;
  uniforms: SwUniformControllers;
}

Defined in: material/materials.ts:35

Materials and their uniform stores used by Stormworks object creation helpers.

Properties ​

PropertyTypeDescription

additive

MeshBasicMaterial

Material used for shader id 2 groups.

glass

ShaderMaterial

Material used for shader id 1 groups.

opaque

MeshStandardMaterial

Material used for shader id 0 groups.

uniforms

SwUniformControllers

Uniform stores attached to this material set.