| MeshHelperToTriangleMesh Method (Submesh, TriangleMesh) |
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public static void ToTriangleMesh(
this Submesh submesh,
TriangleMesh triangleMesh
)
<ExtensionAttribute>
Public Shared Sub ToTriangleMesh (
submesh As Submesh,
triangleMesh As TriangleMesh
)
public:
[ExtensionAttribute]
static void ToTriangleMesh(
Submesh^ submesh,
TriangleMesh^ triangleMesh
)
[<ExtensionAttribute>]
static member ToTriangleMesh :
submesh : Submesh *
triangleMesh : TriangleMesh -> unit
Parameters
- submesh
- Type: DigitalRune.GraphicsSubmesh
The submesh. - triangleMesh
- Type: DigitalRune.Geometry.MeshesTriangleMesh
The triangle mesh to which the triangles of the submesh are added.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Submesh. 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