-
Notifications
You must be signed in to change notification settings - Fork 5
Scenes
Qodat has three type of scenes.
-
main-scene
This scene is linked to theMain
view, -
viewer-scene
This scene is linked to theViewer
view. -
editor-scene
This scene is linked to theEditor
view.
Each scene is tied to a specific view of the application, when you select a renderable node in a view, it will add it to its associated scene.
You can select the currently displayed scene by using the drop-down menu shown above.
When you select a view, Qodat will automatically switch to the scene associated with that view.
If you don't want this automatic switching, you can lock the scene being shown by pressing the black lock button next to the scene selection drop down menu.
Nodes can implement scene providers that define an (interactable) element for the type of view it is providing for. There are currently three types of providers implemented.
-
TreeItemProvider: Nodes implementing this provider will be added to the scene tree view.
-
SceneNodeProvider: Nodes implementing this provider will be added to the scene canvas.
-
ViewNodeProvider: Nodes implementing this provider can be added to a ViewNodeListView.
Every node added to a scene that implements a TreeItemProvider is added to the tree view.