Base class for all glTF top-level objects.
More...
Inherited by glTF2::Accessor, glTF2::Animation, glTF2::Buffer, glTF2::BufferView, glTF2::Camera, glTF2::Image, glTF2::Light, glTF2::Material, glTF2::Mesh, glTF2::Node, glTF2::Program, glTF2::Sampler, glTF2::Scene, glTF2::Shader, glTF2::Skin, and glTF2::Texture.
|
virtual bool | IsSpecial () const |
| Objects marked as special are not exported (used to emulate the binary body buffer) More...
|
|
virtual | ~Object () |
|
|
static const char * | TranslateId (Asset &, const char *id) |
| Maps special IDs to another ID, where needed. Subclasses may override it (statically) More...
|
|
|
std::string | id |
| The globally unique ID used to reference this object. More...
|
|
int | index |
| The index of this object within its property container. More...
|
|
std::string | name |
| The user-defined name of this object. More...
|
|
int | oIndex |
| The original index of this object defined in the JSON. More...
|
|
Base class for all glTF top-level objects.
◆ ~Object()
virtual glTF2::Object::~Object |
( |
| ) |
|
|
inlinevirtual |
◆ IsSpecial()
virtual bool glTF2::Object::IsSpecial |
( |
| ) |
const |
|
inlinevirtual |
Objects marked as special are not exported (used to emulate the binary body buffer)
Reimplemented in glTF2::Buffer.
◆ TranslateId()
static const char* glTF2::Object::TranslateId |
( |
Asset & |
, |
|
|
const char * |
id |
|
) |
| |
|
inlinestatic |
Maps special IDs to another ID, where needed. Subclasses may override it (statically)
◆ id
std::string glTF2::Object::id |
The globally unique ID used to reference this object.
◆ index
The index of this object within its property container.
◆ name
std::string glTF2::Object::name |
The user-defined name of this object.
◆ oIndex
int glTF2::Object::oIndex |
The original index of this object defined in the JSON.
The documentation for this struct was generated from the following file: