Description
class MultiMaterial extends Material
Constructor
Parameters
|
Name |
Type |
Description |
|
name |
string |
|
|
scene |
Scene |
|
Members
subMaterials : Nullable<Material>[]
Methods
getSubMaterial(index) → Nullable<Material>
Parameters
|
Name |
Type |
Description |
|
index |
number |
|
getActiveTextures() → BaseTexture[]
getClassName() → string
isReadyForSubMesh(mesh, subMesh, useInstances) → boolean
Parameters
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 |
|