C# 클래스 Afterglow.Math.LinearInterpolator

Linear interpolator.
상속: IInterpolator
파일 보기 프로젝트 열기: Christof/afterglow 1 사용 예제들

공개 메소드들

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

Interpolates a value for the specified percentage.

LinearInterpolator ( float startValue, float endValue )

Initializes a new instance of the LinearInterpolator class.

메소드 상세

Interpolate() 공개 메소드

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

LinearInterpolator() 공개 메소드

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