2021-08-01 16:55:26 +04:30
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Panel.h"
|
|
|
|
|
|
|
|
#include "Scene/Entity.h"
|
|
|
|
|
|
|
|
namespace Light {
|
|
|
|
|
|
|
|
class PropertiesPanel : public Panel
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
Entity m_EntityContext;
|
|
|
|
|
|
|
|
public:
|
|
|
|
PropertiesPanel() = default;
|
|
|
|
~PropertiesPanel() = default;
|
|
|
|
|
|
|
|
void OnUserInterfaceUpdate();
|
|
|
|
|
|
|
|
void SetEntityContext(Entity entity);
|
2021-08-07 19:39:46 +04:30
|
|
|
|
|
|
|
private:
|
|
|
|
void DrawVec3Control(const std::string& label, glm::vec3& values, float resetValue = 0.0f, float columnWidth = 100.0f);
|
2021-08-01 16:55:26 +04:30
|
|
|
};
|
|
|
|
|
|
|
|
}
|