Transformuje zadané pozice (3D souřadnice) vrcholů v bufferu vrcholů.
Jmenný prostor:
SGP.XSpaceKnihovna: 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ýjimka | Podmínka |
---|---|
System..::.ArgumentNullException | buffer je nullNothingnullptrnulová reference (Nothing v Visual Basic). |