class
EditorSceneInstance
Inherits:
IEditorSceneInstance,
std::enable_shared_from_this<EditorSceneInstance>
Wraps a scene instance and provides editor-only functionality for it (such as selection, gizmo/handle drawing, etc.
Public
Constructors
EditorSceneInstance
Methods
~EditorSceneInstance
~EditorSceneInstance() noexcept = default
GetSelection
Returns the object that is used for selecting objects in the editor, or receiving notifications about selections.
GetGizmos
Returns an object responsible for drawing editor gizmos for the scene.
GetHandles
Returns an object responsible for drawing and interacting with editor handles for the scene.
GetPicking
Returns an object responsible for picking objects in the scene.
staticCreate
Creates a new editor scene instance that wraps the provided scene instance.
staticGetRttiStatic
static RTTIType *GetRttiStatic()
Private
Methods
Initialize
void Initialize()
Initializes the editor scene instance.
Called right after the constructor.
Fields
mScene
SPtr<SceneInstance> mScene
mSelection
SPtr<SceneSelection> mSelection
mGizmos
SPtr<SceneGizmos> mGizmos
mHandles
SPtr<SceneHandles> mHandles
mPicking
SPtr<ScenePicking> mPicking