Skip to content

raisin::RayraiWindow::ReflectionProbePlacementSuggestion ​

struct · #include <rayrai/RayraiWindow.hpp>

Result of suggestReflectionProbePlacementFromSceneBounds().

Public attributes ​

valid ​

cpp
bool valid

False when the scene has no finite, non-degenerate bounds.

position ​

cpp
glm::vec3 position

Center of the scene bounds.

radius ​

cpp
float radius

Half of boundsDiagonal.

boxProjection ​

cpp
bool boxProjection

True when the bounds have positive extent on all axes.

boxMin ​

cpp
glm::vec3 boxMin

Scene bounds minimum corner.

boxMax ​

cpp
glm::vec3 boxMax

Scene bounds maximum corner.

boundedObjectCount ​

cpp
size_t boundedObjectCount

Objects and visuals that contributed to the bounds.

boundsDiagonal ​

cpp
float boundsDiagonal

Length of the bounds diagonal in metres.

RaiSim — physics for robotics and AI.