기술 자료

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분최근 업데이트: 한 달 전

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.