Property | Defined by | ||
---|---|---|---|
maxFraction : Number
Truncate the ray to reach up to this fraction from p1 to p2
| b2RayCastInput | ||
p1 : b2Vec2
The start point of the ray
| b2RayCastInput | ||
p2 : b2Vec2
The end point of the ray
| b2RayCastInput |
Method | Defined by | ||
---|---|---|---|
b2RayCastInput |
maxFraction | property |
public var maxFraction:Number
Truncate the ray to reach up to this fraction from p1 to p2
p1 | property |
public var p1:b2Vec2
The start point of the ray
p2 | property |
public var p2:b2Vec2
The end point of the ray
b2RayCastInput | () | constructor |
public function b2RayCastInput(p1:b2Vec2 = null, p2:b2Vec2 = null, maxFraction:Number = 1)
Parameters
p1:b2Vec2 (default = null )
|
|
p2:b2Vec2 (default = null )
|
|
maxFraction:Number (default = 1 )
|