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(
	Texture texture
)

Parameters

texture
Type: Texture
Texture of the new material.

Return Value

The new XMaterial material.

See Also