Click or drag to resize
DigitalRuneTriangleMesh Methods

The TriangleMesh type exposes the following members.

Methods
  NameDescription
Public methodAdd(ITriangleMesh)
Adds the triangles of the specified mesh (without vertex welding).
Public methodAdd(Triangle)
Adds the triangle (without vertex welding).
Public methodAdd(ITriangleMesh, Boolean)
Adds the triangles of the specified mesh.
Public methodAdd(Triangle, Boolean)
Adds the triangle.
Public methodAdd(Triangle, Boolean, Single, Boolean)
Adds the triangle.
Public methodClone
Creates a new TriangleMesh that is a copy of the current instance.
Public methodComputeNormals
Computes the mesh normals.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberFromModel
Creates a triangle mesh from an XNA Model. (Only available in the XNA-compatible build, except Silverlight.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetTriangle
Gets the triangle with the given index.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodReverseWindingOrder
Changes the winding order of all triangles.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTransform
Transforms all vertices by the given matrix.
Public methodWeldVertices
Removes duplicate vertices.
Public methodCode exampleWeldVertices(Single)
Removes duplicate vertices.
Top
Extension Methods
  NameDescription
Public Extension MethodGetVolume
Gets the enclosed volume of a triangle mesh.
(Defined by GeometryHelper.)
Top
See Also