The Scene
property of the SceneRenderingWidget
class represents the active scene that is currently being rendered. This property is essential for determining which scene's content is displayed within the rendering widget.
The Scene
property of the SceneRenderingWidget
class represents the active scene that is currently being rendered. This property is essential for determining which scene's content is displayed within the rendering widget.
To use the Scene
property, you can access it directly from an instance of the SceneRenderingWidget
class. This property is read-write, allowing you to get or set the active scene for rendering.
Example usage:
SceneRenderingWidget widget = new SceneRenderingWidget();
Scene currentScene = widget.Scene; // Get the current scene
widget.Scene = newScene; // Set a new scene to render
SceneRenderingWidget widget = new SceneRenderingWidget(); Scene currentScene = widget.Scene; // Get the current scene widget.Scene = newScene; // Set a new scene to render