14 virtual void OnAttach()
override;
15 virtual void OnDetach()
override;
16 virtual void OnUpdate(
float deltaTime)
override;
17 virtual void ImGuiRender(
float deltaTime)
override;
19 void OpenScene(
const std::string& objFileName);
20 virtual void OnEvent(
Event& event)
override;
24 void InputPolling(
float deltaTime);
26 void TentativeTrigger();
30 std::shared_ptr<Karma::Shader> m_ModelShader;
31 std::shared_ptr<Karma::VertexArray> m_ModelVertexArray;
32 std::shared_ptr<Karma::Material> m_ModelMaterial;
33 std::shared_ptr<Karma::Texture> m_ModelTexture;
35 std::shared_ptr<Karma::PerspectiveCamera> m_EditorCamera;
36 std::shared_ptr<Karma::Scene> m_EditorScene;
38 float cameraTranslationSpeed = 1.0f;
39 float cameraRotationSpeed = 80.0f;
43 uint32_t m_ActorCounter;