A3DAsmModelFileExportToPrcStream
-
A3DStatus
A3DAsmModelFileExportToPrcStream(const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportPrcData *pParamsExportData, A3DUTF8Char **pcStream, A3DUns32 *uLength, A3DRWParamsPrcWriteHelper **ppPrcWriteHelper) A3DStatusA3DAsmModelFileExportToPrcStream(constA3DAsmModelFile* pA3DAsmModelFile, constA3DRWParamsExportPrcData* pParamsExportData,A3DUTF8Char** pcStream,A3DUns32* uLength,A3DRWParamsPrcWriteHelper** ppPrcWriteHelper)Writes a model file to a stream buffer in a PRC format.
This function writes the
A3DAsmModelFileentity to a PRC stream buffer.Parameters
pA3DAsmModelFile: References the
A3DAsmModelFileto be written out.pParamsExportData: References the parameters for export.
pcStream: Buffer containing the PRC content.
uLength: Length of the pcStream.
ppPrcWriteHelper: Used to get PRC data such as unique identifiers of PRC nodes.
Returns
A3D_SUCCESSon success, or an error code on failure