40 #ifndef _graphicsentityproxy_h
41 #define _graphicsentityproxy_h
89 virtual void ProtoSerializeImpl(
XML::Node& SelfRoot)
const;
91 virtual void ProtoDeSerializeImpl(
const XML::Node& SelfRoot);
95 virtual void CreateEntity(
Mesh* ObjectMesh);
100 virtual void CreateEntity(
const String& MeshName,
const String& GroupName);
103 virtual void DestroyEntity();
138 virtual void AddToWorld();
140 virtual void RemoveFromWorld();
148 virtual void SetMesh(
const String& MeshName,
const String& Group);
151 virtual void SetMesh(
Mesh* ObjectMesh);
154 virtual Mesh* GetMesh()
const;
160 virtual void SetVisible(
const Boole Visible);
162 virtual Boole GetVisible()
const;
164 virtual void SetCastShadows(
const Boole CastShadows);
166 virtual Boole GetCastShadows()
const;
168 virtual Boole GetReceiveShadows()
const;
171 virtual void SetLightMask(
const UInt32 Mask);
173 virtual UInt32 GetLightMask()
const;
175 virtual void SetVisibilityMask(
const UInt32 Mask);
177 virtual UInt32 GetVisibilityMask()
const;
179 virtual void SetQueryMask(
const UInt32 Mask);
181 virtual UInt32 GetQueryMask()
const;
184 virtual void SetRenderDistance(
const Real Distance);
186 virtual Real GetRenderDistance()
const;
195 virtual void ProtoSerializeProperties(
XML::Node& SelfRoot)
const;
198 virtual void ProtoSerializeMesh(
XML::Node& SelfRoot)
const;
201 virtual void ProtoDeSerializeProperties(
const XML::Node& SelfRoot);
204 virtual void ProtoDeSerializeMesh(
const XML::Node& SelfRoot);
207 virtual String GetDerivedSerializableName()
const;
209 static String GetSerializableName();
217 virtual Ogre::Entity* _GetGraphicsObject()
const;
219 virtual Ogre::MovableObject* _GetBaseGraphicsObject()
const;
bool Boole
Generally acts a single bit, true or false.
Boole CanCastShadows
Stores whether or not this object can cast shadows on other objects.
This class contains utilities and functions to allow the manipulation of the Graphical scene...
This file contains the declaration for the base class from which graphics proxies inherit...
This class is used to check and modify the properties of a graphics mesh.
Ogre::Entity * GraphicsEntity
A pointer to the internal Entity this proxy is based on.
Boole SceneVisible
Stores whether or not this object should be rendered, regardless of other criteria.
This is the base proxy class for world proxies wrapping functionality of the graphics subsystem...
This is the proxy class for placing and manipulating a mesh in the scene.
UInt32 LightMask
A bitmask which will be compared against to determine which lights apply to this object.
float Real
A Datatype used to represent a real floating point number.
Mesh * ProxyMesh
A pointer to the mesh being used by this proxy.
A light-weight handle for manipulating nodes in DOM tree.
ProxyType
Used by all World proxies to describe what their derived types are.
uint32_t UInt32
An 32-bit unsigned integer.
Real RenderDist
Stores the maximum distance this object can be from the camera before it is clipped/culled.
The bulk of the engine components go in this namspace.
std::string String
A datatype used to a series of characters.