Voltray Engine Docs
Loading...
Searching...
No Matches
Inspector.h
Go to the documentation of this file.
1#pragma once
2#include "../UI/Panel.h"
3#include <memory>
4
5// Forward declarations
6class SceneObject;
7
13namespace Editor::Components
14{
15 class Inspector : public Panel
16 {
17 public:
18 void Draw() override;
19
20 private:
22 void DrawObjectProperties(std::shared_ptr<SceneObject> object);
23
25 void DrawTransformProperties(std::shared_ptr<SceneObject> object);
26
28 void DrawMaterialProperties(std::shared_ptr<SceneObject> object);
29
31 void DrawObjectVisibility(std::shared_ptr<SceneObject> object);
32 };
33}
Definition Inspector.h:16
void Draw() override
Pure virtual function to render the panel.
Definition Inspector.cpp:13
Base class for all UI panels in the editor.
Definition Panel.h:19
Base class for objects in the 3D scene.
Definition SceneObject.h:19
Represents the Inspector panel component in the Editor.
Definition Console.cpp:7