Panda3D
|
Public Types | |
enum | PointParticleBlendType { PP_ONE_COLOR = 0, PP_BLEND_LIFE = 1, PP_BLEND_VEL = 2 } |
![]() | |
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__ (BaseParticleRenderer::ParticleRendererAlphaMode ad, float point_size, PointParticleRenderer::PointParticleBlendType bt, BaseParticleRenderer::ParticleRendererBlendMethod bm, const LColor sc, const LColor ec) | |
special constructor More... | |
__init__ (const PointParticleRenderer copy) | |
Copy constructor. More... | |
BaseParticleRenderer::ParticleRendererBlendMethod | getBlendMethod () |
PointParticleRenderer::PointParticleBlendType | getBlendType () |
const LColor | getEndColor () |
float | getPointSize () |
const LColor | getStartColor () |
setBlendMethod (BaseParticleRenderer::ParticleRendererBlendMethod bm) | |
setBlendType (PointParticleRenderer::PointParticleBlendType bt) | |
setEndColor (const LColor ec) | |
setPointSize (float point_size) | |
setStartColor (const LColor sc) | |
![]() | |
BaseParticleRenderer::ParticleRendererAlphaMode | getAlphaMode () |
bool | getIgnoreScale () |
Returns the "ignore scale" flag. More... | |
GeomNode | getRenderNode () |
Query the geomnode pointer. More... | |
NodePath | getRenderNodePath () |
Query the geomnode pointer. More... | |
float | getUserAlpha () |
gets alpha for "user" alpha mode More... | |
output (Ostream out) | |
Write a string representation of this instance to <out>. More... | |
setAlphaMode (BaseParticleRenderer::ParticleRendererAlphaMode am) | |
setColorBlendMode (ColorBlendAttrib::Mode bm, ColorBlendAttrib::Operand oa, ColorBlendAttrib::Operand ob) | |
sets the ColorBlendAttrib on the _render_node More... | |
setIgnoreScale (bool ignore_scale) | |
Sets the "ignore scale" flag. More... | |
setUserAlpha (float ua) | |
sets alpha for "user" alpha mode More... | |
write (Ostream out, int indent) | |
Write a string representation of this instance to <out>. More... | |
![]() | |
int | getRefCount () |
Returns the current reference count. More... | |
ref () | |
Explicitly increments the reference count. More... | |
bool | testRefCountIntegrity () |
Does some easy checks to make sure that the reference count isn't completely bogus. More... | |
bool | testRefCountNonzero () |
Does some easy checks to make sure that the reference count isn't zero, or completely bogus. More... | |
bool | unref () |
Explicitly decrements the reference count. More... | |
Additional Inherited Members | |
![]() | |
static TypeHandle | getClassType () |
![]() | |
int | ref_count |
The current reference count. More... | |
__init__ | ( | BaseParticleRenderer::ParticleRendererAlphaMode | ad, |
float | point_size, | ||
PointParticleRenderer::PointParticleBlendType | bt, | ||
BaseParticleRenderer::ParticleRendererBlendMethod | bm, | ||
const LColor | sc, | ||
const LColor | ec | ||
) |
special constructor
__init__ | ( | const PointParticleRenderer | copy | ) |
Copy constructor.
BaseParticleRenderer::ParticleRendererBlendMethod getBlendMethod | ( | ) |
PointParticleRenderer::PointParticleBlendType getBlendType | ( | ) |
const LColor getEndColor | ( | ) |
float getPointSize | ( | ) |
const LColor getStartColor | ( | ) |
setBlendMethod | ( | BaseParticleRenderer::ParticleRendererBlendMethod | bm | ) |
setBlendType | ( | PointParticleRenderer::PointParticleBlendType | bt | ) |
setEndColor | ( | const LColor | ec | ) |
setPointSize | ( | float | point_size | ) |
setStartColor | ( | const LColor | sc | ) |