Click or drag to resize
DefaultMaterialsFactorySetDefaultMaterialGenerator 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#
public static void SetDefaultMaterialGenerator(
	MaterialTypes type,
	MaterialGenerator generator
)

Parameters

type
Type: GeonBit.Core.Graphics.MaterialsMaterialTypes
Material type to set.
generator
Type: GeonBit.Core.Graphics.MaterialsMaterialGenerator
Generator function to use on this material.
See Also