文档

Unity Engine

Unity Engine

PhysicsAABB(Vector2, Vector2)

Create an axis-aligned bounding-box with the specified bounds.
阅读时间1 分钟最后更新于 1 个月前

Definition

public PhysicsAABB(Vector2 lowerBound, Vector2 upperBound)

Parameters

lowerBound

The lower-left bounding vertex. This should be equal to or lower than .

upperBound

The upper-right bounding vertex. This should be equal to or above .