Jump to content

[SOLVED] Weather managing


photo

Recommended Posts

I am trying to figure out how could I manage weather parameters from C++ side. I want to set all params in editor so can gain the pros from wysiwyg ideas. However I can have situation when the weather parameters are suddenly changed by the supervising user of my system. I work now on valley as a test environment.

After handling the slider with rain density unigine calls this function in valley.h:

void Camera::setEnvironmentRain(float rain) {
        rain_control.blend(rain,rain);
        wet_control.set(rain);
}

My question is how could I call these from C++ in  the easiest way?

Link to comment
×
×
  • Create New...