|  | 
|  | LM_COMPONENT_IMPL_DEF ("stub") | 
|  | 
| virtual int | NumVertices () const | 
|  | 
| virtual int | NumFaces () const | 
|  | 
| virtual const Math::Float * | Positions () const | 
|  | 
| virtual const Math::Float * | Normals () const | 
|  | 
| virtual const Math::Float * | TexCoords () const | 
|  | 
| virtual const unsigned int * | Faces () const | 
|  | 
| virtual bool | Load (const ConfigNode &node, const Assets &assets) | 
|  | 
|  | LM_ASSET_INTERFACE_DEF ("triangle_mesh","triangle_meshes") | 
|  | 
|  | LM_ASSET_NO_DEPENDENCIES () | 
|  | 
| LM_PUBLIC_API std::string | ID () const | 
|  | 
| LM_HIDDEN_API void | SetID (const std::string &id) | 
|  | 
| virtual std::string | ComponentInterfaceTypeName () const =0 | 
|  | 
| virtual std::string | ComponentImplTypeName () const =0 | 
|  | 
| void * | operator new (std::size_t size)  throw (std::bad_alloc) | 
|  | 
| void | operator delete (void *p) | 
|  | 
|  | 
| std::vector< Math::Float > | positions | 
|  | 
| std::vector< Math::Float > | normals | 
|  | 
| std::vector< Math::Float > | texcoords | 
|  | 
| std::vector< unsigned int > | faces | 
|  | 
  
  | 
        
          | virtual const unsigned int* StubTriangleMesh::Faces | ( |  | ) | const |  | inlinevirtual | 
 
Get the face array. 
- Returns
- The face array. 
Implements TriangleMesh.
 
 
  
  | 
        
          | virtual bool StubTriangleMesh::Load | ( | const ConfigNode & | node, |  
          |  |  | const Assets & | assets |  
          |  | ) |  |  |  | inlinevirtual | 
 
Load an asset. Configure and initialize the asset by the XML elements given by #node. Some assets have references to the other assets, so #assets is also required. Dependent asset must be loaded beforehand. 
- Parameters
- 
  
    | node | XML node for the configuration. |  | assets | Asset manager. |  | true | Succeeded to load. |  | false | Failed to load. |  
 
Implements Asset.
 
 
  
  | 
        
          | virtual const Math::Float* StubTriangleMesh::Normals | ( |  | ) | const |  | inlinevirtual | 
 
Get the normal array. 
- Returns
- The normal array. 
Implements TriangleMesh.
 
 
  
  | 
        
          | virtual int StubTriangleMesh::NumFaces | ( |  | ) | const |  | inlinevirtual | 
 
Get the number of faces. 
- Returns
- The number of faces. 
Implements TriangleMesh.
 
 
  
  | 
        
          | virtual int StubTriangleMesh::NumVertices | ( |  | ) | const |  | inlinevirtual | 
 
Get the number of vertices. 
- Returns
- The number of vertices. 
Implements TriangleMesh.
 
 
  
  | 
        
          | virtual const Math::Float* StubTriangleMesh::Positions | ( |  | ) | const |  | inlinevirtual | 
 
Get the position array. 
- Returns
- The position array. 
Implements TriangleMesh.
 
 
  
  | 
        
          | virtual const Math::Float* StubTriangleMesh::TexCoords | ( |  | ) | const |  | inlinevirtual | 
 
Get the texture coordinates array. 
- Returns
- The texture coordinates array. 
Implements TriangleMesh.
 
 
The documentation for this class was generated from the following file: