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()}.
파일 보기 프로젝트 열기: gerich-home/box2dnet 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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