14 #ifndef LINEPARTICLERENDERER_H
15 #define LINEPARTICLERENDERER_H
37 ParticleRendererAlphaMode alpha_mode);
45 INLINE
void set_head_color(
const LColor& c);
46 INLINE
void set_tail_color(
const LColor& c);
48 INLINE
const LColor& get_head_color()
const;
49 INLINE
const LColor& get_tail_color()
const;
51 INLINE
void set_line_scale_factor(PN_stdfloat sf);
52 INLINE PN_stdfloat get_line_scale_factor()
const;
54 virtual void output(std::ostream &out)
const;
55 virtual void write(std::ostream &out,
int indent_level = 0)
const;
61 PT(
Geom) _line_primitive;
70 PN_stdfloat _line_scale_factor;
72 virtual void birth_particle(
int index);
73 virtual void kill_particle(
int index);
74 virtual void init_geoms();
77 virtual void resize_pool(
int new_size);
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Pure virtual particle renderer base class.
virtual void output(std::ostream &out) const
Write a string representation of this instance to <out>.
virtual void write(std::ostream &out, int indent=0) const
Write a string representation of this instance to <out>.
Defines a series of disconnected line segments.
This defines the actual numeric vertex data stored in a Geom, in the structure defined by a particula...
A container for geometry primitives.
renders a line from last position to current position – good for rain, sparks, etc.
A lightweight class that represents a single element that may be timed and/or counted via stats.
A body on which physics will be applied.
This is our own Panda specialization on the default STL vector.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.