- Home /
iTween list of easeTypes
I'm using iTween ValueTo to tween a value and I keep getting a unsupported ease type supplied when I use ease type easeIn and easeOut? I only managed to get spring working. Is there a list of supported ease types somewhere?
Answer by Alan Chatham · May 10, 2011 at 04:27 AM
There's a list of them here,
http://itween.pixelplacement.com/documentation.php
and a demo of the movement of each type here (Click, and the ball moves to your cursor with the defined motion):
Answer by DannyB · Jun 23, 2012 at 04:03 PM
Actually, it looks like the list in the docs and on this demo are not the ones that are actually supported. By looking at the code, you see some are omitted (for example easeInElastic is mentioned in the docs, but I get "unsupported" when trying it, and it does not appear in the code).
Also, I found it useful to simply add a dropdown menu to the inspector, to allow you to select the easing type:
public iTween.EaseType easeType;
This is the list of enums I grabbed from iTween.cs:
easeInQuad,
easeOutQuad,
easeInOutQuad,
easeInCubic,
easeOutCubic,
easeInOutCubic,
easeInQuart,
easeOutQuart,
easeInOutQuart,
easeInQuint,
easeOutQuint,
easeInOutQuint,
easeInSine,
easeOutSine,
easeInOutSine,
easeInExpo,
easeOutExpo,
easeInOutExpo,
easeInCirc,
easeOutCirc,
easeInOutCirc,
linear,
spring,
bounce,
easeInBack,
easeOutBack,
easeInOutBack,
elastic,
punch
Answer by mischinab · Oct 08, 2018 at 01:48 PM
You can see the list of ease types here, along with a demo of how they look as well as the graph behind them:
Your answer
Follow this Question
Related Questions
iTween - Traveling around a cylinder 2 Answers
Itwen MoveTo - jump 1 Answer
What is the difference of iTween and Waypoint? 0 Answers
iTween.RotateAdd Gives Wrong Results 0 Answers
iTween.PutOnPath similar function for LeanTween or DoTween 1 Answer