C# Class Box2D.Collision.RayCastInput

Ray-cast input data. The ray extends from p1 to p1 + maxFraction * (p2 - p1).
Show file Open project: gerich-home/box2dnet Class Usage Examples

Public Properties

Property Type Description
MaxFraction float
P1 Box2D.Common.Vec2
P2 Box2D.Common.Vec2

Public Methods

Method Description
RayCastInput ( ) : Box2D.Common
Set ( RayCastInput rci ) : void

Method Details

RayCastInput() public method

public RayCastInput ( ) : Box2D.Common
return Box2D.Common

Set() public method

public Set ( RayCastInput rci ) : void
rci RayCastInput
return void

Property Details

MaxFraction public property

public float MaxFraction
return float

P1 public property

public Vec2,Box2D.Common P1
return Box2D.Common.Vec2

P2 public property

public Vec2,Box2D.Common P2
return Box2D.Common.Vec2