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

Configures a procedural grid with optional minor and major line components. More...

#include <a3d/visual/Ground.h>

Public Attributes

Color color {}
 Base ground color between grid lines. More...
 
std::optional< GridComponentminor {}
 Optional minor grid lines. More...
 
std::optional< GridComponentmajor {}
 Optional major grid lines. More...
 
float specularIntensity
 Phong specular intensity coefficient; must be non-negative; zero disables specular highlights. More...
 
float specularExponent
 Phong specular exponent; must be greater than zero; higher values produce narrower highlights. More...
 

Detailed Description

Configures a procedural grid with optional minor and major line components.

Definition at line 47 of file Ground.h.

Member Data Documentation

◆ color

Color a3d::Ground::Procedural::Grid::color {}

Base ground color between grid lines.

Definition at line 51 of file Ground.h.

◆ major

std::optional<GridComponent> a3d::Ground::Procedural::Grid::major {}

Optional major grid lines.

Definition at line 53 of file Ground.h.

◆ minor

std::optional<GridComponent> a3d::Ground::Procedural::Grid::minor {}

Optional minor grid lines.

Definition at line 52 of file Ground.h.

◆ specularExponent

float a3d::Ground::Procedural::Grid::specularExponent
Initial value:
{
32.0f}

Phong specular exponent; must be greater than zero; higher values produce narrower highlights.

Definition at line 56 of file Ground.h.

◆ specularIntensity

float a3d::Ground::Procedural::Grid::specularIntensity
Initial value:
{
0.15f}

Phong specular intensity coefficient; must be non-negative; zero disables specular highlights.

Definition at line 54 of file Ground.h.


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