mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-21 20:08:40 +03:00
Added preview window when selecting a camera in the scene
This commit is contained in:
@@ -27,8 +27,14 @@
|
||||
#include "../ComponentsPanel/NavMeshVolumePanel.h"
|
||||
|
||||
#include <src/Scene/Components/WrenScriptComponent.h>
|
||||
#include <src/Resource/Prefab.h>
|
||||
|
||||
|
||||
namespace Nuake
|
||||
{
|
||||
class Scene;
|
||||
}
|
||||
|
||||
class EditorSelectionPanel
|
||||
{
|
||||
private:
|
||||
@@ -56,6 +62,7 @@ private:
|
||||
Ref<Nuake::File> currentFile;
|
||||
Ref<Nuake::Resource> selectedResource;
|
||||
|
||||
Ref<Nuake::Scene> virtualScene;
|
||||
public:
|
||||
EditorSelectionPanel();
|
||||
|
||||
@@ -67,7 +74,7 @@ public:
|
||||
|
||||
void DrawFile(Ref<Nuake::File> file);
|
||||
void DrawResource(Nuake::Resource resource);
|
||||
|
||||
void DrawPrefabPanel(Ref<Nuake::Prefab> prefab);
|
||||
private:
|
||||
void ResolveFile(Ref<Nuake::File> file);
|
||||
void DrawMaterialPanel(Ref<Nuake::Material> material);
|
||||
|
||||
Reference in New Issue
Block a user