Lysa  0.0
Lysa 3D Engine
TransitionType Struct Reference

Detailed Description

Easing curve type constants used by Tween animations.

Lua full name: lysa.TransitionType

Properties

TransitionType LINEAR
 Constant-speed linear interpolation.
 
TransitionType IN_QUAD
 Quadratic ease-in (slow start, fast end).
 
TransitionType OUT_QUAD
 Quadratic ease-out (fast start, slow end).
 
TransitionType IN_OUT_QUAD
 Quadratic ease-in and ease-out (slow at both ends).
 
TransitionType SMOOTH
 Smooth-step (cubic Hermite) curve.
 
TransitionType IN_CUBIC
 Cubic ease-in.
 
TransitionType OUT_CUBIC
 Cubic ease-out.
 
TransitionType IN_OUT_CUBIC
 Cubic ease-in and ease-out.
 
TransitionType IN_BACK
 Ease-in with a slight overshoot at the start.
 
TransitionType OUT_BACK
 Ease-out with a slight overshoot past the target.
 

Property Documentation

Constant-speed linear interpolation.

TransitionType IN_QUAD

Quadratic ease-in (slow start, fast end).

TransitionType OUT_QUAD

Quadratic ease-out (fast start, slow end).

TransitionType IN_OUT_QUAD

Quadratic ease-in and ease-out (slow at both ends).

Smooth-step (cubic Hermite) curve.

TransitionType IN_CUBIC

Cubic ease-in.

TransitionType OUT_CUBIC

Cubic ease-out.

TransitionType IN_OUT_CUBIC

Cubic ease-in and ease-out.

TransitionType IN_BACK

Ease-in with a slight overshoot at the start.

TransitionType OUT_BACK

Ease-out with a slight overshoot past the target.