| ModelEntitySetMaterials Method  | 
 
            Set alternative materials for a specific mesh id.
            
 
    Namespace: 
   GeonBit.Core.Graphics
    Assembly:
   GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic void SetMaterials(
	MaterialAPI[] material,
	string meshId = ""
)
Parameters
- material
 - Type: GeonBit.Core.Graphics.MaterialsMaterialAPI
Materials to set (list where index is mesh-part index as value is material to use for this part). - meshId (Optional)
 - Type: SystemString
Mesh name. If empty string is provided, this material will be used for all meshes. 
See Also