Returns the single-color XMaterial material of the given color.

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

Syntax

C#
public static XMaterial GetSimpleMaterial(
	Color color,
	bool solid
)

Parameters

color
Type: System.Drawing..::.Color
Color of the created material.
solid
Type: System..::.Boolean
The material is for solid object.

Return Value

The new XMaterial material.

See Also