VertexExtensions Class
Namespace: Stride.ExtensionsAssembly: Stride.Rendering.dll
System.Object →
VertexExtensions
Derived from VertexExtensions:
public static class VertexExtensions
| Name | Description | |
|---|---|---|
| Methods | ||
| GetVertexBufferData<T>(MeshDraw, String[]) | Extracts a selection of vertices from a vertex buffer stored in this mesh data. |
|
Methods
GetVertexBufferData<T>(MeshDraw, String[])
Extracts a selection of vertices from a vertex buffer stored in this mesh data.
public static T[] GetVertexBufferData<T>(this MeshDraw meshData, params string[] vertexElementToExtract)
where T : struct
Parameters
| Type | Name | Description |
|---|---|---|
| MeshDraw | meshData | The mesh data. |
| System.String[] | vertexElementToExtract | The declaration to extract (e.g. "POSITION0"...etc.) |
Returns
| Type | Description |
|---|---|
| T[] |
Type Parameters
| Name | Description |
|---|---|
| T |