MOEntity

From MaratisWiki
Jump to: navigation, search


Contents

API

MMeshRef* MOEntity::m_meshRefNone

bool MOEntity::m_isInvisibleNone

unsigned int MOEntity::m_animationIdNone

int MOEntity::m_currentLoopNone

float MOEntity::m_animationSpeedNone

float MOEntity::m_currentFrameNone

MPhysicsProperties* MOEntity::m_physicsPropertiesNone

MBox3d MOEntity::m_boundingBoxNone

MOEntity::MOEntity(MMeshRef *meshRef)

MOEntity::~MOEntity(void)

MOEntity::MOEntity(const MOEntity &entity)

int MOEntity::getType(void)

void MOEntity::setActive(bool active)

void MOEntity::setInvisible(bool invisible)

bool MOEntity::isInvisible(void)

MMesh* MOEntity::getMesh(void)

void MOEntity::setMeshRef(MMeshRef *meshRef)

MMeshRef* MOEntity::getMeshRef(void)

void MOEntity::changeAnimation(unsigned int animationId)

bool MOEntity::isAnimationOver(void)

void MOEntity::setAnimationSpeed(float animationSpeed)

void MOEntity::setCurrentFrame(float currentFrame)

unsigned int MOEntity::getAnimationId(void)

float MOEntity::getAnimationSpeed(void)

float MOEntity::getCurrentFrame(void)

void MOEntity::deletePhysicsProperties(void)

MPhysicsProperties* MOEntity::createPhysicsProperties(void)

MPhysicsProperties* MOEntity::getPhysicsProperties(void)

MBox3d* MOEntity::getBoundingBox(void)

void MOEntity::update(void)

void MOEntity::updateVisibility(MOCamera *camera)


Example

MOEntity is one of the most important objects. It is associated with a mesh and can be moved and rotated around the scene. It can have physics, so it can collide with other objects. An entity can be anything from a character, an item, a weapon, a room.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox