#include <staticmeshactorproxy.h>

Public Member Functions | |
| StaticMeshActorProxy () | |
| virtual void | BuildPropertyMap () |
| Adds the properties for static mesh actors. | |
| virtual void | LoadFile (const std::string &fileName) |
| Loads a mesh file and dynamically generates texture slots so the textures in the mesh can be specified by the user. | |
| virtual const ActorProxy::RenderMode & | GetRenderMode () |
| Gets the method by which this static mesh is rendered. | |
| virtual dtDAL::ActorProxyIcon * | GetBillBoardIcon () |
| Gets the billboard used to represent static meshes if this proxy's render mode is RenderMode::DRAW_BILLBOARD_ICON. | |
Protected Member Functions | |
| virtual void | CreateActor () |
| Creates a dtCore::Object and assigns a default name to it. | |
| virtual | ~StaticMeshActorProxy () |
| Destructor. | |
A static mesh contains geometry and textures representing an object in the scene such as a chair,a desk, a tree, a boulder, etc. Note that this class will instance geometry. So changes to one model at runtime will happen to all of them. Since this class is normally used for static objects (trees, buildings, etc) if you are using the same resource then you probably want to share geometry in memory for efficiency.
| dtActors::StaticMeshActorProxy::StaticMeshActorProxy | ( | ) | [inline] |
| dtActors::StaticMeshActorProxy::~StaticMeshActorProxy | ( | ) | [protected, virtual] |
Destructor.
| void dtActors::StaticMeshActorProxy::BuildPropertyMap | ( | ) | [virtual] |
| void dtActors::StaticMeshActorProxy::LoadFile | ( | const std::string & | fileName | ) | [virtual] |
Loads a mesh file and dynamically generates texture slots so the textures in the mesh can be specified by the user.
| fileName | The filename of the mesh to load. |
Implements dtActors::DeltaObjectActorProxy.
| const dtDAL::ActorProxy::RenderMode & dtActors::StaticMeshActorProxy::GetRenderMode | ( | ) | [virtual] |
Gets the method by which this static mesh is rendered.
Reimplemented from dtDAL::ActorProxy.
| dtDAL::ActorProxyIcon * dtActors::StaticMeshActorProxy::GetBillBoardIcon | ( | ) | [virtual] |
Gets the billboard used to represent static meshes if this proxy's render mode is RenderMode::DRAW_BILLBOARD_ICON.
Reimplemented from dtDAL::ActorProxy.
| void dtActors::StaticMeshActorProxy::CreateActor | ( | ) | [protected, virtual] |
Creates a dtCore::Object and assigns a default name to it.
Reimplemented from dtActors::DeltaObjectActorProxy.