Struct Box2D
public struct Box2D
- Inherited Members
- Extension Methods
Constructors
Box2D(float2, float)
public Box2D(float2 center, float halfHeight)
Parameters
centerfloat2halfHeightfloat
Fields
Center
public float2 Center
Field Value
- float2
HalfHeight
public float HalfHeight
Field Value
Methods
Contains(float2)
public bool Contains(float2 point)
Parameters
pointfloat2
Returns
Overlaps(Bounds2D)
public bool Overlaps(Bounds2D bounds)
Parameters
boundsBounds2D
Returns
Overlaps(Box2D)
public bool Overlaps(Box2D bounds)
Parameters
boundsBox2D