| Previous | Next | Frames (Show Nav) | No Frames |
| Summary: Field | Property | Constructor | Method | Detail: Field | Property | Constructor | Method |
Object | +--com.mosesSupposes.fuse.CustomEasing
Method Summary | |
| static | fromCurve ( t: Number, b: Number, c: Number, d: Number, pl: Array ): Number |
| Generates custom easing from an array of curve points exported by the Custom Easing Tool. | |
| static | precalced ( t: Number, b: Number, c: Number, d: Number, pl: Array ): Number |
| Returns the nearest match in an Array of precaculated values, by percent of duration completed. | |
|
| Generates custom easing from an array of curve points exported by the Custom Easing Tool. | |||||||||||||||
|
|
| Returns the nearest match in an Array of precaculated values, by percent of duration completed. | |||||||||||||||
|
To create and use custom easing you now follow two steps:
CustomEasingclass to ZigoEngine.register or ZigoEngine.simpleSetup during setup.For example if the panel outputs
var customEasing:Array = [...];, you can then usecustomEasingin place of"easeInOutQuad"or other easing string/function, and you can of course rename the variable as needed.