Vrátí texturovací souřadnice meshe.

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

Syntaxe

C#
public static Vector2[] GetMeshTextureCoordinates(
	Mesh mesh,
	int[] indices,
	int index
)

Parametry

mesh
Typ: Mesh
Mesh.
indices
Typ: array< System..::.Int32 >[]()[]
Indexy vrcholů, pro které mají být zjištěny texturovací souřadnice.
index
Typ: System..::.Int32
Index texturovacích souřadnic.

Návratová hodnota

Pole texturovacích souřadnic.

Výjimky

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

Podívat se také na