MaterialGenerator Delegate |
A callback to generate a default materials for a model type.
Namespace:
GeonBit.Core.Graphics.Materials
Assembly:
GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public delegate MaterialAPI MaterialGenerator(
Effect mgEffect
)
Parameters
- mgEffect
- Type: Effect
MonoGame effect loaded by the mesh loader. You can use it to extract data.
Return Value
Type:
MaterialAPIMaterial instance.
See Also