Class TransformExtensions
- Namespace
- Stride.Extensions
- Assembly
- Stride.Rendering.dll
public static class TransformExtensions
- Inheritance
-
TransformExtensions
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
vertexBufferBindingVertexBufferBindingThe vertex container to transform
matrixMatrixThe 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
vertexBufferBindingVertexBufferBindingThe vertex container to transform
bufferDatabyte[]The source/destination data array to transform
matrixMatrixThe matrix to use for the transform