zenilib: zenilib/jni/external/zenilib/zeni_graphics/Zeni/Material.hxx Source File

zenilib 0.5.3.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Material.hxx
Go to the documentation of this file.
1 /* This file is part of the Zenipex Library (zenilib).
2 * Copyright (C) 2011 Mitchell Keith Bloch (bazald).
3 *
4 * zenilib is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * zenilib is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with zenilib. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18 #ifndef ZENI_MATERIAL_HXX
19 #define ZENI_MATERIAL_HXX
20
21 #include <Zeni/Material.h>
22
23 namespace Zeni {
24
25 float Material::get_power() const {
26 return m_power;
27 }
28
29 const String & Material::get_Texture() const {
30 return m_texture;
31 }
32
33 void Material::set_power(const float &power) {
34 m_power = power;
35 }
36
37 }
38
39 #endif
Zeni::Material::set_power
void set_power(const float &power)
Set the power of the Material (indicates the focus of the specular highlights)
Definition: Material.hxx:33
Zeni::String
Definition: String.h:29
Zeni::Material::get_power
float get_power() const
Get the power of the Material (indicates the focus of the specular highlights)
Definition: Material.hxx:25
Zeni::Material::get_Texture
const String & get_Texture() const
Get the texture identifier.
Definition: Material.hxx:29
Material.h