GeonBit Documentation
GeonBit Documentation
GeonBit
GeonBit.Core.Graphics
MeshEntity Class
MeshEntity Methods
DoEntityDraw Method
GetMaterial Method
SetMaterial Method
SetMaterials Method
MeshEntity
SetMaterial Method
Set first alternative material for this mesh (useful for meshes with one effect).
Namespace:
GeonBit.Core.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
MeshEntity Class
GeonBit.Core.Graphics Namespace
GeonBit ECS game Engine. By Ronen Ness, 2017.
Send comments on this topic to
ronenness@gmail.com