TransformExtensions Class
Namespace: Stride.ExtensionsAssembly: Stride.Rendering.dll
System.Object →
TransformExtensions
Derived from TransformExtensions:
public static class TransformExtensions
| Name | Description | |
|---|---|---|
| Methods | ||
| TransformBuffer(VertexBufferBinding, ref Matrix) | Transform a vertex buffer positions, normals, tangents and bitangents using the given matrix. |
|
| TransformBuffer(VertexBufferBinding, Byte[], ref Matrix) | Transform a vertex buffer positions, normals, tangents and bitangents using the given matrix. Using as source/destination data the provided bufferData byte array. |
|
Methods
TransformBuffer(VertexBufferBinding, ref Matrix)
Transform a vertex buffer positions, normals, tangents and bitangents using the given matrix.
public static void TransformBuffer(this VertexBufferBinding vertexBufferBinding, ref Matrix matrix)
Parameters
| Type | Name | Description |
|---|---|---|
| VertexBufferBinding | vertexBufferBinding | The vertex container to transform |
| Matrix | matrix | The matrix to use for the transform |
TransformBuffer(VertexBufferBinding, Byte[], ref Matrix)
Transform a vertex buffer positions, normals, tangents and bitangents using the given matrix. Using as source/destination data the provided bufferData byte array.
public static void TransformBuffer(this VertexBufferBinding vertexBufferBinding, byte[] bufferData, ref Matrix matrix)
Parameters
| Type | Name | Description |
|---|---|---|
| VertexBufferBinding | vertexBufferBinding | The vertex container to transform |
| System.Byte[] | bufferData | The source/destination data array to transform |
| Matrix | matrix | The matrix to use for the transform |