Transformuje zadané pozice (3D souřadnice) vrcholů v bufferu vrcholů.

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

Syntaxe

C#
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public static void VertexBufferTransformPosition(
	VertexBuffer buffer,
	int vertexIndex,
	int vertexCount,
	VertexFormats vertexFormat,
	Matrix transformation
)

Parametry

buffer
Typ: VertexBuffer
Buffer vrcholů.
vertexIndex
Typ: System..::.Int32
Index počátečního vrcholu.
vertexCount
Typ: System..::.Int32
Počet vrcholů.
vertexFormat
Typ: VertexFormats
Formát vrcholu.
transformation
Typ: Matrix
Transformační matice.

Poznámky

Pozice vrcholů v počtu vertexCount od vertexIndex včetně bude v buffer transformována pomocí matice transformation.

Výjimky

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

Podívat se také na