C# 클래스 Afterglow.Math.SquareInterpolator

Square interpolator
상속: IInterpolator
파일 보기 프로젝트 열기: Christof/afterglow

공개 메소드들

메소드 설명
Interpolate ( float percentage ) : float

Interpolates a value for the specified percentage.

SquareInterpolator ( float startValue, float endValue )

Initializes a new instance of the SquareInterpolator class.

메소드 상세

Interpolate() 공개 메소드

Interpolates a value for the specified percentage.
public Interpolate ( float percentage ) : float
percentage float The percentage.
리턴 float

SquareInterpolator() 공개 메소드

Initializes a new instance of the SquareInterpolator class.
public SquareInterpolator ( float startValue, float endValue )
startValue float The start value.
endValue float The end value.