Cocos Creator
Manual
API Ref
Cocos2d-x
Manual
API Ref
Version: 3.1
Version: 3.5
Version: 3.4
Version: 3.3
Version: 3.2
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
ICurveInstance
Class ICurveInstance
Hierarchy
ICurveInstance
Index
Constructors
constructor
Properties
_bound
Target
_curve
_curve
Detail
_root
Target
Property
common
Target
Index
Accessors
curve
Detail
property
Name
Methods
set
Value
apply
Sample
Constructors
constructor
newICurve
Instance
(
runtimeCurve
:
Omit
<
IRuntimeCurve
,
"sampler"
>
, target
:
any
, boundTarget
:
IBoundTarget
)
:
ICurveInstance
Parameters
runtimeCurve:
Omit
<
IRuntimeCurve
,
"sampler"
>
target:
any
boundTarget:
IBoundTarget
Returns
ICurveInstance
Properties
Private
_bound
Target
_bound
Target
:
IBoundTarget
Private
_curve
_curve
:
AnimCurve
Private
_curve
Detail
_curve
Detail
:
Omit
<
IRuntimeCurve
,
"sampler"
>
Private
Optional
_root
Target
Property
_root
Target
Property
:
undefined
|
string
Optional
common
Target
Index
common
Target
Index
:
undefined
|
number
Accessors
curve
Detail
get
curveDetail
(
)
:
{}
Returns
{}
property
Name
get
propertyName
(
)
:
string
Returns
string
Methods
Private
set
Value
set
Value
(
value
:
any
, weight
:
number
)
:
void
Parameters
value:
any
weight:
number
Returns
void
apply
Sample
apply
Sample
(
ratio
:
number
, index
:
number
, lerpRequired
:
boolean
, samplerResultCache
:
any
, weight
:
number
)
:
void
Parameters
ratio:
number
index:
number
lerpRequired:
boolean
samplerResultCache:
any
weight:
number
Returns
void
Globals
animation
ICurve
Instance
constructor
_bound
Target
_curve
_curve
Detail
_root
Target
Property
common
Target
Index
curve
Detail
property
Name
set
Value
apply
Sample
Generated using
TypeDoc