|
| TestCAO (Client *client, ClientEnvironment *env) |
|
virtual | ~TestCAO ()=default |
|
ActiveObjectType | getType () const |
|
void | addToScene (ITextureSource *tsrc, scene::ISceneManager *smgr) |
|
void | removeFromScene (bool permanent) |
|
void | updateLight (u32 day_night_ratio) |
|
void | updateNodePos () |
|
void | step (float dtime, ClientEnvironment *env) |
|
void | processMessage (const std::string &data) |
|
bool | getCollisionBox (aabb3f *toset) const |
|
| ClientActiveObject (u16 id, Client *client, ClientEnvironment *env) |
|
virtual | ~ClientActiveObject () |
|
virtual bool | getSelectionBox (aabb3f *toset) const |
|
virtual bool | collideWithObjects () const |
|
virtual const v3f | getPosition () const |
|
virtual const v3f | getVelocity () const |
|
virtual scene::ISceneNode * | getSceneNode () const |
|
virtual scene::IAnimatedMeshSceneNode * | getAnimatedMeshSceneNode () const |
|
virtual bool | isLocalPlayer () const |
|
virtual ClientActiveObject * | getParent () const |
|
virtual const std::unordered_set< object_t > & | getAttachmentChildIds () const |
|
virtual void | updateAttachments () |
|
virtual bool | doShowSelectionBox () |
|
virtual std::string | infoText () |
|
virtual std::string | debugInfoText () |
|
virtual void | initialize (const std::string &data) |
|
virtual bool | directReportPunch (v3f dir, const ItemStack *punchitem=nullptr, float time_from_last_punch=1000000) |
|
| ActiveObject (object_t id) |
|
object_t | getId () const |
|
void | setId (object_t id) |
|
virtual void | setAttachment (object_t parent_id, const std::string &bone, v3f position, v3f rotation, bool force_visible) |
|
virtual void | getAttachment (object_t *parent_id, std::string *bone, v3f *position, v3f *rotation, bool *force_visible) const |
|
virtual void | clearChildAttachments () |
|
virtual void | clearParentAttachment () |
|
virtual void | addAttachmentChild (object_t child_id) |
|
virtual void | removeAttachmentChild (object_t child_id) |
|
◆ TestCAO()
◆ ~TestCAO()
virtual TestCAO::~TestCAO |
( |
| ) |
|
|
virtualdefault |
◆ addToScene()
void TestCAO::addToScene |
( |
ITextureSource * | tsrc, |
|
|
scene::ISceneManager * | smgr ) |
|
virtual |
◆ create()
◆ getCollisionBox()
bool TestCAO::getCollisionBox |
( |
aabb3f * | toset | ) |
const |
|
inlinevirtual |
Returns the collision box of the object. This box is translated by the object's location. The box's coordinates are world coordinates.
- Returns
- true if the object has a collision box.
Reimplemented from ClientActiveObject.
◆ getType()
◆ processMessage()
void TestCAO::processMessage |
( |
const std::string & | data | ) |
|
|
virtual |
◆ removeFromScene()
void TestCAO::removeFromScene |
( |
bool | permanent | ) |
|
|
virtual |
◆ step()
◆ updateLight()
void TestCAO::updateLight |
( |
u32 | day_night_ratio | ) |
|
|
virtual |
◆ updateNodePos()
void TestCAO::updateNodePos |
( |
| ) |
|
◆ m_node
scene::IMeshSceneNode* TestCAO::m_node |
|
private |
◆ m_position
The documentation for this class was generated from the following file: