GeonBit Documentation
GeonBit Documentation
GeonBit
GeonBit.Core.Graphics.Materials
DefaultMaterialsFactory Class
DefaultMaterialsFactory Methods
GetDefaultMaterial Method
SetDefaultMaterialGenerator Method
DefaultMaterialsFactory
SetDefaultMaterialGenerator Method
Set the default material generator for a material type.
Namespace:
GeonBit.Core.Graphics.Materials
Assembly:
GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
static
void
SetDefaultMaterialGenerator
(
MaterialTypes
type
,
MaterialGenerator
generator
)
Parameters
type
Type:
GeonBit.Core.Graphics.Materials
MaterialTypes
Material type to set.
generator
Type:
GeonBit.Core.Graphics.Materials
MaterialGenerator
Generator function to use on this material.
See Also
Reference
DefaultMaterialsFactory Class
GeonBit.Core.Graphics.Materials Namespace
GeonBit ECS game Engine. By Ronen Ness, 2017.
Send comments on this topic to
ronenness@gmail.com