Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    SplitExtensions Class

    Namespace: Stride.Extensions
    Assembly: Stride.Rendering.dll
    System.Object → SplitExtensions
    Derived from SplitExtensions:

    public static class SplitExtensions
    Name Description
    Methods
    SplitMesh(MeshDraw, Boolean)

    Split the mesh if it has strictly more than 65535 vertices (max index = 65534) on a plaftorm that does not support 32 bits indices.

    SplitMeshes(List<Mesh>, Boolean)
    | Improve this Doc View Source

    Methods


    SplitMesh(MeshDraw, Boolean)

    Split the mesh if it has strictly more than 65535 vertices (max index = 65534) on a plaftorm that does not support 32 bits indices.

    public static List<MeshDraw> SplitMesh(MeshDraw meshDrawData, bool can32bitIndex)
    Parameters
    Type Name Description
    MeshDraw meshDrawData

    The mesh to analyze.

    System.Boolean can32bitIndex

    A flag stating if 32 bit indices are allowed.

    Returns
    Type Description
    System.Collections.Generic.List<MeshDraw>

    A list of meshes.


    SplitMeshes(List<Mesh>, Boolean)

    public static List<Mesh> SplitMeshes(List<Mesh> meshes, bool can32bitIndex)
    Parameters
    Type Name Description
    System.Collections.Generic.List<Mesh> meshes
    System.Boolean can32bitIndex
    Returns
    Type Description
    System.Collections.Generic.List<Mesh>

    • Improve this Doc
    • View Source
    In This Article

    Back to top

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