#include <RenderingEvents.hh>
|
static gz::common::EventT< void(const gz::rendering::ScenePtr &)> | sceneEvent |
| Event that is used to trigger callbacks when the scene is changed.
|
|
◆ ConnectSceneChangeCallback()
static gz::common::ConnectionPtr ConnectSceneChangeCallback |
( |
std::function< void(const gz::rendering::ScenePtr &)> |
_callback | ) |
|
|
static |
Set a callback to be called when the scene is changed.
- Parameters
-
[in] | _callback | This callback will be called every time the scene is changed. |
- Returns
- A connection pointer that must remain in scope. When the connection pointer falls out of scope, the connection is broken.
◆ sceneEvent
gz::common::EventT< void(const gz::rendering::ScenePtr &)> sceneEvent |
|
static |
Event that is used to trigger callbacks when the scene is changed.
The documentation for this class was generated from the following file: