|
| AZ_RTTI (AzFramework::ISceneSystem, "{DAE482A8-88AE-4BD3-8A5B-52D19A96E15F}") |
|
| AZ_DISABLE_COPY_MOVE (ISceneSystem) |
|
virtual AZ::Outcome< AZStd::shared_ptr< Scene >, AZStd::string > | CreateScene (AZStd::string_view name)=0 |
|
virtual AZ::Outcome< AZStd::shared_ptr< Scene >, AZStd::string > | CreateSceneWithParent (AZStd::string_view name, AZStd::shared_ptr< Scene > parent)=0 |
|
virtual AZStd::shared_ptr< Scene > | GetScene (AZStd::string_view name)=0 |
|
virtual void | IterateActiveScenes (const ActiveIterationCallback &callback)=0 |
| Iterates over all scenes that are in active use. Iteration stops if the callback returns false or all scenes have been listed.
|
|
virtual void | IterateZombieScenes (const ZombieIterationCallback &callback)=0 |
|
virtual bool | RemoveScene (AZStd::string_view name)=0 |
| Remove a scene with a given name and return if the operation was successful.
|
|
virtual void | ConnectToEvents (SceneEvent::Handler &handler)=0 |
| Connects the provided handler to the events that are called after scenes are created or before they get removed.
|
|
Interface used to create, get, or destroy scenes. This interface is single thread and is intended to be called from a single thread, commonly the main thread. The exception is connecting events, which is thread safe.