ck
Class Easing

Object
  extended by common:Generic
      extended by ck:Easing
Direct Known Subclasses:
EasingBounceOut, EasingSineIn, EasingSineInOut, EasingSineOut

class 
Generic:Easing

This class defines an easing function, This Class Has only one function Ease(x) where x is in the range of 0..1 The return value is the eased version of the input value


Ultra Fractal Source

Toggle UF Source Code Display

 class Easing (common.ulb:Generic){
 ; This class defines an easing function,
 ; This Class Has only one function
 ; Ease(x) where x is in the range of 0..1
 ; The return value is the eased version of the input value
 
 
 public:
        func Easing(Generic pparent)
               Generic.Generic(pparent)
        endfunc
 
 
 
        float func Ease(float x)
 
              return doEase(x);
 
        endfunc
 
 
 protected:
        float func doEase(float t)
 
              return t;
 
        endfunc
 
 
        default:
 
   title = "Ease None"
 
 
 
 
 }
 


Constructor Summary
Easing()
           
Easing(Generic pparent)
           
 
Method Summary
protected  float doEase(float t)
           
 float Ease(float x)
           
 
Methods inherited from class common:Generic
GetParent
 
Methods inherited from class Object
 

Constructor Detail

Easing

public Easing(Generic pparent)

Easing

public Easing()
Method Detail

Ease

public float Ease(float x)

doEase

protected float doEase(float t)