# b2RayCastInput Struct Reference

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

`#include <b2Collision.h>`

List of all members.

## 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 b2RayCastInput::maxFraction

b2Vec2 b2RayCastInput::p1

b2Vec2 b2RayCastInput::p2

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

- Box2D/Box2D/Collision/b2Collision.h