The Scene
property of the SceneRenderingWidget
class represents the active scene that is currently being rendered. This property allows you to access and manipulate the scene that is displayed within the rendering widget.
The Scene
property of the SceneRenderingWidget
class represents the active scene that is currently being rendered. This property allows you to access and manipulate the scene that is displayed within the rendering widget.
To use the Scene
property, you need to have an instance of the SceneRenderingWidget
class. You can then get or set the Scene
property to change the scene being rendered.
// Example of accessing the Scene property SceneRenderingWidget renderingWidget = new SceneRenderingWidget(); // Get the current scene being rendered Scene currentScene = renderingWidget.Scene; // Set a new scene to be rendered Scene newScene = new Scene(); renderingWidget.Scene = newScene;