| TriangleMeshShape Constructor (ITriangleMesh, Boolean) |
Initializes a new instance of the
TriangleMeshShape class from the given
triangle mesh.
Namespace: DigitalRune.Geometry.ShapesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public TriangleMeshShape(
ITriangleMesh mesh,
bool enableContactWelding
)
Public Sub New (
mesh As ITriangleMesh,
enableContactWelding As Boolean
)
public:
TriangleMeshShape(
ITriangleMesh^ mesh,
bool enableContactWelding
)
new :
mesh : ITriangleMesh *
enableContactWelding : bool -> TriangleMeshShape
Parameters
- mesh
- Type: DigitalRune.Geometry.MeshesITriangleMesh
The mesh. - enableContactWelding
- Type: SystemBoolean
If set to contact welding is enabled; otherwise, the shape will not
use contact welding. See EnableContactWelding for more information.
Exceptions See Also