Search
Preparing search index...
The search index is not available
小游戏框架
Options
All
Public
Public/Protected
All
Inherited
Menu
小游戏框架
Particle
AdvancedProperty
GradientProperty
Class GradientProperty
Hierarchy
AdvancedProperty
GradientProperty
Index
Constructors
constructor
Properties
g
Color
Methods
clone
get
get
Max
get
Raw
get
Uniform
Array
Data
get
Uniform
Type
init
Gradient
Property
Constructors
constructor
new
Gradient
Property
(
gColor
?:
GradientColor
)
:
GradientProperty
Parameters
gColor:
GradientColor
= ...
Returns
GradientProperty
Properties
g
Color
g
Color
:
GradientColor
Methods
clone
clone
(
)
:
GradientProperty
Returns
GradientProperty
get
get
(
percent
:
number
)
:
Color
Parameters
percent:
number
Returns
Color
get
Max
get
Max
(
)
:
any
Returns
any
get
Raw
get
Raw
(
dst
?:
Float32Array
)
:
Float32Array
Parameters
Optional
dst:
Float32Array
Returns
Float32Array
get
Uniform
Array
Data
get
Uniform
Array
Data
(
colorDst
?:
number
[]
, alphaDst
?:
number
[]
)
:
number
[]
[]
Parameters
Optional
colorDst:
number
[]
Optional
alphaDst:
number
[]
Returns
number
[]
[]
get
Uniform
Type
get
Uniform
Type
(
colorDst
?:
Float32Array
, alphaDst
?:
Float32Array
)
:
Float32Array
[]
Parameters
Optional
colorDst:
Float32Array
Optional
alphaDst:
Float32Array
Returns
Float32Array
[]
Static
init
Gradient
Property
init
Gradient
Property
(
)
:
GradientProperty
Returns
GradientProperty
Exports
Particle
Advanced
Property
Particle
Color
ByLife
Particle
Common
Particle
Emitter
Particle
Emitter
Shape
Particle
Renderer
Particle
Rotation
ByLife
Particle
Size
ByLife
Particle
Speed
ByLife
Particle
Speed
Limit
ByLife
Particle
Texture
Sheet
Animation
Constant
Property
Curve
Property
Gradient
Property
constructor
g
Color
clone
get
get
Max
get
Raw
get
Uniform
Array
Data
get
Uniform
Type
init
Gradient
Property
One
Color
Property
Two
Colors
Property
Two
Constants
Property
Two
Curves
Property
Two
Gradients
Property
Generated using
TypeDoc