Creates a clone of a material.
The clones tags will be adjusted according to the "tagNamingStrategy" option.
Predefined material parameters will be applied to the material right away.
Optional
options: MaterialCloneOptionsReturns material with certain id if already available in the scene.
If this is not the case material is created from a
"Material asset"
on the Combeenation server.
Waits until textures of material are fully loaded and shader is compiled. In this way "flickering" effects
will be avoided, since the material would be incomplete without its loaded textures.
Optional
mesh: AbstractMeshRequired for shader compilation check, can be omitted if this check should not be done.
Use setMaterialOnMesh instead if the material should be applied on the mesh immediately.
Assigns material with certain id to desired mesh.
Creates the material if not already available (see getOrCreateMaterial).
Generated using TypeDoc
Manager for material related tasks