Panda3D
|
Public Member Functions | |
GeomParticleRenderer (ParticleRendererAlphaMode am=PR_ALPHA_NONE, PandaNode *geom_node=(PandaNode *) NULL) | |
constructor More... | |
GeomParticleRenderer (const GeomParticleRenderer ©) | |
copy constructor More... | |
virtual | ~GeomParticleRenderer () |
destructor More... | |
ColorInterpolationManager * | get_color_interpolation_manager () const |
PN_stdfloat | get_final_x_scale () const |
PN_stdfloat | get_final_y_scale () const |
PN_stdfloat | get_final_z_scale () const |
PandaNode * | get_geom_node () |
PN_stdfloat | get_initial_x_scale () const |
PN_stdfloat | get_initial_y_scale () const |
PN_stdfloat | get_initial_z_scale () const |
bool | get_x_scale_flag () const |
bool | get_y_scale_flag () const |
bool | get_z_scale_flag () const |
virtual BaseParticleRenderer * | make_copy () |
dynamic copying More... | |
virtual void | output (ostream &out) const |
Write a string representation of this instance to <out>. More... | |
void | set_final_x_scale (PN_stdfloat final_x_scale) |
void | set_final_y_scale (PN_stdfloat final_y_scale) |
void | set_final_z_scale (PN_stdfloat final_z_scale) |
void | set_geom_node (PandaNode *node) |
void | set_initial_x_scale (PN_stdfloat initial_x_scale) |
void | set_initial_y_scale (PN_stdfloat initial_y_scale) |
void | set_initial_z_scale (PN_stdfloat initial_z_scale) |
void | set_x_scale_flag (bool animate_x_ratio) |
void | set_y_scale_flag (bool animate_y_ratio) |
void | set_z_scale_flag (bool animate_z_ratio) |
virtual void | write (ostream &out, int indent=0) const |
Write a string representation of this instance to <out>. More... | |
virtual void | write_linear_forces (ostream &out, int indent=0) const |
Write a string representation of this instance to <out>. More... | |
![]() | |
virtual | ~BaseParticleRenderer () |
Destructor. More... | |
ParticleRendererAlphaMode | get_alpha_mode () const |
bool | get_ignore_scale () const |
Returns the "ignore scale" flag. More... | |
GeomNode * | get_render_node () const |
Query the geomnode pointer. More... | |
NodePath | get_render_node_path () const |
Query the geomnode pointer. More... | |
PN_stdfloat | get_user_alpha () const |
gets alpha for "user" alpha mode More... | |
void | set_alpha_mode (ParticleRendererAlphaMode am) |
void | set_color_blend_mode (ColorBlendAttrib::Mode bm, ColorBlendAttrib::Operand oa=ColorBlendAttrib::O_zero, ColorBlendAttrib::Operand ob=ColorBlendAttrib::O_zero) |
sets the ColorBlendAttrib on the _render_node More... | |
void | set_ignore_scale (bool ignore_scale) |
Sets the "ignore scale" flag. More... | |
void | set_user_alpha (PN_stdfloat ua) |
sets alpha for "user" alpha mode More... | |
![]() | |
int | get_ref_count () const |
Returns the current reference count. More... | |
WeakReferenceList * | get_weak_list () const |
Returns the WeakReferenceList associated with this ReferenceCount object. More... | |
bool | has_weak_list () const |
Returns true if this particular ReferenceCount object has a WeakReferenceList created, false otherwise. More... | |
void | local_object () |
This function should be called, once, immediately after creating a new instance of some ReferenceCount-derived object on the stack. More... | |
void | ref () const |
Explicitly increments the reference count. More... | |
bool | test_ref_count_integrity () const |
Does some easy checks to make sure that the reference count isn't completely bogus. More... | |
bool | test_ref_count_nonzero () const |
Does some easy checks to make sure that the reference count isn't zero, or completely bogus. More... | |
virtual bool | unref () const |
Explicitly decrements the reference count. More... | |
void | weak_ref (WeakPointerToVoid *ptv) |
Adds the indicated PointerToVoid as a weak reference to this object. More... | |
void | weak_unref (WeakPointerToVoid *ptv) |
Removes the indicated PointerToVoid as a weak reference to this object. More... | |
Additional Inherited Members | |
![]() | |
enum | ParticleRendererAlphaMode { PR_ALPHA_NONE, PR_ALPHA_OUT, PR_ALPHA_IN, PR_ALPHA_IN_OUT, PR_ALPHA_USER, PR_NOT_INITIALIZED_YET } |
enum | ParticleRendererBlendMethod { PP_NO_BLEND, PP_BLEND_LINEAR, PP_BLEND_CUBIC } |
![]() | |
static TypeHandle | get_class_type () |
static void | init_type () |
Definition at line 27 of file geomParticleRenderer.h.
GeomParticleRenderer::GeomParticleRenderer | ( | const GeomParticleRenderer & | copy | ) |
copy constructor
Definition at line 58 of file geomParticleRenderer.cxx.
References ~GeomParticleRenderer().
|
virtual |
destructor
Definition at line 81 of file geomParticleRenderer.cxx.
References make_copy().
Referenced by GeomParticleRenderer().
|
virtual |
dynamic copying
Implements BaseParticleRenderer.
Definition at line 92 of file geomParticleRenderer.cxx.
References GeomParticleRenderer(), PhysicsObject::get_orientation(), PhysicsObject::get_position(), BaseParticleRenderer::get_render_node(), BaseParticleRenderer::get_user_alpha(), output(), PandaNode::remove_child(), PandaNode::set_attrib(), PandaNode::set_state(), and PandaNode::set_transform().
Referenced by ~GeomParticleRenderer().
|
virtual |
Write a string representation of this instance to <out>.
Reimplemented from BaseParticleRenderer.
Definition at line 278 of file geomParticleRenderer.cxx.
References write_linear_forces().
Referenced by make_copy().
|
virtual |
Write a string representation of this instance to <out>.
Reimplemented from BaseParticleRenderer.
Definition at line 310 of file geomParticleRenderer.cxx.
References BaseParticleRenderer::write(), and write_linear_forces().
Referenced by write_linear_forces().
|
virtual |
Write a string representation of this instance to <out>.
Definition at line 291 of file geomParticleRenderer.cxx.
References write().