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

Configures a radial transition from the ground fill toward a color. More...

#include <a3d/visual/Ground.h>

Public Attributes

Color color {Color::Black()}
 Color approached beyond the fade range. More...
 
math::vec2 center {0.0f, 0.0f}
 Center of the radial fade on the ground surface. More...
 
float startDistance
 Distance from the center where fading begins; must be non-negative. More...
 
float endDistance
 Distance where fading completes; must be greater than startDistance. More...
 

Detailed Description

Configures a radial transition from the ground fill toward a color.

Definition at line 72 of file Ground.h.

Member Data Documentation

◆ center

math::vec2 a3d::Ground::RadialFade::center {0.0f, 0.0f}

Center of the radial fade on the ground surface.

Definition at line 77 of file Ground.h.

◆ color

Color a3d::Ground::RadialFade::color {Color::Black()}

Color approached beyond the fade range.

Definition at line 76 of file Ground.h.

◆ endDistance

float a3d::Ground::RadialFade::endDistance
Initial value:
{
100.0f}

Distance where fading completes; must be greater than startDistance.

Definition at line 80 of file Ground.h.

◆ startDistance

float a3d::Ground::RadialFade::startDistance
Initial value:
{
10.0f}

Distance from the center where fading begins; must be non-negative.

Definition at line 78 of file Ground.h.


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