Interface IPhysics
- Namespace
- GameCanvas
- Assembly
- GameCanvas.dll
public interface IPhysics
Methods
CrossTest(in GcLine, in GcLine)
bool CrossTest(in GcLine a, in GcLine b)
Parameters
Returns
CrossTest(in GcLine, in GcLine, out float2)
bool CrossTest(in GcLine a, in GcLine b, out float2 intersection)
Parameters
Returns
HitTest(in GcAABB, in GcAABB)
bool HitTest(in GcAABB a, in GcAABB b)
Parameters
Returns
HitTest(in GcAABB, in float2)
GcAABB と 点の接触判定
bool HitTest(in GcAABB aabb, in float2 point)
Parameters
aabb
GcAABBpoint
float2
Returns
HitTest(in GcCircle, in GcCircle)
bool HitTest(in GcCircle circle1, in GcCircle circle2)
Parameters
Returns
HitTest(in GcCircle, in float2)
GcCircle と 点の接触判定
bool HitTest(in GcCircle circle, in float2 point)
Parameters
circle
GcCirclepoint
float2
Returns
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
GcAABBdynamic
GcAABBdelta
float2hit
GcSweepResult
Returns
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
GcAABBdynamic
float2delta
float2hit
GcSweepResult