| TriangleMeshShape Constructor (ITriangleMesh, Boolean, ISpatialPartitionInt32) |
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,
ISpatialPartition<int> partition
)
Public Sub New (
mesh As ITriangleMesh,
enableContactWelding As Boolean,
partition As ISpatialPartition(Of Integer)
)
public:
TriangleMeshShape(
ITriangleMesh^ mesh,
bool enableContactWelding,
ISpatialPartition<int>^ partition
)
new :
mesh : ITriangleMesh *
enableContactWelding : bool *
partition : ISpatialPartition<int> -> 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.
- partition
- Type: DigitalRune.Geometry.PartitioningISpatialPartitionInt32
The spatial partition (see Partition). Can be if no
partition should be used.
Exceptions See Also