graphicalwobject.h
60 GraphicalWObject(World* world, QString name = "unamed", const wMatrix& tm = wMatrix::identity());
81 void attachToObject(WObject* object, bool makeOwner = false, const wMatrix& displacement = wMatrix::identity());
An helper class to draw stuffs in the world.
Definition: graphicalwobject.h:48
const wMatrix & getDisplacement() const
Returns the displacement matrix relative to the object to which we are attached.
Definition: graphicalwobject.h:111
WObject * attachedObject() const
The object to which we are attached.
Definition: graphicalwobject.h:88