light/Mirror/src/Panels/PropertiesPanel.h

26 lines
445 B
C
Raw Normal View History

#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);
private:
void DrawVec3Control(const std::string& label, glm::vec3& values, float resetValue = 0.0f, float columnWidth = 100.0f);
};
}