C# Class UnityPlatformer.Easing

http://theinstructionlimit.com/wp-content/uploads/2009/07/Easing.cs
显示文件 Open project: llafuente/unity-platformer

Public Methods

Method Description
Ease ( double linearStep, float acceleration, EasingType type ) : float
EaseIn ( double linearStep, EasingType type ) : float
EaseInOut ( double linearStep, EasingType type ) : float
EaseInOut ( double linearStep, EasingType easeInType, EasingType easeOutType ) : float
EaseOut ( double linearStep, EasingType type ) : float

Method Details

Ease() public static method

public static Ease ( double linearStep, float acceleration, EasingType type ) : float
linearStep double
acceleration float
type EasingType
return float

EaseIn() public static method

public static EaseIn ( double linearStep, EasingType type ) : float
linearStep double
type EasingType
return float

EaseInOut() public static method

public static EaseInOut ( double linearStep, EasingType type ) : float
linearStep double
type EasingType
return float

EaseInOut() public static method

public static EaseInOut ( double linearStep, EasingType easeInType, EasingType easeOutType ) : float
linearStep double
easeInType EasingType
easeOutType EasingType
return float

EaseOut() public static method

public static EaseOut ( double linearStep, EasingType type ) : float
linearStep double
type EasingType
return float