EaseCurve||doc136749

September 20, 2022

 EaseCurve

Brief Introduction

Jog curve can be used in other places besides jog animation, such as jump curve, acceleration curve, parabola, etc.

Constructor

 EaseCurve EaseCurve.newEaseType easeType )
Create an easecurve instance

Function

float Evaluatefloat time )
Get the value of the curve at a certain point in time

Code example

Create a curve with the jog type of "incubic" and output how the value of the curve changes within 1 second

--Create curve instances