omegalib
13.1
|
A specialied EngineModule used to control objects in a scene and define custom behaviors. More...
#include <Actor.h>
Public Member Functions | |
Actor (const String &name) | |
Actor () | |
void | kill () |
void | setSceneNode (SceneNode *node) |
SceneNode * | getSceneNode () |
virtual void | update (const UpdateContext &context) |
virtual void | handleEvent (const Event &evt) |
virtual bool | handleCommand (const String &cmd) |
virtual void | onUpdate (const UpdateContext &context) |
Callbacks These callbacks can be enabled / disabled using the corresponding callback filter functions. More... | |
virtual void | onEvent (const Event &evt) |
virtual bool | onCommand (const String &cmd) |
void | setUpdateEnabled (bool value) |
Callback filter functions. More... | |
void | setCommandsEnabled (bool value) |
void | setEventsEnabled (bool value) |
bool | isUpdateEnabled () |
bool | areCommandsEnabled () |
bool | areEventsEnabled () |
Public Member Functions inherited from omega::EngineModule | |
EngineModule (const String &name) | |
EngineModule () | |
virtual | ~EngineModule () |
void | requestOpenGLProfile (OpenGLProfile profile) |
This method can be used within an engine module ctor or initialization to test for module compatibility. More... | |
void | enableSharedData () |
void | disableSharedData () |
virtual void | initialize () |
virtual void | dispose () |
virtual void | commitSharedData (SharedOStream &out) |
virtual void | updateSharedData (SharedIStream &in) |
virtual void | initializeRenderer (Renderer *) |
void | doInitialize (Engine *server) |
void | doDispose () |
virtual bool | isInitialized () |
Engine * | getEngine () |
Priority | getPriority () |
void | setPriority (Priority value) |
const String & | getName () |
Public Member Functions inherited from omicron::ReferenceType | |
ReferenceType () | |
virtual | ~ReferenceType () |
void | ref () |
void | unref () |
long | refCount () |
Protected Attributes | |
SceneNode * | myNode |
bool | myUpdateEnabled |
bool | myEventsEnabled |
bool | myCommandsEnabled |
Additional Inherited Members | |
Public Types inherited from omega::EngineModule | |
enum | Priority { PriorityLowest = 0, PriorityLow = 1, PriorityNormal = 2, PriorityHigh = 3, PriorityHighest = 4 } |
enum | OpenGLProfile { CoreProfile, CompatibilityProfile, UnspecifiedProfile } |
Static Public Member Functions inherited from omicron::ReferenceType | |
static void | printObjCounts () |
Static Protected Attributes inherited from omicron::ReferenceType | |
static List< ReferenceType * > | mysObjList |
A specialied EngineModule used to control objects in a scene and define custom behaviors.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented from omega::EngineModule.
|
inlinevirtual |
Reimplemented from omega::EngineModule.
Reimplemented in omega::TrackedObject.
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Callbacks These callbacks can be enabled / disabled using the corresponding callback filter functions.
|
inline |
|
inline |
|
inline |
|
inline |
Callback filter functions.
|
inlinevirtual |
Reimplemented from omega::EngineModule.
Reimplemented in omegaToolkit::WandManipulator, omega::TrackedObject, omegaToolkit::ControllerManipulator, and omegaToolkit::MouseManipulator.
|
protected |
|
protected |
|
protected |
|
protected |