22 INLINE
void GeomParticleRenderer::
24 nassertv(node !=
nullptr);
26 resize_pool(_pool_size);
32 INLINE
void GeomParticleRenderer::
33 set_x_scale_flag(
bool animate_x_ratio) {
34 _animate_x_ratio = animate_x_ratio;
41 INLINE
void GeomParticleRenderer::
42 set_y_scale_flag(
bool animate_y_ratio) {
43 _animate_y_ratio = animate_y_ratio;
50 INLINE
void GeomParticleRenderer::
51 set_z_scale_flag(
bool animate_z_ratio) {
52 _animate_z_ratio = animate_z_ratio;
59 INLINE
void GeomParticleRenderer::
60 set_initial_x_scale(PN_stdfloat initial_x_scale) {
61 _initial_x_scale = initial_x_scale;
68 INLINE
void GeomParticleRenderer::
69 set_final_x_scale(PN_stdfloat final_x_scale) {
70 _final_x_scale = final_x_scale;
77 INLINE
void GeomParticleRenderer::
78 set_initial_y_scale(PN_stdfloat initial_y_scale) {
79 _initial_y_scale = initial_y_scale;
86 INLINE
void GeomParticleRenderer::
87 set_final_y_scale(PN_stdfloat final_y_scale) {
88 _final_y_scale = final_y_scale;
95 INLINE
void GeomParticleRenderer::
96 set_initial_z_scale(PN_stdfloat initial_z_scale) {
97 _initial_z_scale = initial_z_scale;
104 INLINE
void GeomParticleRenderer::
105 set_final_z_scale(PN_stdfloat final_z_scale) {
106 _final_z_scale = final_z_scale;
122 get_color_interpolation_manager()
const {
123 return _color_interpolation_manager;
129 INLINE
bool GeomParticleRenderer::
130 get_x_scale_flag()
const {
131 return _animate_x_ratio;
137 INLINE
bool GeomParticleRenderer::
138 get_y_scale_flag()
const {
139 return _animate_y_ratio;
145 INLINE
bool GeomParticleRenderer::
146 get_z_scale_flag()
const {
147 return _animate_z_ratio;
153 INLINE PN_stdfloat GeomParticleRenderer::
154 get_initial_x_scale()
const {
155 return _initial_x_scale;
161 INLINE PN_stdfloat GeomParticleRenderer::
162 get_final_x_scale()
const {
163 return _final_x_scale;
169 INLINE PN_stdfloat GeomParticleRenderer::
170 get_initial_y_scale()
const {
171 return _initial_y_scale;
177 INLINE PN_stdfloat GeomParticleRenderer::
178 get_final_y_scale()
const {
179 return _final_y_scale;
185 INLINE PN_stdfloat GeomParticleRenderer::
186 get_initial_z_scale()
const {
187 return _initial_z_scale;
193 INLINE PN_stdfloat GeomParticleRenderer::
194 get_final_z_scale()
const {
195 return _final_z_scale;
A basic node of the scene graph or data graph.
High level class for color interpolation.