ezEngine  Milestone 7
ezTransformComponent Class Reference
Inheritance diagram for ezTransformComponent:

Public Member Functions

bool GetAnimatingAtStartup (void) const
 
void SetAnimatingAtStartup (bool b)
 
bool GetAutoReturnStart (void) const
 
void SetAutoReturnStart (bool b)
 
bool GetAutoReturnEnd (void) const
 
void SetAutoReturnEnd (bool b)
 
bool GetAutoToggleDirection (void) const
 
void SetAutoToggleDirection (bool b)
 
void ResumeAnimation ()
 
void SetAnimationPaused (bool bPaused)
 
void SetDirectionForwards (bool bForwards)
 
void ReverseDirection ()
 
bool IsDirectionForwards () const
 
bool IsAnimationRunning () const
 
- Public Member Functions inherited from ezComponent
bool IsDynamic () const
 Returns whether this component is dynamic and thus can only be attached to dynamic game objects.
 
void SetActive (bool bActive)
 Sets the active state of the component. Note that it is up to the manager if he differentiates between active and inactive components.
 
void Activate ()
 Activates the component. Note that it is up to the manager if he differentiates between active and inactive components.
 
void Deactivate ()
 Deactivates the component.
 
bool IsActive () const
 Returns whether this component is active.
 
ezComponentManagerBaseGetManager () const
 Returns the corresponding manager for this component.
 
ezGameObjectGetOwner ()
 Returns the owner game object if the component is attached to one or nullptr.
 
const ezGameObjectGetOwner () const
 Returns the owner game object if the component is attached to one or nullptr.
 
ezComponentHandle GetHandle () const
 Returns a handle to this component.
 
- Public Member Functions inherited from ezReflectedClass
EZ_FORCE_INLINE bool IsInstanceOf (const ezRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T >
EZ_FORCE_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.
 
virtual void Serialize (ezArchiveWriter &stream) const
 This function is called to serialize the instance. More...
 
virtual void Deserialize (ezArchiveReader &stream)
 This function is called to deserialize the instance. More...
 
virtual void OnDeserialized ()
 This function is called after all objects are deserialized and thus all references to other objects are valid. More...
 

Public Attributes

float m_fAnimationSpeed
 
- Public Attributes inherited from ezComponent
ezUInt32 m_uiEditorPickingID
 

Protected Attributes

ezBitflags
< ezTransformComponentFlags
m_Flags
 
ezTime m_AnimationTime
 
- Protected Attributes inherited from ezComponent
ezBitflags< ezObjectFlagsm_Flags
 

Private Member Functions

 EZ_ADD_DYNAMIC_REFLECTION (ezTransformComponent)
 

Additional Inherited Members

- Static Public Member Functions inherited from ezComponent
static ezUInt16 TypeId ()
 Returns the type id corresponding to this component type.
 
static ezUInt16 GetNextTypeId ()
 Gets the next component id for a new type. Internal use only.
 
- Protected Member Functions inherited from ezComponent
 ezComponent ()
 Keep the constructor private or protected in derived classes, so it cannot be called manually.
 
template<typename T >
ezComponentHandle GetHandle () const
 

The documentation for this class was generated from the following files: