Class DecompressFiles
Decompresses assets to a destination folder and returns their paths.
Defined in: decompressFiles.js.
Constructor Attributes | Constructor Name and Description |
---|---|
DecompressFiles(src, dest)
Decompresses assets to a destination folder and returns their paths.
|
Class Detail
DecompressFiles(src, dest)
Decompresses assets to a destination folder and returns their paths.
Decompresses the assets listed by AssetID in 'src' into the specified 'dest' destination folder and returns the path of the folder. This path value is parsed into a text object keyed by AssetID from the JSON file in which path values are contained, and by default is displayed to the user.
'MBurl'/wf/decompressFiles?src=['AssetId']&dest="/'path'/'to'/'destination'/'folder'/"
http://127.0.0.1:55555/wf/decompressFiles?src=["12345"]&dest="Assets/Library/"
- Parameters:
- src
- AssetID/list of AssetIDs to decompress.
- dest
- Path to the destination folder where the src should be decompressed. If this parameter is not given, files are decompressed in the current directory.
- Returns:
- ( {'AssetID': "path",...} )