67set_color_blend_mode(ColorBlendAttrib::Mode bm, ColorBlendAttrib::Operand oa, ColorBlendAttrib::Operand ob) {
69 if(bm == ColorBlendAttrib::M_add || bm == ColorBlendAttrib::M_subtract || bm == ColorBlendAttrib::M_inv_subtract) {
70 ra = ColorBlendAttrib::make(bm,oa,ob);
72 ra = ColorBlendAttrib::make(bm);
75 _render_node->set_attrib(ra);
GeomNode * get_render_node() const
Query the geomnode pointer.
NodePath get_render_node_path() const
Query the geomnode pointer.
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
bool get_ignore_scale() const
Returns the "ignore scale" flag.
PN_stdfloat get_user_alpha() const
gets alpha for "user" alpha mode
void set_user_alpha(PN_stdfloat ua)
sets alpha for "user" alpha mode
An individual, physically-modelable particle abstract base class.