Table of Contents

Interface IPhysics

Namespace
GameCanvas
Assembly
GameCanvas.dll
public interface IPhysics

Methods

CrossTest(in GcLine, in GcLine)

GcLineGcLine の交差判定

bool CrossTest(in GcLine a, in GcLine b)

Parameters

a GcLine
b GcLine

Returns

bool

CrossTest(in GcLine, in GcLine, out float2)

GcLineGcLine の交差判定

bool CrossTest(in GcLine a, in GcLine b, out float2 intersection)

Parameters

a GcLine
b GcLine
intersection float2

Returns

bool

HitTest(in GcAABB, in GcAABB)

GcAABBGcAABB の接触判定

bool HitTest(in GcAABB a, in GcAABB b)

Parameters

a GcAABB
b GcAABB

Returns

bool

HitTest(in GcAABB, in float2)

GcAABB と 点の接触判定

bool HitTest(in GcAABB aabb, in float2 point)

Parameters

aabb GcAABB
point float2

Returns

bool

HitTest(in GcCircle, in GcCircle)

GcCircleGcCircle の接触判定

bool HitTest(in GcCircle circle1, in GcCircle circle2)

Parameters

circle1 GcCircle
circle2 GcCircle

Returns

bool

HitTest(in GcCircle, in float2)

GcCircle と 点の接触判定

bool HitTest(in GcCircle circle, in float2 point)

Parameters

circle GcCircle
point float2

Returns

bool

SweepTest(in GcAABB, in GcAABB, in float2, out GcSweepResult)

移動する矩形と静的な矩形の連続衝突検出

bool SweepTest(in GcAABB @static, in GcAABB dynamic, in float2 delta, out GcSweepResult hit)

Parameters

static GcAABB
dynamic GcAABB
delta float2
hit GcSweepResult

Returns

bool

SweepTest(in GcAABB, in float2, in float2, out GcSweepResult)

移動する点と静的な矩形の連続衝突検出

bool SweepTest(in GcAABB @static, in float2 dynamic, in float2 delta, out GcSweepResult hit)

Parameters

static GcAABB
dynamic float2
delta float2
hit GcSweepResult

Returns

bool