Show / Hide Table of Contents

Class MeshUtils

Utility for working with meshes.

Inheritance
object
MeshUtils
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Sylves
Assembly: Sylves.dll
Syntax
public static class MeshUtils

Methods

GetFaces(MeshData, bool)

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
bool invertWinding
Returns
Type Description
IEnumerable<MeshUtils.Face>

GetFaces(MeshData, int, bool)

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
int subMesh
bool invertWinding
Returns
Type Description
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