Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.69 KB

setPulseEasing_down.markdown

File metadata and controls

38 lines (26 loc) · 1.69 KB

shader.setPulseEasing_down()

 
Type function
Library shader.*
See Also setPulseEasing_up()
Visual Guide Visual Guide

Overview

Sets the easing functions of the contracting pulse transitions. The default setting is easing.linear

Syntax

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

Examples

local shader = require 'plugin.dynamic_shader'

shader.setPulseEasing_down( easing.outBack ) 
-- the easing function "outBack" will be applied to the contracting pulse transitions