Panda3D
ringEmitter.I
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file ringEmitter.I
10  * @author charles
11  * @date 2000-06-26
12  */
13 
14 /**
15  * radius set
16  */
17 
18 INLINE void RingEmitter::
19 set_radius(PN_stdfloat r) {
20  _radius = r;
21 }
22 
23 /**
24  * angle of elevation set
25  */
26 
27 INLINE void RingEmitter::
28 set_angle(PN_stdfloat angle) {
29  _aoe = angle;
30 }
31 
32 /**
33  * radius_spread set
34  */
35 
36 INLINE void RingEmitter::
37 set_radius_spread(PN_stdfloat spread) {
38  _radius_spread = spread;
39 }
40 
41 /**
42  * uniform_emission set
43  */
44 
45 INLINE void RingEmitter::
46 set_uniform_emission(int uniform_emission) {
47  _uniform_emission = uniform_emission;
48 }
49 
50 /**
51  * radius get
52  */
53 
54 INLINE PN_stdfloat RingEmitter::
55 get_radius() const {
56  return _radius;
57 }
58 
59 /**
60  * angle of elevation get
61  */
62 
63 INLINE PN_stdfloat RingEmitter::
64 get_angle() const {
65  return _aoe;
66 }
67 
68 /**
69  * radius_spread get
70  */
71 
72 INLINE PN_stdfloat RingEmitter::
74  return _radius_spread;
75 }
76 
77 /**
78  * uniform_emission get
79  */
80 
81 INLINE int RingEmitter::
83  return _uniform_emission;
84 }
int get_uniform_emission() const
uniform_emission get
Definition: ringEmitter.I:82
PN_stdfloat get_radius() const
radius get
Definition: ringEmitter.I:55
void set_radius(PN_stdfloat r)
radius set
Definition: ringEmitter.I:19
PN_stdfloat get_angle() const
angle of elevation get
Definition: ringEmitter.I:64
void set_radius_spread(PN_stdfloat spread)
radius_spread set
Definition: ringEmitter.I:37
PN_stdfloat get_radius_spread() const
radius_spread get
Definition: ringEmitter.I:73
void set_uniform_emission(int uniform_emission)
uniform_emission set
Definition: ringEmitter.I:46
void set_angle(PN_stdfloat angle)
angle of elevation set
Definition: ringEmitter.I:28