Classes¶
Scene/Components/Environment Component
Brief descriptions¶
Classes |
|
Detailed information¶
scene::EnvironmentComponent¶
engine/core/modules/scene/include/nau/scene/components/environment_component.h
-
class EnvironmentComponent : public nau::scene::Component¶
Public Functions
-
TextureAssetRef getTextureAsset() const¶
-
void setTextureAsset(const TextureAssetRef &texture)¶
-
bool isTextureDirty() const¶
-
void resetIsTextureDirty()¶
-
void setIntensity(float intensity)¶
-
float getIntensity() const¶
Private Members
- m_textureAsset
- texture
- m_enviIntensity
-
TextureAssetRef m_textureAsset¶
-
float m_enviIntensity = 1.0f¶
-
bool m_isTextureDirty = true¶
-
TextureAssetRef getTextureAsset() const¶