Methods
changeTemplateAspectRatio(uuidString, aspectRatio)
改变模板纵横比
Parameters:
| Name | Type | Description |
|---|---|---|
uuidString |
字符串唯一标识 | |
aspectRatio |
纵横比 |
- Source:
Returns:
generateTemplatePackage(innerAssetDir, uuidString, outputPath)
生成模板包
Parameters:
| Name | Type | Description |
|---|---|---|
innerAssetDir |
内置资源路径 | |
uuidString |
字符串唯一标识 | |
outputPath |
输出路径 |
- Source:
Returns:
getAssetPackageRootDir()
获取资源包根路径
- Source:
Returns:
getAssetPackageStatus(assetPackageId, type)
获取资源包状态
Parameters:
| Name | Type | Description |
|---|---|---|
assetPackageId |
资源包ID | |
type |
类型 |
- Source:
Returns:
getInternalObject()
获取内置对象
- Source:
Returns:
getTemplateCaptions(uuidString)
获取模板字幕
Parameters:
| Name | Type | Description |
|---|---|---|
uuidString |
字符串唯一标识 |
- Source:
Returns:
getTemplateCompoundCaptions()
获取模板组合字幕
- Source:
Returns:
getTemplateCurrentAspectRatio(uuidString)
获取模板当前纵横比
Parameters:
| Name | Type | Description |
|---|---|---|
uuidString |
字符串唯一标识 |
- Source:
Returns:
getTemplateDefaultAspectRatio(uuidString)
获取模板缺省纵横比
Parameters:
| Name | Type | Description |
|---|---|---|
uuidString |
字符串唯一标识 |
- Source:
Returns:
getTemplateFootages(uuidString)
获取模板素材
Parameters:
| Name | Type | Description |
|---|---|---|
uuidString |
字符串唯一标识 |
- Source:
Returns:
getTemplatePackageDirPath(uuidString)
获取模板包路径
Parameters:
| Name | Type | Description |
|---|---|---|
uuidString |
- Source:
Returns:
getVideoFxAssetPackageDescription(uuidString)
获取视频特效资源包描述
Parameters:
| Name | Type | Description |
|---|---|---|
uuidString |
字符串唯一标识 |
- Source:
Returns:
installAssetPackage(assetPackageFilePath, licenseFilePath, type)
安装资源包
Parameters:
| Name | Type | Description |
|---|---|---|
assetPackageFilePath |
资源包文件路径 | |
licenseFilePath |
许可证文件路径 | |
type |
类型 |
- Source:
Returns:
isParticleFX(uuidString)
是否是粒子特效
Parameters:
| Name | Type | Description |
|---|---|---|
uuidString |
- Source:
Returns:
setInternalObject(obj)
设置内置对象
Parameters:
| Name | Type | Description |
|---|---|---|
obj |
对象 |
- Source:
Returns:
uninstallAssetPackage(assetPackageId, type)
卸载资源包
Parameters:
| Name | Type | Description |
|---|---|---|
assetPackageId |
资源包ID | |
type |
类型 |
- Source:
Returns:
writeTemplateXml(timeline, aspectRatio, uuidString)
写XML模板
Parameters:
| Name | Type | Description |
|---|---|---|
timeline |
||
aspectRatio |
||
uuidString |
- Source: