Version: 2017.3

GeometryUtility

class in UnityEngine

매뉴얼로 전환

설명

Utility class for common geometric functions.

정적 함수

CalculateBoundsCalculates a bounding box given an array of positions and a transformation matrix.
CalculateFrustumPlanesCalculates frustum planes.
TestPlanesAABBReturns true if bounds are inside the plane array.
TryCreatePlaneFromPolygonCreates a plane from a given list of vertices. Works for concave polygons and polygons that have multiple aligned vertices.