Blend information to be used between textures on heightmaps.
More...
#include <Heightmap.hh>
Blend information to be used between textures on heightmaps.
◆ HeightmapBlend()
sdf::v11::HeightmapBlend::HeightmapBlend |
( |
| ) |
|
◆ Element()
sdf::ElementPtr sdf::v11::HeightmapBlend::Element |
( |
| ) |
const |
Get a pointer to the SDF element that was used during load.
- Returns
- SDF element pointer. The value will be nullptr if Load has not been called.
◆ FadeDistance()
double sdf::v11::HeightmapBlend::FadeDistance |
( |
| ) |
const |
Get the heightmap blend's fade distance.
- Returns
- The fade distance of the heightmap blend in meters.
◆ Load()
Load the heightmap blend geometry based on a element pointer.
This is not the usual entry point. Typical usage of the SDF DOM is through the Root object.
- Parameters
-
- Returns
- Errors, which is a vector of Error objects. Each Error includes an error code and message. An empty vector indicates no error.
◆ MinHeight()
double sdf::v11::HeightmapBlend::MinHeight |
( |
| ) |
const |
Get the heightmap blend's minimum height.
- Returns
- The minimum height of the blend layer.
◆ SetFadeDistance()
void sdf::v11::HeightmapBlend::SetFadeDistance |
( |
double |
_fadeDistance | ) |
|
Set the distance over which the blend occurs.
- Parameters
-
[in] | _uri | The distance in meters. |
◆ SetMinHeight()
void sdf::v11::HeightmapBlend::SetMinHeight |
( |
double |
_minHeight | ) |
|
Set the minimum height of the blend in meters.
- Parameters
-
[in] | _uri | The minimum height of the blend in meters. |
The documentation for this class was generated from the following file: