Assimp
v3.1.1 (June 2014)
|
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 |
Extension used for mesh. More... | |
Public Types | |
typedef std::vector< Ref< Accessor > > | AccessorList |
Public Member Functions | |
Mesh () | |
void | Read (Value &pJSON_Object, Asset &pAsset_Root) |
Get mesh data from JSON-object and place them to root asset. More... | |
~Mesh () | |
Destructor. More... | |
![]() | |
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 |
![]() | |
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 const char * | TranslateId (Asset &r, 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 |