Share via


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

屬性值