Panda3D
|
pretty sparkly things. More...
#include <pandadoc.hpp>
Public Types | |
enum | SparkleParticleLifeScale { SP_NO_SCALE = 0 , SP_SCALE = 1 } |
![]() | |
enum | ParticleRendererAlphaMode { PR_ALPHA_NONE = 0 , PR_ALPHA_OUT = 1 , PR_ALPHA_IN = 2 , PR_ALPHA_IN_OUT = 3 , PR_ALPHA_USER = 4 , PR_NOT_INITIALIZED_YET = 5 } |
enum | ParticleRendererBlendMethod { PP_NO_BLEND = 0 , PP_BLEND_LINEAR = 1 , PP_BLEND_CUBIC = 2 } |
Public Member Functions | |
__init__ () | |
Default Constructor. | |
__init__ (const LColor center, const LColor edge, float birth_radius, float death_radius, SparkleParticleRenderer::SparkleParticleLifeScale life_scale, BaseParticleRenderer::ParticleRendererAlphaMode alpha_mode) | |
__init__ (const SparkleParticleRenderer copy) | |
Copy Constructor. | |
float | getBirthRadius () |
const LColor | getCenterColor () |
float | getDeathRadius () |
const LColor | getEdgeColor () |
SparkleParticleRenderer::SparkleParticleLifeScale | getLifeScale () |
setBirthRadius (float radius) | |
setCenterColor (const LColor c) | |
setDeathRadius (float radius) | |
setEdgeColor (const LColor c) | |
setLifeScale (SparkleParticleRenderer::SparkleParticleLifeScale) | |
![]() | |
BaseParticleRenderer::ParticleRendererAlphaMode | getAlphaMode () |
bool | getIgnoreScale () |
Returns the "ignore scale" flag. | |
GeomNode | getRenderNode () |
Query the geomnode pointer. | |
NodePath | getRenderNodePath () |
Query the geomnode pointer. | |
float | getUserAlpha () |
gets alpha for "user" alpha mode | |
output (Ostream out) | |
Write a string representation of this instance to <out>. | |
setAlphaMode (BaseParticleRenderer::ParticleRendererAlphaMode am) | |
setColorBlendMode (ColorBlendAttrib::Mode bm, ColorBlendAttrib::Operand oa, ColorBlendAttrib::Operand ob) | |
sets the ColorBlendAttrib on the _render_node | |
setIgnoreScale (bool ignore_scale) | |
Sets the "ignore scale" flag. | |
setUserAlpha (float ua) | |
sets alpha for "user" alpha mode | |
write (Ostream out, int indent) | |
Write a string representation of this instance to <out>. | |
![]() | |
int | getRefCount () |
Returns the current reference count. | |
ref () | |
Explicitly increments the reference count. | |
bool | testRefCountIntegrity () |
Does some easy checks to make sure that the reference count isn't completely bogus. | |
bool | testRefCountNonzero () |
Does some easy checks to make sure that the reference count isn't zero, or completely bogus. | |
bool | unref () |
Explicitly decrements the reference count. | |
Additional Inherited Members | |
![]() | |
static TypeHandle | getClassType () |
![]() | |
int | ref_count |
The current reference count. | |
pretty sparkly things.
__init__ | ( | ) |
Default Constructor.
__init__ | ( | const LColor | center, |
const LColor | edge, | ||
float | birth_radius, | ||
float | death_radius, | ||
SparkleParticleRenderer::SparkleParticleLifeScale | life_scale, | ||
BaseParticleRenderer::ParticleRendererAlphaMode | alpha_mode ) |
__init__ | ( | const SparkleParticleRenderer | copy | ) |
Copy Constructor.
float getBirthRadius | ( | ) |
const LColor getCenterColor | ( | ) |
float getDeathRadius | ( | ) |
const LColor getEdgeColor | ( | ) |
SparkleParticleRenderer::SparkleParticleLifeScale getLifeScale | ( | ) |
setBirthRadius | ( | float | radius | ) |
setCenterColor | ( | const LColor | c | ) |
setDeathRadius | ( | float | radius | ) |
setEdgeColor | ( | const LColor | c | ) |
setLifeScale | ( | SparkleParticleRenderer::SparkleParticleLifeScale | ) |