Assimp  v3.1.1 (June 2014)
glTF::Mesh Struct Reference

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
 

Public Types

typedef std::vector< Ref< Accessor > > AccessorList
 

Public Member Functions

 Mesh ()
 
void Read (Value &obj, Asset &r)
 
- 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::vector< Primitiveprimitives
 
- 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 &r, const char *id)
 Maps special IDs to another ID, where needed. Subclasses may override it (statically) More...
 

Detailed Description

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.

Member Typedef Documentation

§ AccessorList

typedef std::vector< Ref<Accessor> > glTF::Mesh::AccessorList

Constructor & Destructor Documentation

§ Mesh()

glTF::Mesh::Mesh ( )
inline

Member Function Documentation

§ Read()

void glTF::Mesh::Read ( Value obj,
Asset r 
)
inline

Member Data Documentation

§ primitives

std::vector<Primitive> glTF::Mesh::primitives

The documentation for this struct was generated from the following files: