CLASSES
TagsA - Z

MultiMaterial

Material

Description

class MultiMaterial extends Material

Constructor

new MultiMaterial(name, scene)

Parameters

Name Type Description
name string
scene Scene

Members

subMaterials : Material[]

Methods

getSubMaterial(index) Material

Parameters

Name Type Description
index number

getActiveTextures() BaseTexture[]

getClassName() string

isReadyForSubMesh(mesh, subMesh, useInstances) boolean

Parameters

Name Type Description
mesh AbstractMesh
subMesh BaseSubMesh
optional useInstances boolean

clone(name, cloneChildren) MultiMaterial

Parameters

Name Type Description
name string
optional cloneChildren boolean

serialize() any

dispose(forceDisposeEffect, forceDisposeTextures) void

Parameters

Name Type Description
optional forceDisposeEffect boolean
optional forceDisposeTextures boolean