#include <orthocontroller.h>
Public Member Functions | |
virtual void | getDependentComponents (std::vector< rtti::TypeInfo > &components) const override |
![]() | |
virtual const rtti::TypeInfo | getInstanceType () const =0 |
![]() | |
Resource () | |
![]() | |
Object () | |
virtual | ~Object () |
virtual bool | init (utility::ErrorState &errorState) |
virtual void | onDestroy () |
Object (Object &)=delete | |
Object & | operator= (const Object &)=delete |
Object (Object &&)=delete | |
Object & | operator= (Object &&)=delete |
Public Attributes | |
float | mZoomSpeed = 0.5f |
Property: "ZoomSpeed" The speed with which to move. More... | |
ComponentPtr< OrthoCameraComponent > | mOrthoCameraComponent |
Property: "OrthoCameraComponent" Camera that we're controlling. More... | |
![]() | |
std::string | mID |
Property: 'mID' unique name of the object. Used as an identifier by the system. More... | |
Additional Inherited Members | |
![]() | |
static bool | isIDProperty (rtti::Instance &object, const rtti::Property &property) |
Resource part of the orthographic controller. Adds Orthographic camera control to the entity it is attached to. It uses the TransformComponent to move the entity and the InputComponent to receive input. These components are required to be present on the same entity. Hold left mouse button to pan, right mouse button to zoom.
|
overridevirtual |
Get the types of components on which this component depends
Reimplemented from Component.
ComponentPtr<OrthoCameraComponent> mOrthoCameraComponent |
Property: "OrthoCameraComponent" Camera that we're controlling.
float mZoomSpeed = 0.5f |
Property: "ZoomSpeed" The speed with which to move.