Methods
changeTemplateAspectRatio(uuidString, aspectRatio)
change aspect ratio of template
Parameters:
| Name | Type | Description |
|---|---|---|
uuidString |
package id | |
aspectRatio |
aspect ratio |
- Source:
Returns:
generateTemplatePackage(innerAssetDir, uuidString, outputPath)
generate template package
Parameters:
| Name | Type | Description |
|---|---|---|
innerAssetDir |
inner resource path | |
uuidString |
package id | |
outputPath |
output path |
- Source:
Returns:
getAssetPackageRootDir()
get resource package root directory
- Source:
Returns:
getAssetPackageStatus(assetPackageId, type)
get status of asset package
Parameters:
| Name | Type | Description |
|---|---|---|
assetPackageId |
package id | |
type |
type |
- Source:
Returns:
getTemplateCaptions(uuidString)
get captions of template
Parameters:
| Name | Type | Description |
|---|---|---|
uuidString |
package id |
- Source:
Returns:
getTemplateCompoundCaptions()
get compound captions of template
- Source:
Returns:
getTemplateCurrentAspectRatio(uuidString)
get current aspect ratio of template
Parameters:
| Name | Type | Description |
|---|---|---|
uuidString |
package id |
- Source:
Returns:
getTemplateDefaultAspectRatio(uuidString)
get aspect ratio of template default
Parameters:
| Name | Type | Description |
|---|---|---|
uuidString |
package id |
- Source:
Returns:
getTemplateFootages(uuidString)
get template footage
Parameters:
| Name | Type | Description |
|---|---|---|
uuidString |
package id |
- Source:
Returns:
getTemplatePackageDirPath(uuidString)
get template package path
Parameters:
| Name | Type | Description |
|---|---|---|
uuidString |
package id |
- Source:
Returns:
getVideoFxAssetPackageDescription(uuidString)
get resource description of video special effects
Parameters:
| Name | Type | Description |
|---|---|---|
uuidString |
package id |
- Source:
Returns:
installAssetPackage(assetPackageFilePath, licenseFilePath, type)
install resource package
Parameters:
| Name | Type | Description |
|---|---|---|
assetPackageFilePath |
resource package file path | |
licenseFilePath |
license file path | |
type |
type |
- Source:
Returns:
isParticleFX(uuidString)
particle or not
Parameters:
| Name | Type | Description |
|---|---|---|
uuidString |
package id |
- Source:
Returns:
uninstallAssetPackage(assetPackageId, type)
uninstall resource package
Parameters:
| Name | Type | Description |
|---|---|---|
assetPackageId |
package id | |
type |
type |
- Source:
Returns:
writeTemplateXml(timeline, aspectRatio, uuidString)
write template xml
Parameters:
| Name | Type | Description |
|---|---|---|
timeline |
timeline | |
aspectRatio |
aspect ratio | |
uuidString |
package id |
- Source: