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

Configures one set of procedural grid lines. More...

#include <a3d/visual/Ground.h>

Public Attributes

Color color {}
 Grid-line color. More...
 
float spacing
 Distance between grid lines in scene units; must be greater than zero. More...
 
float lineWidthPixels {1.0f}
 Grid-line width in pixels; must be greater than zero. More...
 
float reliefStrength {0.0f}
 Strength of procedural grid relief; zero disables relief. More...
 

Detailed Description

Configures one set of procedural grid lines.

Definition at line 35 of file Ground.h.

Member Data Documentation

◆ color

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

Grid-line color.

Definition at line 39 of file Ground.h.

◆ lineWidthPixels

float a3d::Ground::Procedural::GridComponent::lineWidthPixels {1.0f}

Grid-line width in pixels; must be greater than zero.

Definition at line 42 of file Ground.h.

◆ reliefStrength

float a3d::Ground::Procedural::GridComponent::reliefStrength {0.0f}

Strength of procedural grid relief; zero disables relief.

Definition at line 43 of file Ground.h.

◆ spacing

float a3d::Ground::Procedural::GridComponent::spacing
Initial value:
{
1.0f}

Distance between grid lines in scene units; must be greater than zero.

Definition at line 40 of file Ground.h.


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