Garry's Mod Wiki

Revision Difference

math.ease.InOutBounce#546479

<function name="InOutBounce" parent="math.ease" type="libraryfunc">⤶ <description>Eases in and out like a bouncy ball.⤶ <note>This doesn't work properly when used with <page>Global.Lerp</page> as it clamps the fraction between 0 and 1. Using your own version of <page>Global.Lerp</page> that is unclamped would be necessary instead.</note>⤶ </description>⤶ <realm>Shared and Menu</realm>⤶ <file line="187-L191">lua/includes/extensions/math/ease.lua</file>⤶ <args>⤶ <arg name="fraction" type="number">Fraction of the progress to ease, from 0 to 1</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="number">"Eased" Value</ret>⤶ </rets>⤶ </function>