Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Attributes | List of all members
b2RayCastInput Struct Reference

Ray-cast input data. The ray extends from p1 to p1 + maxFraction * (p2 - p1). More...

`#include <b2Collision.h>`

## Public Attributes
b2Vec2 | p1
b2Vec2 | p2
float32 | maxFraction

## Detailed Description

Ray-cast input data. The ray extends from p1 to p1 + maxFraction * (p2 - p1).

## Member Data Documentation

float32 maxFraction

b2Vec2 p1

b2Vec2 p2

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

- Box2D/Collision/b2Collision.h