#include <animatedsubmesh.h>
Inheritance diagram for AnimatedSubMesh:


Public Types | |
| enum | SUBMESHTYPE { SUBMESH = 0x0001, ANIMATEDSUBMESH = 0x0002, SKELETALSUBMESH = 0x0003, PATCHSURFACE = 0x0004 } |
| Supported sub mesh types. More... | |
Public Member Functions | |
| AnimatedSubMesh () | |
| AnimatedSubMesh (const AnimatedSubMesh &rkSubMesh) | |
| virtual | ~AnimatedSubMesh () |
| virtual void | Update (float fDeltaTime) |
| virtual SubMesh * | Duplicate () const |
| virtual unsigned int | GetType () const |
| virtual VertexBufferPtr & | GetVertexBuffer () |
| virtual PolygonBufferPtr & | GetPolygonBuffer () |
| virtual void | SetVertexBuffer (VertexBufferPtr pkVertices) |
| virtual void | SetPolygonBuffer (PolygonBufferPtr pkPolygons) |
| virtual void | SetShadowVertexBuffer (VertexBufferPtr pkVertices) |
| virtual void | SetShadowPolygonBuffer (PolygonBufferPtr pkPolygons) |
| virtual void | Render (RenderPrimitive *pkPrimitive, Frustum *pkFrustum=0) |
| bool | IsActive () const |
| virtual void | Activate () |
| virtual void | Deactivate () |
| bool | Toggle () |
| void | InterpolateVertices (VertexBufferPtr pkBuffer) |
| virtual bool | AddAnimation (SubMeshAnimation *pkAnimation) |
| virtual bool | SetCurrentAnimation (unsigned int uiID) |
| virtual bool | SetCurrentAnimation (const HashString &rstrName) |
| const std::vector< SubMeshAnimation * > & | GetAnimations () const |
| SubMeshAnimation * | GetCurrentAnimation () |
Public Attributes | |
| MaterialPtr | m_pkMaterial |
| bool | m_bChanged |
Protected Member Functions | |
| virtual void | UpdateData () |
Protected Attributes | |
| VertexBufferPtr | m_pkVertices |
| PolygonBufferPtr | m_pkPolygons |
| bool | m_bNeedUpdate |
| VertexBufferPtr | m_pkShadowVertices |
| PolygonBufferPtr | m_pkShadowPolygons |
| bool | m_bActive |
| std::vector< SubMeshAnimation * > | m_vpkAnimations |
| unsigned int | m_uiCurAnim |
| SubMeshAnimation * | m_pkCurAnim |
|
|
Supported sub mesh types.
|
|
|
|
|
|
|
|
|
|
|
|
Update data Reimplemented from SubMesh. |
|
|
Update this submesh
Reimplemented from SubMesh. |
|
|
Reimplemented from SubMesh. |
|
|
Reimplemented from SubMesh. |
|
|
Reimplemented in SkeletalSubMesh. |
|
|
|
|
|
Reimplemented in PatchSurfaceSubMesh. |
|
|
Reimplemented in PatchSurfaceSubMesh. |
|
|
|
|
|
|
|
||||||||||||
|
Render submesh geometry
|
|
|
Query state of object
|
|
|
Activate object |
|
|
Deactivate object |
|
|
Toggle active state. This method does not need to be overloaded, it is only a wrapper to Activate and Deactivate
|
|
|
Interpolate vertices
|
|
|
Add new animation
|
|
|
Set current animation by ID
|
|
|
Set current animation by name
|
|
|
|
|
|
|
|
|
Vertex buffer |
|
|
Polygon buffer |
|
|
Flag indicating update needed |
|
|
Shadow vertex buffer |
|
|
Shadow polygon buffer |
|
|
|
Flag indicating geometry has changed |
|
|
Active flag |
|
|
Animations |
|
|
Current animation |
|
|
Current animation object ptr |
1.3.5