C# 클래스 Nez.Tweens.EaseHelper

helper with a single method that takes in an EaseType and applies that ease equation with the given duration and time parameters. We do this to avoid passing around Funcs which create bogs of trash for the garbage collector (function pointers please!)
파일 보기 프로젝트 열기: prime31/Nez 1 사용 예제들

공개 메소드들

메소드 설명
ease ( EaseType easeType, float t, float duration ) : float
oppositeEaseType ( EaseType easeType ) : EaseType

returns the opposite EaseType of easeType

메소드 상세

ease() 공개 정적인 메소드

public static ease ( EaseType easeType, float t, float duration ) : float
easeType EaseType
t float
duration float
리턴 float

oppositeEaseType() 공개 정적인 메소드

returns the opposite EaseType of easeType
public static oppositeEaseType ( EaseType easeType ) : EaseType
easeType EaseType Ease type.
리턴 EaseType