C# Класс Box2D.Common.Sweep

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
A float
A0 float
Alpha0 float
C Vec2
C0 Vec2
LocalCenter Vec2

Открытые методы

Метод Описание
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

Описание методов

Advance() публичный Метод

Advance the sweep forward, yielding a new initial state.
public Advance ( float alpha ) : void
alpha float the new initial time.
Результат void

GetTransform() публичный Метод

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].
Результат void

Normalize() публичный Метод

public Normalize ( ) : void
Результат void

Set() публичный Метод

public Set ( Sweep argCloneFrom ) : Sweep
argCloneFrom Sweep
Результат Sweep

Sweep() публичный Метод

public Sweep ( ) : System
Результат System

ToString() публичный Метод

public ToString ( ) : String
Результат String

Описание свойств

A публичное свойство

World angles
public float A
Результат float

A0 публичное свойство

World angles
public float A0
Результат float

Alpha0 публичное свойство

Fraction of the current time step in the range [0,1] c0 and a0 are the positions at alpha0.
public float Alpha0
Результат float

C публичное свойство

public Vec2,Box2D.Common C
Результат Vec2

C0 публичное свойство

Center world positions
public Vec2,Box2D.Common C0
Результат Vec2

LocalCenter публичное свойство

Local center of mass position
public Vec2,Box2D.Common LocalCenter
Результат Vec2