Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
Version: 3.0 Preview
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
RatioSampler
Class RatioSampler
Hierarchy
RatioSampler
Index
Constructors
constructor
Properties
find
Ratio
ratios
Methods
sample
Constructors
constructor
new
Ratio
Sampler
(
ratios
:
number
[]
)
:
RatioSampler
Parameters
ratios:
number
[]
Returns
RatioSampler
Properties
Private
find
Ratio
find
Ratio
:
(
ratios
:
number
[]
, ratio
:
number
)
=>
number
Type declaration
(
ratios
:
number
[]
, ratio
:
number
)
:
number
Parameters
ratios:
number
[]
ratio:
number
Returns
number
ratios
ratios
:
number
[]
Methods
sample
sample
(
ratio
:
number
)
:
number
Parameters
ratio:
number
Returns
number
Globals
animation
Ratio
Sampler
constructor
find
Ratio
ratios
sample
Generated using
TypeDoc