VertexArray Class
From SFML.Net
SFML.Net
| VertexArray Class |
Define a set of one or more 2D primitives
Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
The VertexArray type exposes the following members.
| Name | Description | |
|---|---|---|
| VertexArray |
Default constructor
| |
| VertexArray(PrimitiveType) |
Construct the vertex array with a type
| |
| VertexArray(VertexArray) |
Construct the vertex array from another vertex array
| |
| VertexArray(PrimitiveType, UInt32) |
Construct the vertex array with a type and an initial number of vertices
|
| Name | Description | |
|---|---|---|
| Append |
Add a vertex to the array
| |
| Clear |
Clear the vertex array
| |
| Destroy |
Handle the destruction of the object
(Overrides ObjectBaseDestroy(Boolean).) | |
| Dispose |
Explicitely dispose the object
(Inherited from ObjectBase.) | |
| Draw | ||
| Equals |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) | |
| Finalize |
Dispose the object
(Inherited from ObjectBase.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Resize |
Resize the vertex array
If \a vertexCount is greater than the current size, the previous
vertices are kept and new (default-constructed) vertices are
added.
If \a vertexCount is less than the current size, existing vertices
are removed from the array.
| |
| ToString |
Returns a String that represents the current Object.
(Inherited from Object.) |
| Name | Description | |
|---|---|---|
| Bounds | ||
| CPointer |
Access to the internal pointer of the object.
For internal use only
(Inherited from ObjectBase.) | |
| Item |
Read-write access to vertices by their index.
This function doesn't check index, it must be in range
[0, VertexCount - 1]. The behaviour is undefined
otherwise.
| |
| PrimitiveType |
Type of primitives to draw
| |
| VertexCount |
Total vertex count
|