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

Spherical reference surface used by ground and atmospheric effects. More...

#include <a3d/visual/Surface.h>

Public Attributes

math::vec3 center {0.0f, 0.0f, 0.0f}
 Center of the reference sphere in scene coordinates. More...
 
float radius {1.0f}
 Radius of the reference sphere in scene units; must be greater than zero. More...
 

Detailed Description

Spherical reference surface used by ground and atmospheric effects.

Definition at line 29 of file Surface.h.

Member Data Documentation

◆ center

math::vec3 a3d::SphereSurface::center {0.0f, 0.0f, 0.0f}

Center of the reference sphere in scene coordinates.

Definition at line 33 of file Surface.h.

◆ radius

float a3d::SphereSurface::radius {1.0f}

Radius of the reference sphere in scene units; must be greater than zero.

Definition at line 34 of file Surface.h.


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