| MeshHelperToTriangleMesh Method (Mesh) |
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public static TriangleMesh ToTriangleMesh(
this Mesh mesh
)
<ExtensionAttribute>
Public Shared Function ToTriangleMesh (
mesh As Mesh
) As TriangleMesh
public:
[ExtensionAttribute]
static TriangleMesh^ ToTriangleMesh(
Mesh^ mesh
)
[<ExtensionAttribute>]
static member ToTriangleMesh :
mesh : Mesh -> TriangleMesh
Parameters
- mesh
- Type: DigitalRune.GraphicsMesh
The mesh.
Return Value
Type:
TriangleMeshA triangle mesh containing all triangles of the specified mesh.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Mesh. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Exceptions See Also