#include <orthocontroller.h>
Public Member Functions | |
| virtual void | getDependentComponents (std::vector< rtti::TypeInfo > &components) const override |
Public Member Functions inherited from Component | |
| virtual const rtti::TypeInfo | getInstanceType () const =0 |
Public Member Functions inherited from Resource | |
| Resource () | |
Public Member Functions inherited from Object | |
| 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 | mMovementSpeed = 1.0f |
| Property: "MovementSpeed" The speed with which to move. More... | |
| float | mZoomSpeed = 0.005f |
| Property: "ZoomSpeed" The speed with which to zoom. More... | |
| ComponentPtr< OrthoCameraComponent > | mOrthoCameraComponent |
| Property: "OrthoCameraComponent" Camera that we're controlling. More... | |
Public Attributes inherited from Object | |
| std::string | mID |
| Property: 'mID' unique name of the object. Used as an identifier by the system. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Object | |
| 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.
| float mMovementSpeed = 1.0f |
Property: "MovementSpeed" The speed with which to move.
| ComponentPtr<OrthoCameraComponent> mOrthoCameraComponent |
Property: "OrthoCameraComponent" Camera that we're controlling.
| float mZoomSpeed = 0.005f |
Property: "ZoomSpeed" The speed with which to zoom.