Plasma Engine  2.0
Loading...
Searching...
No Matches
SceneDocumentManager.h
1#pragma once
2
3#include <Core/Configuration/PlatformProfile.h>
4#include <EditorFramework/Assets/AssetDocumentManager.h>
5#include <Foundation/Containers/StaticArray.h>
6#include <Foundation/Types/Status.h>
7#include <ToolsFoundation/Document/DocumentManager.h>
8
10{
11 PL_ADD_DYNAMIC_REFLECTION(plSceneDocumentManager, plAssetDocumentManager);
12
13public:
15
16private:
17 virtual void InternalCreateDocument(plStringView sDocumentTypeName, plStringView sPath, bool bCreateNewDocument, plDocument*& out_pDocument, const plDocumentObject* pOpenContext) override;
18 virtual void InternalGetSupportedDocumentTypes(plDynamicArray<const plDocumentTypeDescriptor*>& inout_DocumentTypes) const override;
19 virtual void InternalCloneDocument(plStringView sPath, plStringView sClonePath, const plUuid& documentId, const plUuid& seedGuid, const plUuid& cloneGuid, plAbstractObjectGraph* pHeader, plAbstractObjectGraph* pObjects, plAbstractObjectGraph* pTypes) override;
20
21 virtual bool GeneratesProfileSpecificAssets() const override { return false; }
22
23 void SetupDefaultScene(plDocument* pDocument);
24
25
27};
Definition AbstractObjectGraph.h:115
Definition AssetDocumentManager.h:13
Definition Document.h:57
Definition DocumentObjectBase.h:11
Definition DynamicArray.h:81
Definition SceneDocumentManager.h:10
Wraps a C-style array, which has a fixed size at compile-time, with a more convenient interface.
Definition StaticArray.h:13
plStringView represent a read-only sub-string of a larger string, as it can store a dedicated string ...
Definition StringView.h:34
This data type is the abstraction for 128-bit Uuid (also known as GUID) instances.
Definition Uuid.h:11