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