Click or drag to resize
DigitalRuneTriangleMeshFromModel Method
Creates a triangle mesh from an XNA Model. (Only available in the XNA-compatible build, except Silverlight.)

Namespace: DigitalRune.Geometry.Meshes
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public static TriangleMesh FromModel(
	Model model
)

Parameters

model
Type: Model
The XNA model.

Return Value

Type: TriangleMesh
A triangle mesh containing all triangles of the specified model.
Remarks
This method is only available in XNA-compatible builds of DigitalRune.Geometry.dll. It is not available in "Any CPU" builds or Silverlight.
See Also