DI-Guy C++ SDK Reference
13.0
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
diguyViewLightSettings.h
Go to the documentation of this file.
1
2
/*********************************************************************
3
** Copyright (c) 1992-2014 VT MAK
4
** All rights reserved.
5
*********************************************************************/
6
7
8
#ifndef __diguyViewLightSettings_H
9
#define __diguyViewLightSettings_H
10
11
#ifdef SWIG
12
%module
diguyViewLightSettings
13
#else
14
#define CPLUSPLUS_ONLY
15
#endif
16
17
#ifdef CPLUSPLUS_ONLY
18
class
bdiLight;
19
class
diguyViewLightSettings
;
20
21
#include <
diguy_constants.h
>
22
23
#endif
24
25
26
#include <
declspec_diguy.h
>
27
28
/*********************************************************************/
48
class
BDI_DECLSPEC_diguy
diguyViewLightSettings
49
{
50
51
public
:
52
53
/*l
54
*b Description:
55
**
56
** The diguyViewLightSettings equivalent of
57
** diguyViewLight::get_name().
58
*/
59
const
char
* get_name();
60
61
/*l
62
*b Description:
63
**
64
** The diguyViewLightSettings equivalent of
65
** diguyViewLight::get_type_name().
66
*/
67
const
char
* get_type_name();
68
69
/*l
70
*b Description:
71
**
72
** The diguyViewLightSettings equivalent of
73
** diguyViewLight::set_direction().
74
*/
75
void
set_direction(
float
x,
float
y,
float
z);
76
77
/*l
78
*b Description:
79
**
80
** The diguyViewLightSettings equivalent of
81
** diguyViewLight::get_direction().
82
*/
83
void
get_direction(
float
* x,
float
* y,
float
* z);
84
85
/*l
86
*b Description:
87
**
88
** The diguyViewLightSettings equivalent of
89
** diguyViewLight::set_ambient_color().
90
*/
91
void
set_ambient_color(
float
r,
float
g,
float
b,
float
a);
92
93
/*l
94
*b Description:
95
**
96
** The diguyViewLightSettings equivalent of
97
** diguyViewLight::get_ambient_color().
98
*/
99
void
get_ambient_color(
float
* r,
float
* g,
float
* b,
float
* a);
100
101
/*l
102
*b Description:
103
**
104
** The diguyViewLightSettings equivalent of
105
** diguyViewLight::set_diffuse_color().
106
*/
107
void
set_diffuse_color(
float
r,
float
g,
float
b,
float
a);
108
109
/*l
110
*b Description:
111
**
112
** The diguyViewLightSettings equivalent of
113
** diguyViewLight::get_diffuse_color().
114
*/
115
void
get_diffuse_color(
float
* r,
float
* g,
float
* b,
float
* a);
116
117
/*l
118
*b Description:
119
**
120
** The diguyViewLightSettings equivalent of
121
** diguyViewLight::set_specular_color().
122
*/
123
void
set_specular_color(
float
r,
float
g,
float
b,
float
a);
124
125
/*l
126
*b Description:
127
**
128
** The diguyViewLightSettings equivalent of
129
** diguyViewLight::get_specular_color().
130
*/
131
void
get_specular_color(
float
* r,
float
* g,
float
* b,
float
* a);
132
137
#ifdef CPLUSPLUS_ONLY
138
139
bdiLight* get_scripted_object() {
return
m_light;}
140
141
private
:
142
143
/*l
144
** A private constructor.
145
*/
146
diguyViewLightSettings
(bdiLight* light);
147
148
/*l
149
** A pointer to internal data.
150
*/
151
bdiLight* m_light;
152
153
friend
class
bdiLight;
154
155
#endif
156
157
};
158
159
#endif
/* __diguyViewLightSettings_H */
160
include
diguyViewLightSettings.h
Generated on Wed Jul 9 2014 21:35:59 for DI-Guy C++ SDK Reference by
1.8.3.1