raisin::RayraiWindow::ReflectionProbePlacementSuggestion
struct · #include <rayrai/RayraiWindow.hpp>
Result of suggestReflectionProbePlacementFromSceneBounds().
Public attributes
valid
cpp
bool validFalse when the scene has no finite, non-degenerate bounds.
position
cpp
glm::vec3 positionCenter of the scene bounds.
radius
cpp
float radiusHalf of boundsDiagonal.
boxProjection
cpp
bool boxProjectionTrue when the bounds have positive extent on all axes.
boxMin
cpp
glm::vec3 boxMinScene bounds minimum corner.
boxMax
cpp
glm::vec3 boxMaxScene bounds maximum corner.
boundedObjectCount
cpp
size_t boundedObjectCountObjects and visuals that contributed to the bounds.
boundsDiagonal
cpp
float boundsDiagonalLength of the bounds diagonal in metres.