ActionDirector  1.0.0
The action director's cut for rapid actions integration
ActionDirector.ActionDuration.Ease Class Reference

All possible eases for a duration action. More...

Public Types

enum  Type : int {
  none = 0, easeIn = 1, easeOut = 2, easeInOut = 3,
  expIn = 4, expOut = 5, expInOut = 6, sinIn = 7,
  sinOut = 8, sinInOut = 9, elasticIn = 10, elasticOut = 11,
  elasticInOut = 12, bounceIn = 13, bounceOut = 14, bounceInOut = 15,
  backIn = 16, backOut = 17, backInOut = 18, customCurve = 19
}
 

Public Member Functions

virtual float StepEase (float delta)
 

Public Attributes

AnimationCurve curve = AnimationCurve.Linear(0,0,1,1)
 
Type type = Type.none
 
float rate = 2.0f
 
float period = 0.3f
 

Detailed Description

All possible eases for a duration action.

This class contains all possible eases including a custom curve editable visually.

Member Data Documentation

AnimationCurve ActionDirector.ActionDuration.Ease.curve = AnimationCurve.Linear(0,0,1,1)

The custom curve for the ease of the duration. X axis is the time passing and Y is the value of the time to set

float ActionDirector.ActionDuration.Ease.period = 0.3f

The greater the period, the lesser the effet on the elasticity

float ActionDirector.ActionDuration.Ease.rate = 2.0f

The greater the rate, the greater the effect on acceleration and decelaration

Type ActionDirector.ActionDuration.Ease.type = Type.none

Select an ease to add flavor to the action.


The documentation for this class was generated from the following file: