Blend information to be used between textures on heightmaps. More...
#include <Heightmap.hh>
Public Member Functions | |
HeightmapBlend () | |
Constructor. More... | |
sdf::ElementPtr | Element () const |
Get a pointer to the SDF element that was used during load. More... | |
double | FadeDistance () const |
Get the heightmap blend's fade distance. More... | |
Errors | Load (ElementPtr _sdf) |
Load the heightmap blend geometry based on a element pointer. More... | |
double | MinHeight () const |
Get the heightmap blend's minimum height. 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... | |
Blend information to be used between textures on heightmaps.
sdf::v11::HeightmapBlend::HeightmapBlend | ( | ) |
Constructor.
sdf::ElementPtr sdf::v11::HeightmapBlend::Element | ( | ) | const |
double sdf::v11::HeightmapBlend::FadeDistance | ( | ) | const |
Get the heightmap blend's fade distance.
Errors sdf::v11::HeightmapBlend::Load | ( | ElementPtr | _sdf | ) |
double sdf::v11::HeightmapBlend::MinHeight | ( | ) | const |
Get the heightmap blend's minimum height.
void sdf::v11::HeightmapBlend::SetFadeDistance | ( | double | _fadeDistance | ) |
Set the distance over which the blend occurs.
[in] | _uri | The distance in meters. |
void sdf::v11::HeightmapBlend::SetMinHeight | ( | double | _minHeight | ) |
Set the minimum height of the blend in meters.
[in] | _uri | The minimum height of the blend in meters. |