Blend information to be used between textures on heightmaps.  
 More...
#include <Heightmap.hh>
Blend information to be used between textures on heightmaps. 
 
◆ HeightmapBlend()
      
        
          | sdf::SDF_VERSION_NAMESPACE::HeightmapBlend::HeightmapBlend  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ Element()
      
        
          | sdf::ElementPtr sdf::SDF_VERSION_NAMESPACE::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::SDF_VERSION_NAMESPACE::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::SDF_VERSION_NAMESPACE::HeightmapBlend::MinHeight  | 
          ( | 
           | ) | 
           const | 
        
      
 
Get the heightmap blend's minimum height. 
- Returns
 - The minimum height of the blend layer. 
 
 
 
◆ SetFadeDistance()
      
        
          | void sdf::SDF_VERSION_NAMESPACE::HeightmapBlend::SetFadeDistance  | 
          ( | 
          double  | 
          _fadeDistance | ) | 
           | 
        
      
 
Set the distance over which the blend occurs. 
- Parameters
 - 
  
    | [in] | _uri | The distance in meters.  | 
  
   
 
 
◆ SetMinHeight()
      
        
          | void sdf::SDF_VERSION_NAMESPACE::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: