Avara3D 0.2.0
C++ API reference
a3d::ext::Wanderer::Config Struct Reference

Configures the wander volume, pace, and deterministic random sequence. More...

#include <a3d/extension/Wanderer.h>

Public Attributes

math::vec3 halfExtents
 Half-size of the wander box; components must be non-negative. Zero locks an axis. More...
 
double segmentDuration
 Seconds between successive spline control points; must be greater than zero. More...
 
std::uint32_t seed {0}
 Random seed; the same seed produces the same path. More...
 

Detailed Description

Configures the wander volume, pace, and deterministic random sequence.

Definition at line 37 of file Wanderer.h.

Member Data Documentation

◆ halfExtents

math::vec3 a3d::ext::Wanderer::Config::halfExtents
Initial value:
{
1.0f, 1.0f,
1.0f}

Half-size of the wander box; components must be non-negative. Zero locks an axis.

Definition at line 39 of file Wanderer.h.

◆ seed

std::uint32_t a3d::ext::Wanderer::Config::seed {0}

Random seed; the same seed produces the same path.

Definition at line 44 of file Wanderer.h.

◆ segmentDuration

double a3d::ext::Wanderer::Config::segmentDuration
Initial value:
{
3.0}

Seconds between successive spline control points; must be greater than zero.

Definition at line 42 of file Wanderer.h.


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