BaseParticleRenderer

from panda3d.physics import BaseParticleRenderer
class BaseParticleRenderer

Bases: ReferenceCount

Pure virtual particle renderer base class

Inheritance diagram

Inheritance diagram of BaseParticleRenderer

PPBLENDCUBIC = 2
PPBLENDLINEAR = 1
PPNOBLEND = 0
PP_BLEND_CUBIC = 2
PP_BLEND_LINEAR = 1
PP_NO_BLEND = 0
PRALPHAIN = 2
PRALPHAINOUT = 3
PRALPHANONE = 0
PRALPHAOUT = 1
PRALPHAUSER = 4
PRNOTINITIALIZEDYET = 5
PR_ALPHA_IN = 2
PR_ALPHA_IN_OUT = 3
PR_ALPHA_NONE = 0
PR_ALPHA_OUT = 1
PR_ALPHA_USER = 4
PR_NOT_INITIALIZED_YET = 5
__init__(*args, **kwargs)
getAlphaMode()

C++ Interface: get_alpha_mode(BaseParticleRenderer self)

/**

*/

getIgnoreScale()

C++ Interface: get_ignore_scale(BaseParticleRenderer self)

/**
  • Returns the “ignore scale” flag. See set_ignore_scale().

*/

getRenderNode()

C++ Interface: get_render_node(BaseParticleRenderer self)

/**
  • Query the geomnode pointer

*/

getRenderNodePath()

C++ Interface: get_render_node_path(BaseParticleRenderer self)

/**
  • Query the geomnode pointer

*/

getUserAlpha()

C++ Interface: get_user_alpha(BaseParticleRenderer self)

/**
  • gets alpha for “user” alpha mode

*/

get_alpha_mode()

C++ Interface: get_alpha_mode(BaseParticleRenderer self)

/**

*/

get_ignore_scale()

C++ Interface: get_ignore_scale(BaseParticleRenderer self)

/**
  • Returns the “ignore scale” flag. See set_ignore_scale().

*/

get_render_node()

C++ Interface: get_render_node(BaseParticleRenderer self)

/**
  • Query the geomnode pointer

*/

get_render_node_path()

C++ Interface: get_render_node_path(BaseParticleRenderer self)

/**
  • Query the geomnode pointer

*/

get_user_alpha()

C++ Interface: get_user_alpha(BaseParticleRenderer self)

/**
  • gets alpha for “user” alpha mode

*/

output()

C++ Interface: output(BaseParticleRenderer self, ostream out)

/**
  • Write a string representation of this instance to <out>.

*/

setAlphaMode()

C++ Interface: set_alpha_mode(const BaseParticleRenderer self, int am)

/**

*/

setColorBlendMode()

C++ Interface: set_color_blend_mode(const BaseParticleRenderer self, int bm, int oa, int ob)

/**
  • sets the ColorBlendAttrib on the _render_node

*/

setIgnoreScale()

C++ Interface: set_ignore_scale(const BaseParticleRenderer self, 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.

  • This flag is mainly useful to support legacy code that was written for a

  • very early version of Panda, whose sprite particle renderer had a bug that

  • incorrectly ignored the inherited scale.

*/

setUserAlpha()

C++ Interface: set_user_alpha(const BaseParticleRenderer self, float ua)

/**
  • sets alpha for “user” alpha mode

*/

set_alpha_mode()

C++ Interface: set_alpha_mode(const BaseParticleRenderer self, int am)

/**

*/

set_color_blend_mode()

C++ Interface: set_color_blend_mode(const BaseParticleRenderer self, int bm, int oa, int ob)

/**
  • sets the ColorBlendAttrib on the _render_node

*/

set_ignore_scale()

C++ Interface: set_ignore_scale(const BaseParticleRenderer self, 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.

  • This flag is mainly useful to support legacy code that was written for a

  • very early version of Panda, whose sprite particle renderer had a bug that

  • incorrectly ignored the inherited scale.

*/

set_user_alpha()

C++ Interface: set_user_alpha(const BaseParticleRenderer self, float ua)

/**
  • sets alpha for “user” alpha mode

*/

write()

C++ Interface: write(BaseParticleRenderer self, ostream out, int indent)

/**
  • Write a string representation of this instance to <out>.

*/