Urho3D
Classes | Enumerations | Functions
LogicComponent.h File Reference
#include "../Container/FlagSet.h"
#include "../Scene/Component.h"

Classes

class  Urho3D::LogicComponent
 Helper base class for user-defined game logic components that hooks up to update events and forwards them to virtual functions similar to ScriptInstance class. More...
 

Enumerations

enum class  Urho3D::LogicComponentEvents {
  None = 0 , Update = 1 << 0 , PostUpdate = 1 << 1 , FixedUpdate = 1 << 2 ,
  FixedPostUpdate = 1 << 3 , All = Update | PostUpdate | FixedUpdate | FixedPostUpdate
}
 

Functions

 Urho3D::URHO3D_FLAGS (LogicComponentEvents)
 

Enumeration Type Documentation

◆ LogicComponentEvents

enum class Urho3D::LogicComponentEvents
strong
Enumerator
None 

Not use any events.

Update 

Use the scene update event.

PostUpdate 

Use the scene post-update event.

FixedUpdate 

Use the physics update event.

FixedPostUpdate 

Use the physics post-update event.

All 

Use all events.