/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/EditorPlugins/Assets/EditorPluginAssets/PropertyAnimAsset/PropertyAnimAssetManager.h
24 строки
904 B
Sanakan8472
Convert ezToolsFoundation to use ezStringView instead of const char* (#1071)
30 сен 2023, 17:40
Не верифицирован
30 сен 2023, 17:40
123eb05
Код
Авторство
О чём код?
#pragma once #include <EditorFramework/Assets/AssetDocumentManager.h> #include <Foundation/Types/Status.h> class ezPropertyAnimAssetDocumentManager : public ezAssetDocumentManager { EZ_ADD_DYNAMIC_REFLECTION(ezPropertyAnimAssetDocumentManager, ezAssetDocumentManager); public: ezPropertyAnimAssetDocumentManager(); ~ezPropertyAnimAssetDocumentManager(); private: void OnDocumentManagerEvent(const ezDocumentManager::Event& e); virtual void InternalCreateDocument( ezStringView sDocumentTypeName, ezStringView sPath, bool bCreateNewDocument, ezDocument*& out_pDocument, const ezDocumentObject* pOpenContext) override; virtual void InternalGetSupportedDocumentTypes(ezDynamicArray<const ezDocumentTypeDescriptor*>& inout_DocumentTypes) const override; virtual bool GeneratesProfileSpecificAssets() const override { return false; } ezAssetDocumentTypeDescriptor m_DocTypeDesc; };