Struct Bounds2D
public struct Bounds2D
- Inherited Members
- Extension Methods
Constructors
Bounds2D(float2, float2)
public Bounds2D(float2 center, float2 halfSize)
Parameters
center
float2halfSize
float2
Fields
Center
public float2 Center
Field Value
- float2
HalfSize
public float2 HalfSize
Field Value
- float2
Methods
Contains(float2)
public bool Contains(float2 point)
Parameters
point
float2
Returns
Overlaps(Bounds2D)
public bool Overlaps(Bounds2D bounds)
Parameters
bounds
Bounds2D
Returns
Overlaps(Box2D)
public bool Overlaps(Box2D bounds)
Parameters
bounds
Box2D