Torque 3D 3.7
ContentsIndexHome
PreviousUpNext
EngineObject Class
EngineObjectEngineObjectEngineObject
Syntax
C++
class EngineObject : public StrongRefBase;

Base class for all objects that may be passed to the control layer. 

A set of rules applies to all EngineObject-derived classes: 

  • Every EngineObject class must have a default constructor.
  • The default constructor and the destructor of every EngineObject class must be public.
  • If an EngineObject class inherits from multiple classes, the class leading back to EngineObject must be the @b first class in the list to ensure binary-compatible class layouts.
  • EngineObjects are cooperatively reference-counted by both the engine as well as the control layer.
 

Copyright (c) 2015. All rights reserved.
What do you think about this topic? Send feedback!