Defines a bundle file that contains a collection of assets.
More...
Defines a bundle file that contains a collection of assets.
Mesh, Material, MeshSkin, Animation There are two types of bundle files, c3t and c3b. c3t text file c3b binary file
virtual bool load |
( |
const std::string & |
path | ) |
|
|
virtual |
load a file.
You must load a file first, then call loadMeshData, loadSkinData, and so on
- Parameters
-
- Returns
- result of load
virtual bool loadSkinData |
( |
const std::string & |
id, |
|
|
SkinData * |
skindata |
|
) |
| |
|
virtual |
load skin data from bundle
- Parameters
-
id | The ID of the skin, load the first Skin in the bundle if it is empty |
virtual bool loadAnimationData |
( |
const std::string & |
id, |
|
|
Animation3DData * |
animationdata |
|
) |
| |
|
virtual |
load material data from bundle
- Parameters
-
id | The ID of the animation, load the first animation in the bundle if it is empty |
static std::vector<Vec3>
getTrianglesList |
( |
const std::string & |
path | ) |
|
|
static |
load triangle list
- Parameters
-
path | the file path to load |
The documentation for this class was generated from the following file: