Avara3D 0.2.0
C++ API reference
a3d::Ground Struct Reference

Configures ground rendering over a VisualWorld reference Surface. More...

#include <a3d/visual/Ground.h>

Classes

struct  HorizonHaze
 Configures haze concentrated around the ground horizon. More...
 
struct  Procedural
 Configures a procedurally rendered ground fill. More...
 
struct  RadialFade
 Configures a radial transition from the ground fill toward a color. More...
 

Public Types

using Fill = std::variant< Procedural, std::shared_ptr< Material > >
 Procedural or material-backed ground fill. More...
 

Public Attributes

Fill fill {Procedural {}}
 Ground fill to render. More...
 
std::optional< RadialFaderadialFade {}
 Optional radial fade applied to the ground. More...
 
std::optional< HorizonHazehorizonHaze {}
 Optional haze applied around the ground horizon. More...
 

Detailed Description

Configures ground rendering over a VisualWorld reference Surface.

Definition at line 25 of file Ground.h.

Member Typedef Documentation

◆ Fill

using a3d::Ground::Fill = std::variant<Procedural, std::shared_ptr<Material> >

Procedural or material-backed ground fill.

Definition at line 69 of file Ground.h.

Member Data Documentation

◆ fill

Fill a3d::Ground::fill {Procedural {}}

Ground fill to render.

Definition at line 96 of file Ground.h.

◆ horizonHaze

std::optional<HorizonHaze> a3d::Ground::horizonHaze {}

Optional haze applied around the ground horizon.

Definition at line 98 of file Ground.h.

◆ radialFade

std::optional<RadialFade> a3d::Ground::radialFade {}

Optional radial fade applied to the ground.

Definition at line 97 of file Ground.h.


The documentation for this struct was generated from the following file: