Vytvoří novou instanci třídy XMaterial.

Jmenný prostor:  SGP.XSpace
Knihovna:  SGPRTL (v SGPRTL)
Verze: dll

Syntaxe

C#
public XMaterial(
	ExtendedMaterial material,
	IXResourceContainer textureContainer
)

Parametry

material
Typ: ExtendedMaterial
Materiál ExtendedMaterial, který je uložen v souboru DirectX (.x).
textureContainer
Typ: SGP.XUtility..::.IXResourceContainer
Kontejner obsahující textury.

Podívat se také na