@JsType(isNative=true, namespace="Cesium", name="Particle") public class Particle extends Object
ParticleSystem
.Modifier and Type | Field and Description |
---|---|
double |
age
Gets the age of the particle in seconds.
|
Color |
endColor
The color of a particle when it dies.
|
double |
endScale
The scale of the particle when it dies.
|
Object |
image
The URI, HTMLImageElement, or HTMLCanvasElement to use for the billboard.
|
double |
life
The life of particles in seconds.
|
double |
mass
The mass of particles in kilograms.
|
double |
normalizedAge
Gets the age normalized to a value in the range [0.0, 1.0].
|
Cartesian3 |
position
The initial position of the particle in world coordinates.
|
Cartesian2 |
size
The dimensions of particles in pixels.
|
Color |
startColor
The color of a particle when it is born.
|
double |
startScale
The scale of the particle when it is born.
|
Cartesian3 |
velocity
The velocity vector of the particle in world coordinates.
|
Constructor and Description |
---|
Particle(ParticleOptions options) |
@JsProperty public double age
@JsProperty public double mass
@JsProperty public Cartesian3 position
Cartesian3.ZERO()
@JsProperty public Cartesian3 velocity
Cartesian3.ZERO()
@JsProperty public double life
@JsProperty public Object image
@JsProperty public Color startColor
Color.WHITE()
@JsProperty public Color endColor
Color.WHITE()
@JsProperty public double startScale
@JsProperty public double endScale
@JsProperty public Cartesian2 size
@JsProperty public double normalizedAge
@JsConstructor public Particle(ParticleOptions options)
Copyright © 2019. All rights reserved.