|
Assimp
v4.1. (December 2018)
|
A set of primitives to be rendered. A node can contain one or more meshes. A node's transform places the mesh in the scene. More...
Inherits glTF::Object.
Classes | |
| struct | Primitive |
| struct | SExtension |
Public Types | |
| typedef std::vector< Ref< Accessor > > | AccessorList |
Public Member Functions | |
| Mesh () | |
| void | Read (Value &pJSON_Object, Asset &pAsset_Root) |
| ~Mesh () | |
Public Member Functions inherited from glTF::Object | |
| virtual bool | IsSpecial () const |
| Objects marked as special are not exported (used to emulate the binary body buffer) More... | |
| virtual | ~Object () |
Public Attributes | |
| std::list< SExtension * > | Extension |
| List of extensions used in mesh. More... | |
| std::vector< Primitive > | primitives |
Public Attributes inherited from glTF::Object | |
| std::string | id |
| The globally unique ID used to reference this object. More... | |
| std::string | name |
| The user-defined name of this object. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from glTF::Object | |
| static const char * | TranslateId (Asset &, const char *id) |
| Maps special IDs to another ID, where needed. Subclasses may override it (statically) More... | |
A set of primitives to be rendered. A node can contain one or more meshes. A node's transform places the mesh in the scene.
| typedef std::vector< Ref<Accessor> > glTF::Mesh::AccessorList |
|
inline |
|
inline |
Destructor.
Get mesh data from JSON-object and place them to root asset.
| [in] | pJSON_Object | - reference to pJSON-object from which data are read. |
| [out] | pAsset_Root | - reference to root assed where data will be stored. |
| std::list<SExtension*> glTF::Mesh::Extension |
List of extensions used in mesh.
| std::vector<Primitive> glTF::Mesh::primitives |