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::v12::HeightmapBlend::HeightmapBlend | ( | ) |
Constructor.
sdf::ElementPtr sdf::v12::HeightmapBlend::Element | ( | ) | const |
double sdf::v12::HeightmapBlend::FadeDistance | ( | ) | const |
Get the heightmap blend's fade distance.
Errors sdf::v12::HeightmapBlend::Load | ( | ElementPtr | _sdf | ) |
double sdf::v12::HeightmapBlend::MinHeight | ( | ) | const |
Get the heightmap blend's minimum height.
void sdf::v12::HeightmapBlend::SetFadeDistance | ( | double | _fadeDistance | ) |
Set the distance over which the blend occurs.
[in] | _uri | The distance in meters. |
void sdf::v12::HeightmapBlend::SetMinHeight | ( | double | _minHeight | ) |
Set the minimum height of the blend in meters.
[in] | _uri | The minimum height of the blend in meters. |