3DCoat  3D-COAT 4.9.xx
3DCoat is the one application that has all the tools you need to take your 3D idea from a block of digital clay all the way to a production ready, fully textured organic or hard surface model.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
gltf::gltfCodec Class Reference

Class of the gltf codec. More...

#include <gltfCodec.h>

Public Member Functions

virtual SceneContext * Decode (comms::cData &Fm)
 Decode the gltf file. More...
 
virtual bool Encode (SceneContextPtr Scene, comms::cData *To)
 Encode the scene into gltf file format. More...
 

Detailed Description

Class of the gltf codec.

Inherits cSceneCodec.

Member Function Documentation

SceneContext * gltf::gltfCodec::Decode ( comms::cData &  Fm)
virtual

Decode the gltf file.

Parameters
Fmdestination data
Returns
Pointer to the scene context
bool gltf::gltfCodec::Encode ( SceneContextPtr  Scene,
comms::cData *  To 
)
virtual

Encode the scene into gltf file format.

Parameters
Scenescene pointer
Todata to save
Returns

References gltf::gltfExporter::Export(), gltf::gltfExporter::SetActiveCamera(), and gltf::gltfExporter::SetTypeFormat().


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