ExportZPac
@fn ExportZPac()
@brief Export ZPac file in the CLO temporary folder
@return Output file path. If an error occurs, return empty string. If filePath parameter is not given, output files will be created in CLO temporary folder.
ExportZPacW
@fn ExportZPacW(const wstring& _filePath)
@brief Export ZPac file
@param wstring _filePath : target file path in UNICODE
@return Output file path. If an error occurs, return empty string. If filePath parameter is not given, output files will be created in CLO temporary folder.
ExportZPrj
@fn ExportZPrj()
@brief Export ZPrj file
@return Output file path; output files will be created in CLO temporary folder.
ExportZPrjW
@fn ExportZPrjW(const wstring& _filePath, bool _bCreateThumbnail)
@brief Export ZPrj file
@param _filePath: output file path
@param _bCreateThumbnail: if _bCreateThumbnail is true, 'png' file will be created along 'zprj' file.
@return Output file path. If an error occurs, return empty wstring.
ExportOBJ
@fn ExportOBJ()
@brief Export OBJ file
@param options If "options" is given, it exports OBJ according to options, not allowing user for selecting options in Export Dialog.
@return Output file paths. It outputs the file paths of an OBJ file and multiple MTL files for colorways. If the value "bSaveInZip" in ImportExportOption is true, it outputs a file path of a zipped file. If an error occurs, return empty string. If filePath parameter is not given, output files will be created in CLO temporary folder.
ExportOBJW
@fn ExportOBJW(const wstring& _filePath, const Marvelous::ImportExportOption& _options)
@brief Export OBJ file
@param _filePath: output file path
@param options: If "options" is given, it exports OBJ according to options, not allowing user for selecting options in Export Dialog.
@return Output file paths. It outputs the file paths of an OBJ file and multiple MTL files for colorways. If the value "bSaveInZip" in ImportExportOption is true, it outputs a file path of a zipped file. If an error occurs, return empty wstring. If filePath parameter is not given, output files will be created in CLO temporary folder.
ExportGLTF
@fn ExportGLTF(const string& _filePath, const Marvelous::ImportExportOption& _options)
@brief Export GLTF
@param options: If "options" is given, it exports GLTF according to options, not allowing user for selecting options in Export Dialog.
@return Output file paths.
ExportGLTFW
@fn ExportGLTFW(const wstring& _filePath, const Marvelous::ImportExportOption& _options)
@brief Export GLTFW
@param options: If "options" is given, it exports GLTF according to options, not allowing user for selecting options in Export Dialog.
@return Output file paths.
ExportDXF
@fn ExportDXF()
@brief Export DXF file. This api call will display the dialog to set options
@return Output file path. If an error occurs, return empty string. Output files will be created in CLO temporary folder.
ExportDXFW
@fn ExportDXF(const string& _filePath, const Marvelous::ExportDxfOption& _exportOption)
@brief Export DXF file without the option dialog. Param ExportDxfOption is applicable for the options.
@param _filePath: output file path
@param _exportOption: options to export dxf file
@return Output file path. If an error occurs, return empty wstring.
ExportTechPack
@fn ExportTechPack(const string& _filePath, const Marvelous::ExportTechpackOption& _exportOption)
@brief Export Tech Pack data in json file and associated image files.
@param _filePath: output filepath; the filePath Should be given in "*.json" format
@param _exportOption: options to export techpack(.json) file
ExportTechPackW
@fn ExportTechPackW(const wstring& _filepath, const Marvelous::ExportTechpackOption& _exportOption)
@brief Export Tech Pack data in json file and associated image files.
@param _filePath: output filepath; the filePath Should be given in "*.json" format
@param _exportOption: options to export techpack(.json) file
ExportTechPackToStream
@fn ExportTechPackToStream(string& _outputImageFolderPath)
@brief Export Tech Pack data in string and associated image files.
@param _outputImageFolderPath: get output folder path where the image files are located by ExportTechpack
@return Output stream for JSON data with the output folder path at the first line. If an error occurs, return empty string.
ExportTechPackToStreamW
@fn ExportTechPackToStreamW(wstring& _outputImageFolderPath)
@brief Export Tech Pack data in string and associated image files.
@param _outputImageFolderPath: get output folder path where the image files are located by ExportTechpack
@return Output stream for JSON data with the output folder path at the first line. If an error occurs, return empty wstring.
ExportThumbnail3D
@fn ExportThumbnail3D()
@brief Export thumbnail of the current scene
@return Output file path: output files will be created in CLO temporary folder.
ExportThumbnail3DW
@fn ExportThumbnail3D(const string& _filePath)
@brief Export thumbnail of the current scene in the 3D Windows
@param _filePath: output file path to save the screenshot
@return Output file path. If an error occurs, return empty wstring.
ExportSnapshot3D
@fn ExportSnapshot3D(const string& _filePath)
@brief Export snapshot images. This function displays the same dialog as CLO so that users can configure the snapshots. If user turns on the option "Save Separate Images", then series of images will be saved with the name followed by the postfix "_01", "_02", ...
@param _filePath: output file path to save the screenshot
@return Return the list of the path of output files per colorway. The first item of each array is the file path of the unified image. If filePath parameter is not given, output files will be created in CLO temporary folder.
ExportSnapshot3DW
@fn ExportSnapshot3DW(const wstring& _filePath)
@brief Export snapshot images. This function displays the same dialog as CLO so that users can configure the snapshots. If user turns on the option "Save Separate Images", then series of images will be saved with the name followed by the postfix "_01", "_02", ...
@param _filePath: output file path to save the screenshot
@return Return the list of the path of output files per colorway. The first item of each array is the file path of the unified image. If filePath parameter is not given, output files will be created in CLO temporary folder.
ExportCustomViewSnapshot
@fn ExportCustomViewSnapshot(const string& _targetFolderPath, unsigned int _width, unsigned int _height, string _outputPrefix = "")
@brief Export snapshot images of Custom View.
@param _targetFolderPath: output folder path
@param _width: image width for the snapshots
@param _height: image height for the snapshots
@param _outputPrefix: If you set the 'outputPrefix' as empty value - "", then the saved file names will start with the index in the custom view; or if you set the 'outputPrefix' as some letters, the saved file names will have it as the first letters.
@return Return the list of the path of output files
ExportCustomViewSnapshotW
@fn ExportCustomViewSnapshotW(const wstring& _targetFolderPath, unsigned int _width, unsigned int _height, wstring _outputPrefix = L"")
@brief Export snapshot images of Custom View.
@param _targetFolderPath: output folder path
@param _width: image width for the snapshots
@param _height: image height for the snapshots
@param _outputPrefix: If you set the 'outputPrefix' as empty value - "", then the saved file names will start with the index in the custom view; or if you set the 'outputPrefix' as some letters, the saved file names will have it as the first letters.
@return Return the list of the path of output files
ExportRenderingImage
@fn ExportRenderingImage(const string& _filePath)
@brief Export Rendering Image.
@param _filePath: output file path
@return Return the list of the path of output files per colorway.
ExportRenderingImageW
@fn ExportRenderingImageW(const wstring& _filePath, bool _bRenderAllColorways)
@brief Export Rendering Image.
@param _filePath: output file path
@param _bRenderAllColorways: If true, output the images for all colorways. Otherwise, it returns the images for the current colorway specified by CLO user.
@return Return the list of the path of output files per colorway.
ExportSingleColorwayRenderingImage
@fn ExportSingleColorwayRenderingImage(const string& _filePath, unsigned int _colorwayIndex)
@brief Export Rendering Image for the colorway
@param _filePath: output file path
@param _colorwayIndex: colorway index to render the image
@return Return the list of the path of output files
ExportSingleColorwayRenderingImageW
@fn ExportSingleColorwayRenderingImageW(const wstring& _filePath, unsigned int _colorwayIndex)
@brief Export Rendering Image for the colorway
@param _filePath: output file path
@param _colorwayIndex: colorway index to render the image
@return Return the list of the path of output files
GetTotalRenderImagePaths
@fn GetTotalRenderImagePaths()
@brief Get File name list for all the exported rendering images
@return all the rendered image file paths
GetTotalRenderImagePathsW
@fn GetTotalRenderImagePathsW()
@brief Get File name list for all the exported rendering images
@return all the rendered image file paths
GetCurrentRenderImagePaths
@fn GetCurrentRenderImagePaths()
@brief Current Render Image paths
@return all current renderded image files paths per colorways
GetCurrentRenderImagePathsW
@fn GetCurrentRenderImagePathsW()
@brief Current Render Image paths
@return all current renderded image files paths per colorways
GetFileNameOnRenderingProperty
@fn GetFileNameOnRenderingProperty()
@return the output file names set on the Rendering Property in CLO
GetFileNameOnRenderingPropertyW
@fn GetFileNameOnRenderingPropertyW()
@return the output file names set on the Rendering Property in CLO
ExportGarmentInformation
@fn ExportGarmentInformation()
@brief Export garment information in json file. The information is the same as given in Garment Information Dialog in CLO (you can see this dialog by clicking File > Information > Garment menu in CLO)
/@return Output file path. If an error occurs, return empty string; output files will be created in CLO temporary folder.
ExportGarmentInformationW
@fn ExportGarmentInformationW(const wstring& _filePath)
@brief Export garment information in json file. The information is the same as given in Garment Information Dialog in CLO (you can see this dialog by clicking File > Information > Garment menu in CLO)
@param _filePath output file path to export the garment information
/@return Output file path. If an error occurs, return empty string.
ExportGarmentInformationToStream
@fn ExportGarmentInformationToStream()
@brief Export garment information in string
@return Garment Information stream in sstring
ExportGarmentInformationToStreamW
@fn ExportGarmentInformationToStreamW()
@brief Export garment information in string as well as json file
@return Garment Information stream in wstring
ExportGarmentInformationConfigData
@fn ExportGarmentInformationConfigData()
@brief Export garment information config data in json file. The information is the same as given in "Conf_Garment_Information.json" file via Preference
@return Output file path; the output files will be created in CLO temporary folder. If an error occurs, return empty string.
ExportGarmentInformationConfigDataW
@fn ExportGarmentInformationConfigDataW(const wstring& _filePath)
@brief Export garment information config data in json file. The information is the same as given in "Conf_Garment_Information.json" file via Preference
@param _filePath output file path to export the garment information configuration data
@return Output file path. If an error occurs, return empty string.
ExportGarmentInformationConfigDataToStream
@fn ExportGarmentInformationConfigDataToStream()
Export garment information configuration data in string
@return Output stream for JSON data. If an error occurs, return empty string.
ExportGarmentInformationConfigDataToStreamW
@fn ExportGarmentInformationConfigDataToStreamW()
Export garment information configuration data in string
@return Output stream for JSON data. If an error occurs, return empty string.
ExportTurntableVideo
@fn ExportTurntableVideo()
@brief Export turntable video. This function requires XVid Mpeg-4 codec installed on user's computer.
@return Output file path; output files will be created in CLO temporary folder. If an error occurs, return empty string.
ExportTurntableVideoW
@fn ExportTurntableVideoW(const wstring& _filePath)
@brief Export turntable video. This function requires XVid Mpeg-4 codec installed on user's computer.
@return Output file path; output files will be created in CLO temporary folder. If an error occurs, return empty string.
ExportAnimationVideo
@fn ExportAnimationVideo()
@brief Export animation video. This function requires XVid Mpeg-4 codec installed on user's computer.
@return Output file path. If an error occurs, return empty string. If filePath parameter is not given, output files will be created in CLO temporary folder.
ExportAnimationVideoW
@fn ExportAnimationVideo()
@brief Export animation video. This function requires XVid Mpeg-4 codec installed on user's computer.
@return Output file path. If an error occurs, return empty string. If filePath parameter is not given, output files will be created in CLO temporary folder.
GetColorwayCount
///////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////
@fn GetColorwayCount()
@brief Get the number of colorways in the current garment loaded in CLO
@return total count of colorways
GetCurrentColorwayIndex
@fn GetCurrentColorwayIndex()
@brief Get the index of the current colorway in CLO
@return the current colorway index
GetColorwayNameList
@fn GetColorwayNameList()
@brief Get all the colorway names for the current garment
@return the list of name of all colorways
GetColorwayNameListW
@fn GetColorwayNameListW()
@brief Get all the colorway names for the current garment
@return the list of name of all colorways
GetAvatarCount
@fn GetAvatarCount()
@brief Get the number of avatars loaded in CLO
@return total count of avatars
GetAvatarNameList
@fn GetAvatarNameList()
@brief Get all the names of avatars loaded in CLO
@return the list of name of all avatars
GetAvatarNameListW
@fn GetAvatarNameListW()
@brief Get all the names of avatars loaded in CLO
@return the list of name of all avatars
GetAvatarGenderList
@fn GetAvatarGenderList()
@brief Get all the genders of avatars loaded in CLO repectively
@return the list of gender of all avatars. 0 : male, 1 : female, -1: unknown
GetSizeCount
@fn GetSizeCount()
@brief Get the number of sizes/gradings
@return total count of sizes/gradings
GetCurrentSizeIndex
@fn GetCurrentSizeIndex()
@brief Get the index of the current size/grading
@return the current index of size/grading
GetSizeNameList
@fn GetSizeNameList()
@brief Get the index of the current size/grading
@return the list of name of all sizes/gradings
GetSizeNameListW
@fn GetSizeNameListW()
@brief Get the index of the current size/grading
@return the list of name of all sizes/gradings
ExportTurntableImages
@fn ExportTurntableImages(int _numberOfImages)
@brief Export turntable images for current colorway.
@param _numberOfImages: the number of images in 360 turn table. The turn table will turn by (360 / _numberOfImages) per an image each by each.
@return Output file path list; output files will be created in CLO temporary folder. If an error occurs, return empty string.
ExportTurntableImagesW
@fn ExportTurntableImagesW(const wstring& _filePath, int _numberOfImages, int _width = 2500, int _height = 2500)
@brief Export turntable images for current colorway.
@param _filePath: the output file path to export the turntable snapshots
@param _numberOfImages: the number of images in 360 turn table. The turn table will turn by (360 / _numberOfImages) per an image each by each.
@param _width: image width for the snapshots
@param _height: image height for the snapshots
@return Output file path list. If an error occurs, return empty string.
ExportGLB
@fn ExportGLB(const string& _filePath, const Marvelous::ImportExportOption& _options)
@brief Export GLB
@param options: If "options" is given, it exports GLB according to options, not allowing user for selecting options in Export Dialog.
@return Output file paths.
ExportGLBW
@fn ExportGLBW(const wstring& _filePath, const Marvelous::ImportExportOption& _options)
@brief Export GLBW
@param options: If "options" is given, it exports GLB according to options, not allowing user for selecting options in Export Dialog.
@return Output file paths.
ExportGLTFAsFabric
@fn ExportGLTFAsFabric()
@brief Export gltf/glb which cotains the fabric data selected in the object browser
@return Output file path;output files will be created in CLO temporary folder. If an error occurs, return empty string.
ExportGLTFAsFabricW
@fn ExportGLTFAsFabricW(const wstring& _filePath, const int& index)
@brief Export gltf/glb file which cotains the fabric data in the index of the object browser
@param _filePath: output file path
@param index: target fabric index on the object browser to export
@return Output file path. If an error occurs, return empty string.
ExportPOM
@fn ExportPOM(()
@brief Export POM
@return Output file path;output file will be created in CLO temporary folder. If an error occurs, return empty string.
ExportPOMW
@fn ExportPOM(const wstring& _filePath)
@brief Export POM
@param _filePath: output file path
@return Output file path. If an error occurs, return empty string.
ExportGLTFWithDialog
@fn ExportGLTFWithDialog(const string& _filePath)
@brief Export GLTF with Dialog
@param _filePath: output file path
@return Output file paths.
ExportGLBWithDialog
@fn ExportGLBWithDialog(const string& _filePath)
@brief Export GLB with Dialog
@param _filePath: output file path
@return Output file paths.
ExportThumbnail3DByColorwayIndex
@fn ExportThumbnail3DByColorwayIndex(unsigned int _colorwayIndex)
@brief Export thumbnail of the current scene
@param _colorwayIndex: colorway index to render the image
@return Output file path: output files will be created in CLO temporary folder.
ExportThumbnail3DWByColorwayIndexW
@fn ExportThumbnail3DByColorwayIndexW(const wstring& _filePath, unsigned int _colorwayIndex)
@brief Export thumbnail of the current scene in the 3D Windows
@param _filePath: output file path to save the screenshot
@param _colorwayIndex: colorway index to render the image
@return Output file path. If an error occurs, return empty wstring.
ExportTurntableImagesByColorwayIndex
@fn ExportTurntableImagesByColorwayIndex(int _numberOfImages, unsigned int _colorwayIndex)
@brief Export turntable images for colorway.
@param _numberOfImages: the number of images in 360 turn table. The turn table will turn by (360 / _numberOfImages) per an image each by each.
@param _colorwayIndex: colorway index to render the image
@return Output file path list; output files will be created in CLO temporary folder. If an error occurs, return empty string.
ExportTurntableImagesByColorwayIndexW
@fn ExportTurntableImagesByColorwayIndexW(const wstring& _filePath, int _numberOfImages, unsigned int _colorwayIndex, int _width = 2500, int _height = 2500)
@brief Export turntable images for colorway.
@param _filePath: the output file path to export the turntable snapshots
@param _numberOfImages: the number of images in 360 turn table. The turn table will turn by (360 / _numberOfImages) per an image each by each.
@param _colorwayIndex: colorway index to render the image
@param _width: image width for the snapshots
@param _height: image height for the snapshots
@return Output file path list. If an error occurs, return empty string.
ExportPose
@fn ExportPose()
@brief Export ZPac file in the CLO temporary folder
@return Output file path. If an error occurs, return empty string. If filePath parameter is not given, output files will be created in CLO temporary folder.
ExportPoseW
@fn ExportPoseW(const wstring& _filePath)
@brief Export ZPac file
@param wstring _filePath : target file path in UNICODE
@return Output file path. If an error occurs, return empty string. If filePath parameter is not given, output files will be created in CLO temporary folder.
ExportFBX
@fn ExportFBX(const Marvelous::ImportExportOption& _options)
@brief Export FBX file
@param options: It exports FBX according to options, not allowing user for selecting options in Export Dialog.
@return Output file paths. If filePath parameter is not given, output files will be created in CLO temporary folder.
ExportFBXW
@fn ExportFBX(const Marvelous::ImportExportOption& _options)
@brief Export FBX file
@param options: It exports FBX according to options, not allowing user for selecting options in Export Dialog.
@param string _filePath : target file path in UNICODE
@return Output file paths.