Click or drag to resize
DigitalRuneTriangleMeshShape Constructor (ITriangleMesh, Boolean)
Initializes a new instance of the TriangleMeshShape class from the given triangle mesh.

Namespace: DigitalRune.Geometry.Shapes
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public TriangleMeshShape(
	ITriangleMesh mesh,
	bool enableContactWelding
)

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
ExceptionCondition
ArgumentNullExceptionmesh is .
See Also