C# Class Box2DX.Common.Sweep

Show file Open project: KrugerHeavyIndustries/box2d-unity Class Usage Examples

Public Properties

Property Type Description
A0 float
C0 System.Vector2
LocalCenter System.Vector2
T0 float

Public Methods

Method Description
Advance ( float t ) : void

Advance the sweep forward, yielding a new initial state.

GetTransform ( Box2DX.Common.Transform &xf, float alpha ) : void

Get the interpolated Transform at a specific time.

Method Details

Advance() public method

Advance the sweep forward, yielding a new initial state.
public Advance ( float t ) : void
t float The new initial time.
return void

GetTransform() public method

Get the interpolated Transform at a specific time.
public GetTransform ( Box2DX.Common.Transform &xf, float alpha ) : void
xf Box2DX.Common.Transform
alpha float Alpha is a factor in [0,1], where 0 indicates t0.
return void

Property Details

A0 public property

public float A0
return float

C0 public property

public Vector2,System C0
return System.Vector2

LocalCenter public property

public Vector2,System LocalCenter
return System.Vector2

T0 public property

public float T0
return float