Table of Contents

Struct Box2D

Namespace
Zorro.Core
Assembly
Zorro.Core.Runtime.dll
public struct Box2D
Inherited Members
Extension Methods

Constructors

Box2D(float2, float)

public Box2D(float2 center, float halfHeight)

Parameters

center float2
halfHeight float

Fields

Center

public float2 Center

Field Value

float2

HalfHeight

public float HalfHeight

Field Value

float

Methods

Contains(float2)

public bool Contains(float2 point)

Parameters

point float2

Returns

bool

Overlaps(Bounds2D)

public bool Overlaps(Bounds2D bounds)

Parameters

bounds Bounds2D

Returns

bool

Overlaps(Box2D)

public bool Overlaps(Box2D bounds)

Parameters

bounds Box2D

Returns

bool