62 lines
1.4 KiB
Markdown
62 lines
1.4 KiB
Markdown
[Planck.js API Doc](../README.md) › [Globals](../globals.md) › [TOIInput](toiinput.md)
|
||
|
||
# Class: TOIInput
|
||
|
||
Input parameters for TimeOfImpact.
|
||
|
||
## Hierarchy
|
||
|
||
* **TOIInput**
|
||
|
||
## Index
|
||
|
||
### Properties
|
||
|
||
* [proxyA](toiinput.md#proxya)
|
||
* [proxyB](toiinput.md#proxyb)
|
||
* [sweepA](toiinput.md#sweepa)
|
||
* [sweepB](toiinput.md#sweepb)
|
||
* [tMax](toiinput.md#tmax)
|
||
|
||
## Properties
|
||
|
||
### proxyA
|
||
|
||
• **proxyA**: *[DistanceProxy](distanceproxy.md)* = new DistanceProxy()
|
||
|
||
*Defined in [src/collision/TimeOfImpact.ts:47](https://github.com/shakiba/planck.js/blob/acc3bd8/src/collision/TimeOfImpact.ts#L47)*
|
||
|
||
___
|
||
|
||
### proxyB
|
||
|
||
• **proxyB**: *[DistanceProxy](distanceproxy.md)* = new DistanceProxy()
|
||
|
||
*Defined in [src/collision/TimeOfImpact.ts:48](https://github.com/shakiba/planck.js/blob/acc3bd8/src/collision/TimeOfImpact.ts#L48)*
|
||
|
||
___
|
||
|
||
### sweepA
|
||
|
||
• **sweepA**: *[Sweep](sweep.md)* = new Sweep()
|
||
|
||
*Defined in [src/collision/TimeOfImpact.ts:49](https://github.com/shakiba/planck.js/blob/acc3bd8/src/collision/TimeOfImpact.ts#L49)*
|
||
|
||
___
|
||
|
||
### sweepB
|
||
|
||
• **sweepB**: *[Sweep](sweep.md)* = new Sweep()
|
||
|
||
*Defined in [src/collision/TimeOfImpact.ts:50](https://github.com/shakiba/planck.js/blob/acc3bd8/src/collision/TimeOfImpact.ts#L50)*
|
||
|
||
___
|
||
|
||
### tMax
|
||
|
||
• **tMax**: *number | undefined*
|
||
|
||
*Defined in [src/collision/TimeOfImpact.ts:52](https://github.com/shakiba/planck.js/blob/acc3bd8/src/collision/TimeOfImpact.ts#L52)*
|
||
|
||
defines sweep interval [0, tMax]
|