My Project
Public Member Functions | List of all members
ParaEngine::ColladaModelLoader Class Reference

loading collada model to internal format. More...

#include <ColladaModelLoader.h>

Public Member Functions

ParaXEntityLoadSingleEntity (const char *filename)
 load the collada file as a single ParaXEntity. More...
 
int LoadMultipleInstances (const char *filename)
 load the collada scene instances to the current scene. More...
 

Detailed Description

loading collada model to internal format.

Collada model will be converted to MeshEntity or ParaXEntity. The latter are the original format used by ParaEngine

Member Function Documentation

§ LoadMultipleInstances()

int ParaEngine::ColladaModelLoader::LoadMultipleInstances ( const char *  filename)

load the collada scene instances to the current scene.

each mesh instance in the file is treated as a single object, and the mesh library is exported to parax file as filename::meshname.x and all textures are converted to dds.

Returns
: the number of instances created is returned.

§ LoadSingleEntity()

ParaXEntity * ParaEngine::ColladaModelLoader::LoadSingleEntity ( const char *  filename)

load the collada file as a single ParaXEntity.

the scene is exported to x file as filename.x and all textures are converted to dds.

Returns
: the ParaXEntity is created.

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