Garry's Mod Wiki

Revision Difference

DVScrollBar:AnimateTo#515682

<function name="AnimateTo" parent="DVScrollBar" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <description>Smoothly scrolls to given level.</description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="scroll" type="number">The scroll level to animate to. In pixels from the top ( from 0 )</arg>⤶ <arg name="length" type="number">Length of the animation in seconds</arg>⤶ <arg name="delay" type="number" default="0">Delay of the animation in seconds</arg>⤶ <arg name="ease" type="number" default="-1">See &lt;page&gt;Panel:NewAnimation&lt;/page&gt; for explanation.</arg>⤶ </args>⤶ </function>⤶ ⤶