PhysicsEngineCreateConvexHullGeometry Method (IEnumerableVector3, Double) |
Creates a convex-hull geometry from the provided collection of points that form the
convex-hull.
Namespace:
Demo3D.Visuals
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 18.04.00
Syntaxpublic PhysicsConvexHullGeometry CreateConvexHullGeometry(
IEnumerable<Vector3> vertices,
double margin
)
Parameters
- vertices
- Type: System.Collections.GenericIEnumerableVector3
The collection of points. - margin
- Type: SystemDouble
The collision margin for the convex-hull.
Return Value
Type:
PhysicsConvexHullGeometryThe created convex-hull geometry.
See Also