Assimp  v4.1. (December 2018)
glTF::Object Struct Reference

Base class for all glTF top-level objects. More...

Inherited by glTF::Accessor, glTF::Animation, glTF::Buffer, glTF::BufferView, glTF::Camera, glTF::Image, glTF::Light, glTF::Material, glTF::Mesh, glTF::Node, glTF::Program, glTF::Sampler, glTF::Scene, glTF::Shader, glTF::Skin, glTF::Technique, and glTF::Texture.

Public Member Functions

virtual bool IsSpecial () const
 Objects marked as special are not exported (used to emulate the binary body buffer) More...
 
virtual ~Object ()
 

Static Public Member Functions

static const char * TranslateId (Asset &, const char *id)
 Maps special IDs to another ID, where needed. Subclasses may override it (statically) More...
 

Public Attributes

std::string id
 The globally unique ID used to reference this object. More...
 
std::string name
 The user-defined name of this object. More...
 

Detailed Description

Base class for all glTF top-level objects.

Constructor & Destructor Documentation

◆ ~Object()

virtual glTF::Object::~Object ( )
inlinevirtual

Member Function Documentation

◆ IsSpecial()

virtual bool glTF::Object::IsSpecial ( ) const
inlinevirtual

Objects marked as special are not exported (used to emulate the binary body buffer)

Reimplemented in glTF::Buffer.

◆ TranslateId()

static const char* glTF::Object::TranslateId ( Asset ,
const char *  id 
)
inlinestatic

Maps special IDs to another ID, where needed. Subclasses may override it (statically)

Member Data Documentation

◆ id

std::string glTF::Object::id

The globally unique ID used to reference this object.

◆ name

std::string glTF::Object::name

The user-defined name of this object.


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