Cocos Creator
Manual
API Ref
Cocos2d-x
Manual
API Ref
Version: 3.2
Version: 3.5
Version: 3.4
Version: 3.3
Version: 3.1
Version: 3.0
Version: 2.4
Version: 2.3
Version: 2.2
Version: 2.1
Version: 2.0
Version: 1.10
Version: 1.9
Search
Preparing search index...
The search index is not available
CocosCreatorAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
animation
CubicSplineNumberValue
Class CubicSplineNumberValue
Hierarchy
CubicSplineNumberValue
Implements
ICubicSplineValue
<
number
>
Index
Constructors
constructor
Properties
data
Point
in
Tangent
out
Tangent
Methods
get
NoLerp
lerp
Constructors
constructor
new
Cubic
Spline
Number
Value
(
dataPoint
:
number
, inTangent
:
number
, outTangent
:
number
)
:
CubicSplineNumberValue
Parameters
dataPoint:
number
inTangent:
number
outTangent:
number
Returns
CubicSplineNumberValue
Properties
data
Point
data
Point
:
number
= 0
in
Tangent
in
Tangent
:
number
= 0
out
Tangent
out
Tangent
:
number
= 0
Methods
get
NoLerp
get
NoLerp
(
)
:
number
Returns
number
lerp
lerp
(
to
:
CubicSplineNumberValue
, t
:
number
, dt
:
number
)
:
number
Parameters
to:
CubicSplineNumberValue
t:
number
dt:
number
Returns
number
Globals
animation
Cubic
Spline
Number
Value
constructor
data
Point
in
Tangent
out
Tangent
get
NoLerp
lerp
Generated using
TypeDoc