C# Класс Box2D.Collision.TimeOfImpact

Class used for computing the time of impact. This class should not be constructed usually, just retrieve from the {@link SingletonPool#getTOI()}.
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
ToiCalls int
ToiIters int
ToiMaxIters int
ToiMaxRootIters int
ToiRootIters int

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

Метод Описание
GetTimeOfImpact ( TOIOutput output, TOIInput input ) : void

Compute the upper bound on time before two shapes penetrate. Time is represented as a fraction between [0,tMax]. This uses a swept separating axis and may miss some intermediate, non-tunneling collision. If you change the time interval, you should call this function again. Note: use Distance to compute the contact point and normal at the time of impact.

TimeOfImpact ( IWorldPool argPool ) : System.Diagnostics

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

GetTimeOfImpact() публичный метод

Compute the upper bound on time before two shapes penetrate. Time is represented as a fraction between [0,tMax]. This uses a swept separating axis and may miss some intermediate, non-tunneling collision. If you change the time interval, you should call this function again. Note: use Distance to compute the contact point and normal at the time of impact.
public GetTimeOfImpact ( TOIOutput output, TOIInput input ) : void
output TOIOutput
input TOIInput
Результат void

TimeOfImpact() публичный метод

public TimeOfImpact ( IWorldPool argPool ) : System.Diagnostics
argPool IWorldPool
Результат System.Diagnostics

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

ToiCalls публичное статическое свойство

public static int ToiCalls
Результат int

ToiIters публичное статическое свойство

public static int ToiIters
Результат int

ToiMaxIters публичное статическое свойство

public static int ToiMaxIters
Результат int

ToiMaxRootIters публичное статическое свойство

public static int ToiMaxRootIters
Результат int

ToiRootIters публичное статическое свойство

public static int ToiRootIters
Результат int