Skip to content

raisin::RayraiWindow::ReflectionProbeSidecarProbe ​

struct · #include <rayrai/RayraiWindow.hpp>

One probe entry parsed from a .rayrai_probes.json sidecar (see loadReflectionProbeSidecar()).

Public attributes ​

name ​

cpp
std::string name

Optional probe name (name).

position ​

cpp
glm::vec3 position

World-space capture position (position).

radius ​

cpp
float radius

Influence radius in metres (radius, >= 0); 0 means unbounded with distance falloff.

strength ​

cpp
float strength

Probe strength (strength, >= 0).

boxProjection ​

cpp
bool boxProjection

Box-projected parallax correction (box_projection); cleared when the box is degenerate.

boxMin ​

cpp
glm::vec3 boxMin

Box-projection minimum corner (box_min).

boxMax ​

cpp
glm::vec3 boxMax

Box-projection maximum corner (box_max).

capture ​

cpp
ReflectionProbeCaptureSettings capture

Capture settings from the optional capture object.

hasFilter ​

cpp
bool hasFilter

True when the entry has its own filter object.

filter ​

cpp
ReflectionProbeFilterSettings filter

Per-probe filter settings; meaningful only when hasFilter is true.

RaiSim — physics for robotics and AI.