Search
Preparing search index...
The search index is not available
小游戏框架
Options
All
Public
Public/Protected
All
Inherited
Menu
小游戏框架
Particle
AdvancedProperty
ConstantProperty
Class ConstantProperty
Hierarchy
AdvancedProperty
ConstantProperty
Index
Constructors
constructor
Properties
value
Methods
clone
get
get
Max
get
Raw
get
Uniform
Array
Data
get
Uniform
Type
Constructors
constructor
new
Constant
Property
(
value
?:
number
)
:
ConstantProperty
Parameters
value:
number
= 0
Returns
ConstantProperty
Properties
value
value
:
number
= 0
常数值
memberof
ConstantProperty
Methods
clone
clone
(
)
:
ConstantProperty
Returns
ConstantProperty
get
get
(
t
?:
number
)
:
number
Parameters
Optional
t:
number
Returns
number
get
Max
get
Max
(
)
:
number
获取最大值,也就是常数值本身
memberof
ConstantProperty
Returns
number
get
Raw
get
Raw
(
dst
?:
Float32Array
)
:
Float32Array
把value赋给一个dst中的第一个值
memberof
ConstantProperty
Parameters
Optional
dst:
Float32Array
Returns
Float32Array
get
Uniform
Array
Data
get
Uniform
Array
Data
(
dst
?:
number
[]
)
:
number
[]
Parameters
Optional
dst:
number
[]
Returns
number
[]
get
Uniform
Type
get
Uniform
Type
(
dst
?:
Float32Array
)
:
Float32Array
Parameters
Optional
dst:
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
constructor
value
clone
get
get
Max
get
Raw
get
Uniform
Array
Data
get
Uniform
Type
Curve
Property
Gradient
Property
One
Color
Property
Two
Colors
Property
Two
Constants
Property
Two
Curves
Property
Two
Gradients
Property
Generated using
TypeDoc
常数值
ConstantProperty