Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PolygonGeometry.ConvexHull

A simple convex hull. The hull is not validated by physics so cannot be used directly for shapes.
Read time 1 minuteLast updated 9 days ago

Definition

public struct PolygonGeometry.ConvexHull

Fields

Value

Description

verticesThe geometry vertices stored in a PhysicsShape.ShapeArray.

Properties

Property

Description

countThe number of polygon vertices.

Methods

Method

Description

AsReadOnlySpanGet the convex-hull vertices as a read-only span.
AsSpanGet the convex-hull vertices as a span.