30 INLINE
void set_radius(PN_stdfloat r);
31 INLINE
void set_outer_angle(PN_stdfloat o_angle);
32 INLINE
void set_inner_angle(PN_stdfloat i_angle);
33 INLINE
void set_outer_magnitude(PN_stdfloat o_mag);
34 INLINE
void set_inner_magnitude(PN_stdfloat i_mag);
35 INLINE
void set_cubic_lerping(
bool clerp);
37 INLINE PN_stdfloat get_radius()
const;
38 INLINE PN_stdfloat get_outer_angle()
const;
39 INLINE PN_stdfloat get_inner_angle()
const;
40 INLINE PN_stdfloat get_outer_magnitude()
const;
41 INLINE PN_stdfloat get_inner_magnitude()
const;
42 INLINE
bool get_cubic_lerping()
const;
44 virtual void output(std::ostream &out)
const;
45 virtual void write(std::ostream &out,
int indent=0)
const;
51 PN_stdfloat _inner_aoe;
52 PN_stdfloat _outer_aoe;
53 PN_stdfloat _inner_magnitude;
54 PN_stdfloat _outer_magnitude;
58 PN_stdfloat _distance_from_center;
59 PN_stdfloat _sinf_theta;
60 PN_stdfloat _cosf_theta;
62 virtual void assign_initial_position(LPoint3& pos);
63 virtual void assign_initial_velocity(LVector3& vel);
68 #endif // DISCEMITTER_H virtual void write(std::ostream &out, int indent=0) const
Write a string representation of this instance to <out>.
Describes a planar disc region from which particles are generated.
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual void output(std::ostream &out) const
Write a string representation of this instance to <out>.