ConstructorOptions

sealed interface ConstructorOptions(source)

Properties

Link copied to clipboard
abstract var endColor: Color?

The color of a particle when it dies. Default value - Color.WHITE

Link copied to clipboard
abstract var endScale: Double?

The scale of the particle when it dies. Default value - 1.0

Link copied to clipboard
abstract var image: Any?

The URI, HTMLImageElement, or HTMLCanvasElement to use for the billboard.

Link copied to clipboard
abstract var imageSize: Cartesian2?

The dimensions, width by height, to scale the particle image in pixels. Default value - Cartesian2(1.0, 1.0)

Link copied to clipboard
abstract var life: Double?

The life of the particle in seconds. Default value - Number.MAX_VALUE

Link copied to clipboard
abstract var mass: Double?

The mass of the particle in kilograms. Default value - 1.0

Link copied to clipboard
abstract var position: Cartesian3?

The initial position of the particle in world coordinates. Default value - Cartesian3.ZERO

Link copied to clipboard
abstract var startColor: Color?

The color of a particle when it is born. Default value - Color.WHITE

Link copied to clipboard
abstract var startScale: Double?

The scale of the particle when it is born. Default value - 1.0

Link copied to clipboard
abstract var velocity: Cartesian3?

The velocity vector of the particle in world coordinates. Default value - Cartesian3.ZERO