C# Class Box2D.Collision.RayCastOutput

Ray-cast output data. The ray hits at p1 + fraction * (p2 - p1), where p1 and p2 come from b2RayCastInput.
Mostrar archivo Open project: gerich-home/box2dnet Class Usage Examples

Public Properties

Property Type Description
Fraction float
Normal Box2D.Common.Vec2

Public Methods

Method Description
RayCastOutput ( ) : Box2D.Common
Set ( RayCastOutput rco ) : void

Method Details

RayCastOutput() public method

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

Set() public method

public Set ( RayCastOutput rco ) : void
rco RayCastOutput
return void

Property Details

Fraction public_oe property

public float Fraction
return float

Normal public_oe property

public Vec2,Box2D.Common Normal
return Box2D.Common.Vec2