Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
panda
src
particlesystem
lineParticleRenderer.I
1
// Filename: lineParticleRenderer.I
2
// Created by: darren (06Oct00)
3
//
4
////////////////////////////////////////////////////////////////////
5
//
6
// PANDA 3D SOFTWARE
7
// Copyright (c) Carnegie Mellon University. All rights reserved.
8
//
9
// All use of this software is subject to the terms of the revised BSD
10
// license. You should have received a copy of this license along
11
// with this source code in a file named "LICENSE."
12
//
13
////////////////////////////////////////////////////////////////////
14
15
////////////////////////////////////////////////////////////////////
16
// Function : set_head_color
17
// Access : public
18
////////////////////////////////////////////////////////////////////
19
INLINE
void
LineParticleRenderer::
20
set_head_color(
const
LColor
& c) {
21
_head_color = c;
22
}
23
24
////////////////////////////////////////////////////////////////////
25
// Function : set_tail_color
26
// Access : public
27
////////////////////////////////////////////////////////////////////
28
INLINE
void
LineParticleRenderer::
29
set_tail_color(
const
LColor
& c) {
30
_tail_color = c;
31
}
32
33
////////////////////////////////////////////////////////////////////
34
// Function : get_head_color
35
// Access : public
36
////////////////////////////////////////////////////////////////////
37
INLINE
const
LColor
& LineParticleRenderer::
38
get_head_color()
const
{
39
return
_head_color;
40
}
41
42
////////////////////////////////////////////////////////////////////
43
// Function : get_tail_color
44
// Access : public
45
////////////////////////////////////////////////////////////////////
46
INLINE
const
LColor
& LineParticleRenderer::
47
get_tail_color()
const
{
48
return
_tail_color;
49
}
50
51
////////////////////////////////////////////////////////////////////
52
// Function : set_line_scale_factor
53
// Description : accessor
54
////////////////////////////////////////////////////////////////////
55
INLINE
void
LineParticleRenderer::
56
set_line_scale_factor
(PN_stdfloat sf) {
57
_line_scale_factor = sf;
58
}
59
60
////////////////////////////////////////////////////////////////////
61
// Function : get_line_scale_factor
62
// Description : accessor
63
////////////////////////////////////////////////////////////////////
64
INLINE PN_stdfloat
LineParticleRenderer::
65
get_line_scale_factor
()
const
{
66
return
_line_scale_factor;
67
}
68
LineParticleRenderer::set_line_scale_factor
void set_line_scale_factor(PN_stdfloat sf)
accessor
Definition:
lineParticleRenderer.I:56
LVecBase4f
This is the base class for all three-component vectors and points.
Definition:
lvecBase4.h:111
LineParticleRenderer::get_line_scale_factor
PN_stdfloat get_line_scale_factor() const
accessor
Definition:
lineParticleRenderer.I:65
Generated on Mon Feb 1 2016 13:44:31 for Panda3D by
1.8.5