/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/EditorPlugins/Scene/EnginePluginScene/Components/ShapeIconComponent.h
21 строка
830 B
Jan Krassnigg
Added a path component (#890)
11 мар 2023, 23:24
Не верифицирован
11 мар 2023, 23:24
d28c6fe
Код
Авторство
О чём код?
#pragma once #include <Core/World/Component.h> #include <Core/World/World.h> using ezShapeIconComponentManager = ezComponentManager<class ezShapeIconComponent, ezBlockStorageType::Compact>; /// \brief This is a dummy component that the editor creates on all 'empty' nodes for the sole purpose to render a shape icon and enable picking. /// /// Though in the future one could potentially use them for other editor functionality, such as displaying the object name or some other useful text. class EZ_ENGINEPLUGINSCENE_DLL ezShapeIconComponent : public ezComponent { EZ_DECLARE_COMPONENT_TYPE(ezShapeIconComponent, ezComponent, ezShapeIconComponentManager); ////////////////////////////////////////////////////////////////////////// // ezShapeIconComponent public: ezShapeIconComponent(); ~ezShapeIconComponent(); };