File MeshTools.h¶
-
namespace
Ogre
File: MovableText.h
Description: This creates a billboarding object that display a text. Note: This object must have a dedicated scene node since it will rotate it to face the camera (OGRE 2.1)
- Author
2003 by cTh see gavocanov@rambler.ru 2006 by barraq see nospam@barraquand.com 2012 to work with newer versions of OGRE by MindCalamity mindcalamity@gmail.com 2015 to work on OGRE 2.1 (but not on older versions anymore) by Jayray jeremy.richert1@gmail.com
-
class
MeshInformation
- #include <MeshTools.h>
A single mesh information
Public Types
Public Functions
-
MeshInformation
()¶
-
~MeshInformation
()¶
-
void
allocate
(size_t vertexCount, size_t indexCount, MeshInformation::Flags flags)¶ Allocates MeshInformation data arrays
-
-
class
MeshTools
: public Ogre::Singleton<MeshTools> - #include <MeshTools.h>
Provides cached access to raw mesh data
Public Functions
-
MeshTools
()¶
-
virtual
~MeshTools
()¶
-
bool
getMeshInformation
(Ogre::MovableObject *object, MeshInformation &dest, Ogre::Matrix4 transform, MeshInformation::Flags flags = MeshInformation::Default)¶ Gets movable object mesh information, if eligible
- Return
false if not eligible to get this information
-
bool
getMeshInformation
(Ogre::MovableObject *object, MeshInformation &dest, const Ogre::Vector3 &position, const Ogre::Quaternion &orient, const Ogre::Vector3 &scale, MeshInformation::Flags flags = MeshInformation::Default)¶ Gets movable object mesh information, if eligible
- Return
false if not eligible to get this information
-
void
getMeshInformation
(OgreV1::MeshPtr mesh, MeshInformation &dest, const Ogre::Matrix4 &transform, MeshInformation::Flags flags = MeshInformation::Default)¶ Gets v1 mesh information
-