7 #ifndef NAZARA_SKYBOXBACKGROUND_HPP 8 #define NAZARA_SKYBOXBACKGROUND_HPP 10 #include <Nazara/Prerequesites.hpp> 11 #include <Nazara/Graphics/AbstractBackground.hpp> 12 #include <Nazara/Renderer/Texture.hpp> 13 #include <Nazara/Renderer/TextureSampler.hpp> 18 class SkyboxBackground;
20 using SkyboxBackgroundConstRef = ObjectRef<const SkyboxBackground>;
21 using SkyboxBackgroundRef = ObjectRef<SkyboxBackground>;
33 BackgroundType GetBackgroundType()
const override;
34 inline const Vector3f& GetMovementOffset()
const;
35 inline float GetMovementScale()
const;
37 inline TextureSampler& GetTextureSampler();
38 inline const TextureSampler& GetTextureSampler()
const;
40 inline void SetMovementOffset(
const Vector3f& offset);
41 inline void SetMovementScale(
float scale);
42 inline void SetTexture(
TextureRef cubemapTexture);
43 inline void SetTextureSampler(
const TextureSampler& sampler);
48 static bool Initialize();
49 static void Uninitialize();
52 TextureSampler m_sampler;
54 float m_movementScale;
58 #include <Nazara/Graphics/SkyboxBackground.inl> 60 #endif // NAZARA_SKYBOXBACKGROUND_HPP TODO: Inherit SoundEmitter from Node.
Definition: Algorithm.hpp:12
Graphics class that represents the viewer for our scene.
Definition: AbstractViewer.hpp:21
Graphics class that represents the module initializer of Graphics.
Definition: Graphics.hpp:15
Graphics class that represents a background with a cubemap texture.
Definition: SkyboxBackground.hpp:23
Graphics class that represents the background for our scene.
Definition: AbstractBackground.hpp:25