#include <rotatecomponent.h>
Public Member Functions | |
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 | |
RotateProperties | mProperties |
Property: 'Properties' Rotation settings. More... | |
bool | mEnabled = true |
Property: 'Enabled' If rotation is enabled. 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 rotate component. Automatically rotates the entity along a certain axis at a certain speed. The initial rotation value after initialization is used to rotate along the specified axis. This component updates (overrides) the rotate value of the transform component. Entities that use this component must have a transform.
|
overridevirtual |
Uses transform to rotate itself in the world.
Reimplemented from Component.
bool mEnabled = true |
Property: 'Enabled' If rotation is enabled.
RotateProperties mProperties |
Property: 'Properties' Rotation settings.