文档

Unity Engine

Unity Engine

PolygonGeometry.ConvexHull

A simple convex hull. The hull is not validated by physics so cannot be used directly for shapes.
阅读时间1 分钟最后更新于 1 个月前

Definition

public struct PolygonGeometry.ConvexHull : IEquatable<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.