Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
Version: 1.2
Version: 1.0
Version: 1.1
Version: 1.2
Search
Preparing search index...
The search index is not available
Creator3dAPI
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