MIRA
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
MeshMarker Class Referenceabstract

Mesh marker. More...

#include <model/Marker.h>

Inheritance diagram for MeshMarker:
Inheritance graph
[legend]

Public Member Functions

 MeshMarker ()
 
 MeshMarker (const std::string &file, bool forceReload=false)
 
template<typename Reflector >
void reflect (Reflector &r)
 
Class const & getClass () const
 

Static Public Member Functions

static PseudoClass const & CLASS ()
 

Public Attributes

std::string meshFile
 
bool forceReloadResources
 
Pose3 position
 
Color::RGBA color
 
Size3f scale
 

Protected Member Functions

virtual Class const & internalGetClass () const=0
 

Detailed Description

Mesh marker.

This will create a marker from an arbitrary mesh. The filename is the full path to a mesh file. ALL mesh files from the given file's directory will be loaded to the OGRE resource manager first, before the named mesh is created. This import is done only once per directory, when the first mesh from a directory is created, unless forceReload is true.

Constructor & Destructor Documentation

◆ MeshMarker() [1/2]

MeshMarker ( )
inline

◆ MeshMarker() [2/2]

MeshMarker ( const std::string &  file,
bool  forceReload = false 
)
inline

Member Function Documentation

◆ reflect()

void reflect ( Reflector &  r)
inline

Member Data Documentation

◆ meshFile

std::string meshFile

◆ forceReloadResources

bool forceReloadResources

◆ position

Pose3 position
inherited

◆ color

Color::RGBA color
inherited

◆ scale

Size3f scale
inherited

The documentation for this class was generated from the following file: