SplitExtensions Class
Namespace: Stride.ExtensionsAssembly: 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) |
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> |