RenderTarget.Draw Method (Vertex[], UInt32, UInt32, PrimitiveType)

SFML.Net

RenderTargetDraw Method (Vertex, UInt32, UInt32, PrimitiveType)
Draw primitives defined by a sub-array of vertices, with default render states

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
void Draw(
	Vertex[] vertices,
	uint start,
	uint count,
	PrimitiveType type
)
Sub Draw ( 
	vertices As Vertex(),
	start As UInteger,
	count As UInteger,
	type As PrimitiveType
)
void Draw(
	array<Vertex>^ vertices, 
	unsigned int start, 
	unsigned int count, 
	PrimitiveType type
)
abstract Draw : 
        vertices : Vertex[] * 
        start : uint32 * 
        count : uint32 * 
        type : PrimitiveType -> unit 

Parameters

vertices
Type: SFML.GraphicsVertex
Array of vertices to draw
start
Type: SystemUInt32
Index of the first vertex to draw in the array
count
Type: SystemUInt32
Number of vertices to draw
type
Type: SFML.GraphicsPrimitiveType
Type of primitives to draw
See Also