Click or drag to resize
ModelEntitySetMaterial Method
Set alternative material for a specific mesh id.

Namespace:  GeonBit.Core.Graphics
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void SetMaterial(
	MaterialAPI material,
	string meshId = ""
)

Parameters

material
Type: GeonBit.Core.Graphics.MaterialsMaterialAPI
Material to set.
meshId (Optional)
Type: SystemString
Mesh name. If empty string is provided, this material will be used for all meshes.
See Also