Vytvoří texturu Texture.

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

Syntaxe

C#
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public static Texture CreateTexture(
	Type manifestType,
	string name
)

Parametry

manifestType
Typ: System..::.Type
Typ Type určující umístění meshe v dané knihovně.
name
Typ: System..::.String
Cesta k meshi.

Návratová hodnota

Vytvořená textura Texture.

Výjimky

VýjimkaPodmínka
System..::.ArgumentNullExceptionmanifestType je nullNothingnullptrnulová reference (Nothing v Visual Basic).
System..::.ArgumentNullExceptionname je nullNothingnullptrnulová reference (Nothing v Visual Basic).

Podívat se také na