Immediate updating of the 3D scene.
Syntax |
void update_scene() |
---|---|
Result |
(none) |
Notes |
The call is made only if the automatic scene update feature is disabled. |
Example of use:
bool execute(pan3d::object @panel) { int last_id = 0; set_scene_auto_update(false); while (!should_end()) { /* Check if values are changed */ uint id = monitor_values_id(); if (id == last_id) { sleep_ms(100); continue; } last_id = id;
/* Update scene items ... */ ...
/* Update scene */ update_scene(); } } |