10 #include <utility/dllexport.h>
11 #include <renderwindow.h>
17 class CameraComponentInstance;
31 virtual void getDependentComponents(std::vector<rtti::TypeInfo>& components)
const override;
49 virtual const glm::mat4& getProjectionMatrix()
const = 0;
55 virtual const glm::mat4 getViewMatrix()
const = 0;
74 glm::vec3 screenToWorld(
const glm::vec3& screenPos,
const math::Rect& viewport);
82 glm::vec3 worldToScreen(
const glm::vec3& worldPos,
const math::Rect& viewport);
91 glm::vec3 rayFromScreen(
const glm::vec2& screenPos,
const math::Rect& viewport);
101 virtual float getNearClippingPlane()
const = 0;
106 virtual float getFarClippingPlane()
const = 0;
114 virtual const glm::mat4& getRenderProjectionMatrix()
const = 0;
117 glm::ivec2 mRenderTargetSize = { 1, 1 };