Creates the XMaterial material from the given texture.

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

Syntax

C#
public static XMaterial CreateTextureMaterial(
	string name,
	Texture texture
)

Parameters

name
Type: System..::.String
Material name.
texture
Type: Texture
Texture of the new material.

Return Value

The new XMaterial material.

See Also