Click or drag to resize
DigitalRuneTriangleMeshShape Constructor (ITriangleMesh, Boolean, ISpatialPartitionInt32)
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,
	ISpatialPartition<int> partition
)

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.
partition
Type: DigitalRune.Geometry.PartitioningISpatialPartitionInt32
The spatial partition (see Partition). Can be if no partition should be used.
Exceptions
ExceptionCondition
ArgumentNullExceptionmesh is .
See Also