Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
Grindstone::Editor::EditorCamera Class Reference

Public Member Functions

void CaptureMousePick (GraphicsAPI::CommandBuffer *commandBuffer, int x, int y)
uint32_t GetMousePickedEntity (GraphicsAPI::CommandBuffer *commandBuffer)
uint64_t GetRenderOutput ()
void Render (GraphicsAPI::CommandBuffer *commandBuffer)
void RenderPlayModeCamera (GraphicsAPI::CommandBuffer *commandBuffer)
void OffsetRotation (float pitch, float yaw)
void OffsetPosition (glm::vec3 offset)
void SetPosition (glm::vec3 newPosition)
void ResizeViewport (uint32_t width, uint32_t height)
void UpdateProjectionMatrix ()
void UpdateViewMatrix ()
glm::mat4 & GetProjectionMatrix ()
glm::mat4 & GetViewMatrix ()
BaseRendererGetRenderer () const
glm::vec3 GetPosition () const
glm::vec3 GetForward () const
glm::vec3 GetRight () const
glm::vec3 GetUp () const

Static Public Member Functions

static void SetupRenderPasses ()

Public Attributes

bool isGridEnabled = true
bool isBoundingSphereGizmoEnabled = false
bool isBoundingBoxGizmoEnabled = false
bool isColliderGizmoEnabled = true

The documentation for this class was generated from the following files:
  • /github/workspace/sources/code/Editor/EditorCamera.hpp
  • /github/workspace/sources/code/Editor/EditorCamera.cpp