HughPH.Box2D
Organised dotnet bindings for Box2D 3.1.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Box2D.TOIInput Struct Reference

Input parameters for TimeOfImpact. More...

Collaboration diagram for Box2D.TOIInput:
Collaboration graph
[legend]

Public Member Functions

 TOIInput (ShapeProxy proxyA, ShapeProxy proxyB, Sweep sweepA, Sweep sweepB, float maxFraction)
 Constructs a new TOIInput object with the given parameters.
 
 TOIInput ()
 Constructs a new TOIInput object with default values.
 

Public Attributes

ShapeProxy ProxyA
 The proxy for shape A.
 
ShapeProxy ProxyB
 The proxy for shape B.
 
Sweep SweepA
 The movement of shape A.
 
Sweep SweepB
 The movement of shape B.
 
float MaxFraction
 Defines the sweep interval [0, maxFraction].
 

Detailed Description

Input parameters for TimeOfImpact.

Constructor & Destructor Documentation

◆ TOIInput()

Box2D.TOIInput.TOIInput ( ShapeProxy  proxyA,
ShapeProxy  proxyB,
Sweep  sweepA,
Sweep  sweepB,
float  maxFraction 
)
inline

Constructs a new TOIInput object with the given parameters.

Parameters
proxyAThe proxy for shape A
proxyBThe proxy for shape B
sweepAThe movement of shape A
sweepB>The movement of shape B
maxFractionDefines the sweep interval [0, maxFraction]

The documentation for this struct was generated from the following file: