Please enable JavaScript to view this site.

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();

  }

}

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC