Type | function |
Library | shader.* |
See Also | setPulseEasing_up() |
Visual Guide | Visual Guide |
Sets the easing functions of the contracting pulse transitions. The default setting is easing.linear
shader.setPulseEasing_down( easing.function )
List of easing functions
- easing.linear, easing.continuousLoop, easing.inSine, easing.outSine, easing.inOutSine, easing.outInSine,
- easing.inQuad, easing.outQuad, easing.inOutQuad, easing.outInQuad, easing.inCubic, easing.outCubic,
- easing.inOutCubic, easing.outInCubic, easing.inQuart, easing.outQuart, easing.inOutQuart, easing.outInQuart,
- easing.inQuint, easing.outQuint, easing.inOutQuint, easing.outInQuint, easing.inExpo, easing.outExpo,
- easing.inOutExpo, easing.outInExpo, easing.inCirc, easing.outCirc, easing.inOutCirc, easing.outInCirc,
- easing.inBack, easing.outBack, easing.inOutBack, easing.outInBack, easing.inElastic, easing.outElastic,
- easing.inOutElastic, easing.outInElastic, easing.inBounce, easing.outBounce, easing.inOutBounce, easing.outInBounce
local shader = require 'plugin.dynamic_shader'
shader.setPulseEasing_down( easing.outBack )
-- the easing function "outBack" will be applied to the contracting pulse transitions