Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    VertexExtensions Class

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

    | Improve this Doc View Source

    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

    • Improve this Doc
    • View Source
    In This Article

    Back to top

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