|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Objectcommon:Generic
ck:Easing
ck:EasingBounceOut
class
class EasingBounceOut (ck.ulb:Easing){
protected:
float func doEase(float t)
float x=t*(#PI*@turns+#PI/2);
int segment=round(x/#PI);
return 1-exp(-segment/2)*abs(cos(x));
endfunc
default:
title = "Bounce Out"
float param turns
caption = "# Bounces"
default=2
endparam
}
| Constructor Summary | |
|---|---|
EasingBounceOut()
|
|
| Method Summary | |
|---|---|
protected float |
doEase(float t)
|
| Methods inherited from class ck:Easing |
|---|
Ease |
| Methods inherited from class common:Generic |
|---|
GetParent |
| Methods inherited from class Object |
|---|
|
| Constructor Detail |
|---|
public EasingBounceOut()
| Method Detail |
|---|
protected float doEase(float t)
doEase in class Easing
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||