Transforms given vertex positions (3D coordinates) in the vertex buffer.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

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

Parameters

buffer
Type: VertexBuffer
Vertex buffer.
vertexIndex
Type: System..::.Int32
Starting vertex index.
vertexCount
Type: System..::.Int32
Vertex count.
vertexFormat
Type: VertexFormats
Vertex format.
transformation
Type: Matrix
Transform matrix.

Remarks

The vertexCount vertex positions, starting at vertexIndex (incl.), will be transformed in the buffer using the transform matrix transformation.

Exceptions

ExceptionCondition
System..::.ArgumentNullException buffer is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also