|
My Project
|
Abstract class defining the interface for meta objects to be used with MetaObjectDataGrid. More...
#include <MetaObject.h>
Public Member Functions | |
| MetaObject (MetaWorldFragment *wf, const Vector3 &position) | |
| MetaObject (MetaWorldFragment *wf) | |
| virtual void | updateDataGrid (DataGrid *dataGrid)=0 |
| Tells the meta object to update the data grid. More... | |
| const Vector3 & | getPosition () const |
| Returns the position of the meta object. | |
| void | setPosition (const Vector3 &position) |
| Sets the position of the meta object. | |
| MetaWorldFragment * | getMetaWorldFragment () const |
| Returns the MetaWorldFragment* of the meta object. | |
| virtual CShapeAABB | getAABB () const =0 |
| Checks for overlap with an AABB. | |
Public Member Functions inherited from ParaEngine::CRefCounted | |
| void | addref () const |
| add reference count of the object. More... | |
| bool | delref () const |
| decrease reference count of the object. More... | |
| int | GetRefCount () const |
| get the reference count | |
| virtual int | Release () |
| CRefCounted * | AddToAutoReleasePool () |
| addref and releases the ownership sometime soon automatically (usually at the end of the current frame). More... | |
Protected Attributes | |
| Vector3 | mPosition |
| MetaWorldFragment * | mMetaWorldFragment |
Protected Attributes inherited from ParaEngine::CRefCounted | |
| int | m_refcount |
Abstract class defining the interface for meta objects to be used with MetaObjectDataGrid.
it is a reference counted object
|
pure virtual |
Tells the meta object to update the data grid.
Implemented in ParaEngine::MetaHeightmap, and ParaEngine::MetaBall.
1.8.12