MaterialComponent Contains all the data of a material component.
More...
#include <MaterialComponent.h>
MaterialComponent Contains all the data of a material component.
◆ GetTexture()
const Texture & venom::common::MaterialComponent::GetTexture |
( |
| ) |
const |
|
inline |
Gets the texture value of the material component.
- Returns
- Texture
◆ SetValue() [1/4]
void venom::common::MaterialComponent::SetValue |
( |
const float | value | ) |
|
|
inline |
Sets Material component value.
- Parameters
-
value | can be a color3D/4D, a value or a texture |
◆ SetValue() [2/4]
void venom::common::MaterialComponent::SetValue |
( |
const Texture & | texture | ) |
|
|
inline |
Sets Material component value.
- Parameters
-
value | can be a color3D/4D, a value or a texture |
◆ SetValue() [3/4]
void venom::common::MaterialComponent::SetValue |
( |
const vcm::Vec3 & | value | ) |
|
|
inline |
Sets Material component value.
- Parameters
-
value | can be a color3D/4D, a value or a texture |
◆ SetValue() [4/4]
void venom::common::MaterialComponent::SetValue |
( |
const vcm::Vec4 & | value | ) |
|
|
inline |
Sets Material component value.
- Parameters
-
value | can be a color3D/4D, a value or a texture |
The documentation for this class was generated from the following files:
- /Users/kevinpruvost/Bossing/Perso/VenomEngine/lib/common/include/venom/common/plugin/graphics/MaterialComponent.h
- /Users/kevinpruvost/Bossing/Perso/VenomEngine/lib/common/src/MaterialComponent.cc