GeonBit Documentation
GeonBit Documentation
GeonBit
GeonBit.ECS.Components.Graphics
ModelMeshRenderer Class
ModelMeshRenderer Methods
Clone Method
SetMaterial Method
SetMaterials Method
ModelMeshRenderer
SetMaterial Method
Set alternative material 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#
Copy
public
void
SetMaterial
(
MaterialAPI
material
)
Parameters
material
Type:
GeonBit.Core.Graphics.Materials
MaterialAPI
Material to set.
See Also
Reference
ModelMeshRenderer Class
GeonBit.ECS.Components.Graphics Namespace
GeonBit ECS game Engine. By Ronen Ness, 2017.
Send comments on this topic to
ronenness@gmail.com