A3DAsmModelFileExportToGltfFile

A3DStatus A3DAsmModelFileExportToGltfFile(const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportGltfData *pParamsExportData, const A3DUTF8Char *pcCADFileName)
A3DStatus A3DAsmModelFileExportToGltfFile(const A3DAsmModelFile* pA3DAsmModelFile, const A3DRWParamsExportGltfData* pParamsExportData, const A3DUTF8Char* pcCADFileName)

Writes a model file to a physical file in GLTF/GLB format.

This function writes the A3DAsmModelFile entity to a physical file.

Parameters

pA3DAsmModelFile: References the A3DAsmModelFile to be written out.

pParamsExportData: References the parameters for export.

pcCADFileName: References the path of the file into which the function stores the model file.

Returns

A3D_SUCCESS in case of success or an error code