ドキュメント

Unity Engine

Unity Engine

GeometryUtility

Utility class for common geometric functions.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Class
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public sealed class GeometryUtility

Static Methods

Method

Description

CalculateBoundsCalculates the bounding box from the given array of positions and the transformation matrix.
CalculateFrustumPlanesCalculates frustum planes.
TestPlanesAABBReturns true if bounds are inside the plane array.
TryCreatePlaneFromPolygonGeometryUtility.TryCreatePlaneFromPolygon creates a plane from the given list of
vertices
that define the polygon, as long as they do not characterize a straight line or zero area.