你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AvatarConfig class

定义会说话的头像配置。

构造函数

AvatarConfig(string, string, AvatarVideoFormat)

创建并初始化此类的实例。

属性

backgroundColor

设置背景色。

character

定义头像字符。

customized

指示说话的头像是否是自定义的。

style

定义头像样式。

videoFormat

定义会说话的头像输出视频格式。

构造函数详细信息

AvatarConfig(string, string, AvatarVideoFormat)

创建并初始化此类的实例。

new AvatarConfig(character: string, style: string, videoFormat: AvatarVideoFormat)

参数

character

string

头像字符。

style

string

头像样式。

videoFormat
AvatarVideoFormat

说话的头像输出视频格式。

属性详细信息

backgroundColor

设置背景色。

string backgroundColor

属性值

string

character

定义头像字符。

character: string

属性值

string

customized

指示说话的头像是否是自定义的。

boolean customized

属性值

boolean

style

定义头像样式。

style: string

属性值

string

videoFormat

定义会说话的头像输出视频格式。

videoFormat: AvatarVideoFormat

属性值