Panda3D
panda
src
particlesystem
lineParticleRenderer.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 lineParticleRenderer.I
10
* @author darren
11
* @date 2000-10-06
12
*/
13
14
/**
15
16
*/
17
INLINE
void
LineParticleRenderer::
18
set_head_color(
const
LColor& c) {
19
_head_color = c;
20
}
21
22
/**
23
24
*/
25
INLINE
void
LineParticleRenderer::
26
set_tail_color(
const
LColor& c) {
27
_tail_color = c;
28
}
29
30
/**
31
32
*/
33
INLINE
const
LColor& LineParticleRenderer::
34
get_head_color()
const
{
35
return
_head_color;
36
}
37
38
/**
39
40
*/
41
INLINE
const
LColor& LineParticleRenderer::
42
get_tail_color()
const
{
43
return
_tail_color;
44
}
45
46
/**
47
* accessor
48
*/
49
INLINE
void
LineParticleRenderer::
50
set_line_scale_factor
(PN_stdfloat sf) {
51
_line_scale_factor = sf;
52
}
53
54
/**
55
* accessor
56
*/
57
INLINE PN_stdfloat
LineParticleRenderer::
58
get_line_scale_factor
()
const
{
59
return
_line_scale_factor;
60
}
LineParticleRenderer::set_line_scale_factor
void set_line_scale_factor(PN_stdfloat sf)
accessor
Definition:
lineParticleRenderer.I:50
LineParticleRenderer::get_line_scale_factor
PN_stdfloat get_line_scale_factor() const
accessor
Definition:
lineParticleRenderer.I:58
Generated on Wed Jan 23 2019 21:40:08 for Panda3D by
1.8.15