Show / Hide Table of Contents

Class MeshUtils

Utility for working with meshes.

Inheritance
System.Object
MeshUtils
Namespace: Sylves
Assembly: Sylves.dll
Syntax
public static class MeshUtils : Object

Methods

GetFaces(MeshData, Boolean)

Returns the indices of the faces of meshData.

Declaration
public static IEnumerable<MeshUtils.Face> GetFaces(MeshData meshData, bool invertWinding = false)
Parameters
Type Name Description
MeshData meshData
System.Boolean invertWinding
Returns
Type Description
System.Collections.Generic.IEnumerable<MeshUtils.Face>

GetFaces(MeshData, Int32, Boolean)

Returns the indices of the faces of a submesh of meshData.

Declaration
public static IEnumerable<MeshUtils.Face> GetFaces(MeshData meshData, int subMesh, bool invertWinding = false)
Parameters
Type Name Description
MeshData meshData
System.Int32 subMesh
System.Boolean invertWinding
Returns
Type Description
System.Collections.Generic.IEnumerable<MeshUtils.Face>

ToMesh(IGrid)

Declaration
public static MeshData ToMesh(IGrid grid)
Parameters
Type Name Description
IGrid grid
Returns
Type Description
MeshData
In This Article
Back to top Generated by DocFX