Search
Preparing search index...
The search index is not available
小游戏框架
Options
All
Public
Public/Protected
All
Inherited
Menu
小游戏框架
Particle
AdvancedProperty
TwoGradientsProperty
Class TwoGradientsProperty
Hierarchy
AdvancedProperty
TwoGradientsProperty
Index
Constructors
constructor
Properties
max
min
Methods
clone
get
get
Max
get
Raw
get
Uniform
get
Uniform
Array
Data
get
Uniform
Type
Constructors
constructor
new
Two
Gradients
Property
(
min
?:
GradientColor
, max
?:
GradientColor
)
:
TwoGradientsProperty
Parameters
min:
GradientColor
= ...
max:
GradientColor
= ...
Returns
TwoGradientsProperty
Properties
max
max
:
GradientColor
min
min
:
GradientColor
Methods
clone
clone
(
)
:
TwoGradientsProperty
Returns
TwoGradientsProperty
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
get
Uniform
(
colorDst1
:
Float32Array
|
number
[]
, alphaDst1
:
Float32Array
|
number
[]
, colorDst2
:
Float32Array
|
number
[]
, alphaDst2
:
Float32Array
|
number
[]
)
:
Float32Array
[]
|
number
[]
[]
Parameters
colorDst1:
Float32Array
|
number
[]
alphaDst1:
Float32Array
|
number
[]
colorDst2:
Float32Array
|
number
[]
alphaDst2:
Float32Array
|
number
[]
Returns
Float32Array
[]
|
number
[]
[]
get
Uniform
Array
Data
get
Uniform
Array
Data
(
colorDst1
?:
number
[]
, alphaDst1
?:
number
[]
, colorDst2
?:
number
[]
, alphaDst2
?:
number
[]
)
:
number
[]
[]
Parameters
Optional
colorDst1:
number
[]
Optional
alphaDst1:
number
[]
Optional
colorDst2:
number
[]
Optional
alphaDst2:
number
[]
Returns
number
[]
[]
get
Uniform
Type
get
Uniform
Type
(
colorDst1
?:
Float32Array
, alphaDst1
?:
Float32Array
, colorDst2
?:
Float32Array
, alphaDst2
?:
Float32Array
)
:
Float32Array
[]
Parameters
Optional
colorDst1:
Float32Array
Optional
alphaDst1:
Float32Array
Optional
colorDst2:
Float32Array
Optional
alphaDst2:
Float32Array
Returns
Float32Array
[]
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
One
Color
Property
Two
Colors
Property
Two
Constants
Property
Two
Curves
Property
Two
Gradients
Property
constructor
max
min
clone
get
get
Max
get
Raw
get
Uniform
get
Uniform
Array
Data
get
Uniform
Type
Generated using
TypeDoc