Click or drag to resize
ModelRendererSetMaterials Method
Set alternative materials for a specific mesh id.

Namespace:  GeonBit.ECS.Components.Graphics
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void SetMaterials(
	MaterialAPI[] material,
	string meshId = ""
)

Parameters

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