HeightmapBlend Class Reference
Blend information to be used between textures on heightmaps. More...
#include <HeightmapDescriptor.hh>
Public Member Functions | |
HeightmapBlend () | |
Constructor. More... | |
HeightmapBlend (const HeightmapBlend &_blend) | |
Copy constructor. More... | |
HeightmapBlend (HeightmapBlend &&_blend) noexcept | |
Move constructor. More... | |
virtual | ~HeightmapBlend () |
Destructor. More... | |
double | FadeDistance () const |
Get the heightmap blend's fade distance. More... | |
double | MinHeight () const |
Get the heightmap blend's minimum height. More... | |
HeightmapBlend & | operator= (const HeightmapBlend &_blend) |
Copy Assignment operator. More... | |
HeightmapBlend & | operator= (HeightmapBlend &&_blend) |
Move assignment operator. More... | |
void | SetFadeDistance (double _fadeDistance) |
Set the distance over which the blend occurs. More... | |
void | SetMinHeight (double _minHeight) |
Set the minimum height of the blend in meters. More... | |
Detailed Description
Blend information to be used between textures on heightmaps.
Constructor & Destructor Documentation
◆ HeightmapBlend() [1/3]
HeightmapBlend | ( | ) |
Constructor.
◆ HeightmapBlend() [2/3]
HeightmapBlend | ( | const HeightmapBlend & | _blend | ) |
Copy constructor.
- Parameters
-
[in] _blend HeightmapBlend to copy.
◆ HeightmapBlend() [3/3]
|
noexcept |
Move constructor.
- Parameters
-
[in] _blend HeightmapBlend to move.
◆ ~HeightmapBlend()
|
virtual |
Destructor.
Member Function Documentation
◆ FadeDistance()
double FadeDistance | ( | ) | const |
Get the heightmap blend's fade distance.
- Returns
- The fade distance of the heightmap blend in meters.
◆ MinHeight()
double MinHeight | ( | ) | const |
Get the heightmap blend's minimum height.
- Returns
- The minimum height of the blend layer.
◆ operator=() [1/2]
HeightmapBlend& operator= | ( | const HeightmapBlend & | _blend | ) |
Copy Assignment operator.
- Parameters
-
[in] _blend The heightmap blend to set values from.
- Returns
- *this
◆ operator=() [2/2]
HeightmapBlend& operator= | ( | HeightmapBlend && | _blend | ) |
◆ SetFadeDistance()
void SetFadeDistance | ( | double | _fadeDistance | ) |
Set the distance over which the blend occurs.
- Parameters
-
[in] _fadeDistance The distance in meters.
◆ SetMinHeight()
void SetMinHeight | ( | double | _minHeight | ) |
Set the minimum height of the blend in meters.
- Parameters
-
[in] _minHeight The minimum height of the blend in meters.
The documentation for this class was generated from the following file: