Click or drag to resize

PhysicsEngineCreateConvexHullGeometry(IEnumerableVector3, Double) Method

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: 19.00.00
Syntax
C#
public 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

PhysicsConvexHullGeometry
The created convex-hull geometry.
See Also