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
vertexBufferBinding
VertexBufferBindingThe vertex container to transform
matrix
MatrixThe 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
vertexBufferBinding
VertexBufferBindingThe vertex container to transform
bufferData
byte[]The source/destination data array to transform
matrix
MatrixThe matrix to use for the transform