Panda3D
Public Member Functions | List of all members
GeomParticleRenderer Class Reference
Inheritance diagram for GeomParticleRenderer:
BaseParticleRenderer ReferenceCount MemoryBase

Public Member Functions

 __init__ (BaseParticleRenderer::ParticleRendererAlphaMode am, PandaNode geom_node)
 
 __init__ (const GeomParticleRenderer copy)
 
ColorInterpolationManager getColorInterpolationManager ()
 
float getFinalXScale ()
 
float getFinalYScale ()
 
float getFinalZScale ()
 
PandaNode getGeomNode ()
 
float getInitialXScale ()
 
float getInitialYScale ()
 
float getInitialZScale ()
 
bool getXScaleFlag ()
 
bool getYScaleFlag ()
 
bool getZScaleFlag ()
 
 setFinalXScale (float final_x_scale)
 
 setFinalYScale (float final_y_scale)
 
 setFinalZScale (float final_z_scale)
 
 setGeomNode (PandaNode node)
 
 setInitialXScale (float initial_x_scale)
 
 setInitialYScale (float initial_y_scale)
 
 setInitialZScale (float initial_z_scale)
 
 setXScaleFlag (bool animate_x_ratio)
 
 setYScaleFlag (bool animate_y_ratio)
 
 setZScaleFlag (bool animate_z_ratio)
 
- Public Member Functions inherited from BaseParticleRenderer
BaseParticleRenderer::ParticleRendererAlphaMode getAlphaMode ()
 
bool getIgnoreScale ()
 Returns the "ignore scale" flag. See set_ignore_scale(). 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. When this is true, particles will be drawn as if they had no scale, regardless of whatever scale might be inherited from above the render node in the scene graph. 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...
 
- Public Member Functions inherited from ReferenceCount
int getRefCount ()
 Returns the current reference count. More...
 
 ref ()
 Explicitly increments the reference count. User code should avoid using ref() and unref() directly, which can result in missed reference counts. Instead, let a PointerTo object manage the reference counting automatically. More...
 
bool testRefCountIntegrity ()
 Does some easy checks to make sure that the reference count isn't completely bogus. Returns true if ok, false otherwise. More...
 
bool testRefCountNonzero ()
 Does some easy checks to make sure that the reference count isn't zero, or completely bogus. Returns true if ok, false otherwise. More...
 
bool unref ()
 Explicitly decrements the reference count. Note that the object will not be implicitly deleted by unref() simply because the reference count drops to zero. (Having a member function delete itself is problematic.) However, see the helper function unref_delete(). More...
 

Additional Inherited Members

- Public Types inherited from BaseParticleRenderer
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 }
 
- Static Public Member Functions inherited from ReferenceCount
static TypeHandle getClassType ()
 

Member Function Documentation

◆ __init__() [1/2]

◆ __init__() [2/2]

__init__ ( const GeomParticleRenderer  copy)

◆ getColorInterpolationManager()

ColorInterpolationManager getColorInterpolationManager ( )

◆ getFinalXScale()

float getFinalXScale ( )

◆ getFinalYScale()

float getFinalYScale ( )

◆ getFinalZScale()

float getFinalZScale ( )

◆ getGeomNode()

PandaNode getGeomNode ( )

◆ getInitialXScale()

float getInitialXScale ( )

◆ getInitialYScale()

float getInitialYScale ( )

◆ getInitialZScale()

float getInitialZScale ( )

◆ getXScaleFlag()

bool getXScaleFlag ( )

◆ getYScaleFlag()

bool getYScaleFlag ( )

◆ getZScaleFlag()

bool getZScaleFlag ( )

◆ setFinalXScale()

setFinalXScale ( float  final_x_scale)

◆ setFinalYScale()

setFinalYScale ( float  final_y_scale)

◆ setFinalZScale()

setFinalZScale ( float  final_z_scale)

◆ setGeomNode()

setGeomNode ( PandaNode  node)

◆ setInitialXScale()

setInitialXScale ( float  initial_x_scale)

◆ setInitialYScale()

setInitialYScale ( float  initial_y_scale)

◆ setInitialZScale()

setInitialZScale ( float  initial_z_scale)

◆ setXScaleFlag()

setXScaleFlag ( bool  animate_x_ratio)

◆ setYScaleFlag()

setYScaleFlag ( bool  animate_y_ratio)

◆ setZScaleFlag()

setZScaleFlag ( bool  animate_z_ratio)