Adds the XMaterial material to the XDefaultMaterialManager material manager.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public void AddMaterial(
	XMaterial material
)

Parameters

material
Type: SGP.XSpace..::.XMaterial
Material to be added.

Implements

IXMaterialManager..::.AddMaterial(XMaterial)

Exceptions

ExceptionCondition
System..::.ArgumentNullException material is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also