A particle emitted by a
ParticleSystem
.
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
An object with the following properties:
|
Members
Gets the age of the particle in seconds.
endColor : Color
The color of the particle when it dies.
-
Default Value:
Color.WHITE
The scale of the particle when it dies.
-
Default Value:
1.0
The image to use for the particle.
-
Default Value:
undefined
imageSize : Cartesian2
The dimensions, width by height, to scale the particle image in pixels.
-
Default Value:
new Cartesian(1.0, 1.0)
The life of the particle in seconds.
-
Default Value:
Number.MAX_VALUE
The mass of the particle in kilograms.
-
Default Value:
1.0
Gets the age normalized to a value in the range [0.0, 1.0].
position : Cartesian3
The positon of the particle in world coordinates.
-
Default Value:
Cartesian3.ZERO
startColor : Color
The color of the particle when it is born.
-
Default Value:
Color.WHITE
the scale of the particle when it is born.
-
Default Value:
1.0
velocity : Cartesian3
The velocity of the particle in world coordinates.
-
Default Value:
Cartesian3.ZERO