b2AABB
b2AABB
Box2D.CollisionType: Struct
Propertys
Center(Box2D.Common.b2Vec2)
Extents(Box2D.Common.b2Vec2)
LowerBoundX(System.Single)
LowerBoundY(System.Single)
Perimeter(System.Single)
UpperBoundX(System.Single)
UpperBoundY(System.Single)
Methods
Combine(ref b2AABB)
Combine(ref b2AABB)(Box2D.Collision.b2AABB aabb)
Parameters:
aabb
(Box2D.Collision.b2AABB)Example
Combine(ref b2AABB, ref b2AABB)
Combine(ref b2AABB, ref b2AABB)(Box2D.Collision.b2AABB aabb1, Box2D.Collision.b2AABB aabb2)
Parameters:
aabb1
(Box2D.Collision.b2AABB)aabb2
(Box2D.Collision.b2AABB)Example
Combine(ref b2AABB, ref b2AABB, out b2AABB)
Combine(ref b2AABB, ref b2AABB, out b2AABB)(Box2D.Collision.b2AABB aabb1, Box2D.Collision.b2AABB aabb2, Box2D.Collision.b2AABB output)
Parameters:
aabb1
(Box2D.Collision.b2AABB)aabb2
(Box2D.Collision.b2AABB)output
(Box2D.Collision.b2AABB)Contains(ref b2AABB)
System.Boolean Contains(ref b2AABB)(Box2D.Collision.b2AABB aabb)
Parameters:
aabb
(Box2D.Collision.b2AABB)Returns:
System.Boolean
Example
Equals(b2AABB)
System.Boolean Equals(b2AABB)(Box2D.Collision.b2AABB o)
Parameters:
o
(Box2D.Collision.b2AABB)Returns:
System.Boolean
Equals(object)
System.Boolean Equals(object)(System.Object obj)
Parameters:
obj
(System.Object)Returns:
System.Boolean
Example
Fatten()
Fatten()()
Fatten(float)
Fatten(float)(System.Single amt)
Parameters:
amt
(System.Single)IsValid()
System.Boolean IsValid()()
Returns:
System.Boolean
RayCast(out b2RayCastOutput, b2RayCastInput)
System.Boolean RayCast(out b2RayCastOutput, b2RayCastInput)(Box2D.Collision.b2RayCastOutput output, Box2D.Collision.b2RayCastInput input)
Parameters:
output
(Box2D.Collision.b2RayCastOutput)input
(Box2D.Collision.b2RayCastInput)Returns:
System.Boolean
Set(b2Vec2, b2Vec2)
Set(b2Vec2, b2Vec2)(Box2D.Common.b2Vec2 lower, Box2D.Common.b2Vec2 upper)
Parameters:
lower
(Box2D.Common.b2Vec2)upper
(Box2D.Common.b2Vec2)Set(float, float, float, float)
Set(float, float, float, float)(System.Single lx, System.Single ly, System.Single ux, System.Single uy)
Parameters:
lx
(System.Single)ly
(System.Single)ux
(System.Single)uy
(System.Single)SetLowerBound(float, float)
SetLowerBound(float, float)(System.Single x, System.Single y)
Parameters:
x
(System.Single)y
(System.Single)SetUpperBound(float, float)
SetUpperBound(float, float)(System.Single x, System.Single y)
Parameters:
x
(System.Single)y
(System.Single)Fields
Default(Box2D.Collision.b2AABB)
LowerBound(Box2D.Common.b2Vec2)
UpperBound(Box2D.Common.b2Vec2)