Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    TransformExtensions Class

    Namespace: Stride.Extensions
    Assembly: 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.

    | Improve this Doc View Source

    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


    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation