C# Class Box2D.Common.Sweep

Afficher le fichier Open project: gerich-home/box2dnet Class Usage Examples

Méthodes publiques

Свойство Type Description
A float
A0 float
Alpha0 float
C Vec2
C0 Vec2
LocalCenter Vec2

Méthodes publiques

Méthode Description
Advance ( float alpha ) : void

Advance the sweep forward, yielding a new initial state.

GetTransform ( Transform xf, float beta ) : void

Get the interpolated transform at a specific time.

Normalize ( ) : void
Set ( Sweep argCloneFrom ) : Sweep
Sweep ( ) : System
ToString ( ) : String

Method Details

Advance() public méthode

Advance the sweep forward, yielding a new initial state.
public Advance ( float alpha ) : void
alpha float the new initial time.
Résultat void

GetTransform() public méthode

Get the interpolated transform at a specific time.
public GetTransform ( Transform xf, float beta ) : void
xf Transform the result is placed here - must not be null
beta float the normalized time in [0,1].
Résultat void

Normalize() public méthode

public Normalize ( ) : void
Résultat void

Set() public méthode

public Set ( Sweep argCloneFrom ) : Sweep
argCloneFrom Sweep
Résultat Sweep

Sweep() public méthode

public Sweep ( ) : System
Résultat System

ToString() public méthode

public ToString ( ) : String
Résultat String

Property Details

A public_oe property

World angles
public float A
Résultat float

A0 public_oe property

World angles
public float A0
Résultat float

Alpha0 public_oe property

Fraction of the current time step in the range [0,1] c0 and a0 are the positions at alpha0.
public float Alpha0
Résultat float

C public_oe property

public Vec2,Box2D.Common C
Résultat Vec2

C0 public_oe property

Center world positions
public Vec2,Box2D.Common C0
Résultat Vec2

LocalCenter public_oe property

Local center of mass position
public Vec2,Box2D.Common LocalCenter
Résultat Vec2