Input parameters for ShapeCast.
More...
|
| | ShapeCastPairInput (ShapeProxy proxyA, ShapeProxy proxyB, Transform transformA, Transform transformB, Vec2 translationB, float maxFraction, bool canEncroach) |
| | Constructs a new ShapeCastPairInput object with the given parameters.
|
| |
|
| ShapeCastPairInput () |
| | Constructs a new ShapeCastPairInput object with default values.
|
| |
|
|
ShapeProxy | ProxyA |
| | The proxy for shape A.
|
| |
|
ShapeProxy | ProxyB |
| | The proxy for shape B.
|
| |
|
Transform | TransformA |
| | The world transform for shape A.
|
| |
|
Transform | TransformB |
| | The world transform for shape B.
|
| |
|
Vec2 | TranslationB |
| | The translation of shape B.
|
| |
|
float | MaxFraction |
| | The fraction of the translation to consider, typically 1.
|
| |
|
|
bool | CanEncroach [get, set] |
| | Allows shapes with a radius to move slightly closer if already touching.
|
| |
Input parameters for ShapeCast.
◆ ShapeCastPairInput()
Constructs a new ShapeCastPairInput object with the given parameters.
- Parameters
-
| proxyA | The proxy for shape A |
| proxyB | The proxy for shape B |
| transformA | The world transform for shape A |
| transformB | The world transform for shape B |
| translationB | The translation of shape B |
| maxFraction | The fraction of the translation to consider, typically 1 |
| canEncroach | Allows shapes with a radius to move slightly closer if already touching |
The documentation for this struct was generated from the following file:
- src/Box2DBindings/RayCasting/ShapeCastPairInput.cs