Graphics/SkyboxBackground: Add movement scaler
Former-commit-id: 02682210b2b3d4b0cf27c6dd8cf171a025a92701
This commit is contained in:
@@ -32,11 +32,15 @@ namespace Nz
|
||||
|
||||
void Draw(const AbstractViewer* viewer) const;
|
||||
|
||||
BackgroundType GetBackgroundType() const;
|
||||
BackgroundType GetBackgroundType() const override;
|
||||
inline const Vector3f& GetMovementOffset() const;
|
||||
inline float GetMovementScale() const;
|
||||
inline const TextureRef& GetTexture() const;
|
||||
inline TextureSampler& GetTextureSampler();
|
||||
inline const TextureSampler& GetTextureSampler() const;
|
||||
|
||||
inline void SetMovementOffset(const Vector3f& offset);
|
||||
inline void SetMovementScale(float scale);
|
||||
inline void SetTexture(TextureRef cubemapTexture);
|
||||
inline void SetTextureSampler(const TextureSampler& sampler);
|
||||
|
||||
@@ -48,6 +52,8 @@ namespace Nz
|
||||
|
||||
TextureRef m_texture;
|
||||
TextureSampler m_sampler;
|
||||
Vector3f m_movementOffset;
|
||||
float m_movementScale;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user