GeonBit Documentation
GeonBit Documentation
GeonBit
GeonBit.Core.Graphics
MeshEntity Class
MeshEntity Methods
DoEntityDraw Method
GetMaterial Method
SetMaterial Method
SetMaterials Method
MeshEntity
SetMaterials Method
Set alternative array of materials for this mesh. Will replace mesh original materials.
Namespace:
GeonBit.Core.Graphics
Assembly:
GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
void
SetMaterials
(
MaterialAPI
[]
materials
)
Parameters
materials
Type:
GeonBit.Core.Graphics.Materials
MaterialAPI
Materials array to set.
See Also
Reference
MeshEntity Class
GeonBit.Core.Graphics Namespace
GeonBit ECS game Engine. By Ronen Ness, 2017.
Send comments on this topic to
ronenness@gmail.com