Click or drag to resize
MaterialOverridesApply Method
Apply all custom render properties on a given material, and return either the given material or a clone of it, if needed. This will not do anything if there are no custom properties currently used.

Namespace:  GeonBit.Core.Graphics
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public MaterialAPI Apply(
	MaterialAPI material
)

Parameters

material
Type: GeonBit.Core.Graphics.MaterialsMaterialAPI
Effect to set properties.

Return Value

Type: MaterialAPI
Either the input material or a clone of it with applied properties.
See Also