40 : _resRef(resRef.toLower()) {
41 load(resRef, x, y, z);
55 _model->setPosition(x, y, z);
virtual void show()
Show the object.
Room(const Common::UString &resRef, float x, float y, float z)
virtual void hide()
Hide the object.
A class holding an UTF-8 string.
void reset(PointerType o=0)
Resets the pointer with the new value.
A room within a Star Wars: Knights of the Old Republic area.
float evaluateElevation(float x, float y, bool highlight=false)
Common::ScopedPtr< Graphics::Aurora::Model > _model
void setInvisible(bool invisible)
void disableWalkmeshHighlight()
Basic exceptions to throw.
const char * c_str() const
Return the (utf8 encoded) string data.
Common::UString getResRef() const
void setWalkmeshInvisible(bool invisible)
void highlightFace(uint32 index)
Highlight face with specified index.
void load(const Common::UString &resRef, float x, float y, float z)
Graphics::Aurora::Model * loadModelObject(const Common::UString &resref, const Common::UString &texture)
float getElevationAt(float x, float y, uint32 &faceIndex) const
Return elevation at given coordinates or FLT_MIN if can't walk there.
void load(const Common::UString &resRef, ::Aurora::FileType type=::Aurora::kFileTypeWOK, const glm::mat4 &transform=glm::mat4())
Generic Aurora engines model functions.