panda3d.physics.SparkleParticleRenderer

from panda3d.physics import SparkleParticleRenderer
class SparkleParticleRenderer

Bases: BaseParticleRenderer

pretty sparkly things.

Inheritance diagram

Inheritance diagram of SparkleParticleRenderer

__init__() → None

Default Constructor

__init__(center: LColor, edge: LColor, birth_radius: float, death_radius: float, life_scale: SparkleParticleLifeScale, alpha_mode: ParticleRendererAlphaMode) → None
__init__(copy: SparkleParticleRenderer) → None

Copy Constructor

setCenterColor(c: LColor) → None
setEdgeColor(c: LColor) → None
setBirthRadius(radius: float) → None
setDeathRadius(radius: float) → None
setLifeScale(param0: SparkleParticleLifeScale) → None
getCenterColor() → LColor
Return type

LColor

getEdgeColor() → LColor
Return type

LColor

getBirthRadius() → float
getDeathRadius() → float
getLifeScale() → SparkleParticleLifeScale
Return type

SparkleParticleLifeScale

enum SparkleParticleLifeScale
enumerator SP_NO_SCALE = 0
enumerator SP_SCALE = 1