Skip to content

raisin::RayraiWindow::ImportVisualSceneOptions ​

struct · #include <rayrai/RayraiWindow.hpp>

Options bundle for importVisualScene; collapses the seven trailing optional parameters from the flat-argument overload into a struct that is easier to read and to evolve without breaking call sites.

Public attributes ​

report ​

cpp
SceneImportReport *report

Optional import summary output (not owned).

importLights ​

cpp
bool importLights

Import the file's lights as additional lights.

lightIntensityScale ​

cpp
float lightIntensityScale

Multiplier applied to imported light intensities.

scale ​

cpp
glm::dvec3 scale

Per-axis mesh scale.

color ​

cpp
glm::vec4 color

RGBA color.

RaiSim — physics for robotics and AI.