Skip to content

raisin::ReflectionProbeSidecarProbe ​

struct · #include <rayrai/ReflectionProbe.hpp>

One probe entry read from a scene's reflection-probe sidecar JSON (<scene>.rayrai_probes.json, see RayraiWindow::loadReflectionProbeSidecar()).

Fields mirror ReflectionProbe plus the capture/filter settings used to bake it.

Public attributes ​

name ​

cpp
std::string name

Probe label from the sidecar.

position ​

cpp
glm::vec3 position

Capture position, metres.

radius ​

cpp
float radius

Influence radius, metres (see ReflectionProbe::radius).

strength ​

cpp
float strength

Reflection strength multiplier.

boxProjection ​

cpp
bool boxProjection

Enable box-projected (parallax-corrected) sampling.

boxMin ​

cpp
glm::vec3 boxMin

Projection box minimum corner, metres.

boxMax ​

cpp
glm::vec3 boxMax

Projection box maximum corner, metres.

capture ​

cpp
ReflectionProbeCaptureSettings capture

Capture settings for this probe.

hasFilter ​

cpp
bool hasFilter

True when the sidecar provides explicit filter settings.

filter ​

cpp
ReflectionProbeFilterSettings filter

Filter settings, valid when hasFilter is true.

RaiSim — physics for robotics and AI.