Click or drag to resize

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: 15.0.2.11458
Syntax
C#
public 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: PhysicsConvexHullGeometry
The created convex-hull geometry.
See Also