TXBeautyManager class
美颜及动效参数管理
Constructors
- TXBeautyManager(dynamic channel)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
enableSharpnessEnhancement(
bool enable) → Future< void> - 开启清晰度增强
-
getLicenceInfo(
) → Future< String?> - 获取 License 信息
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setBeautyLevel(
int beautyLevel) → Future< void> - 设置美颜级别
-
setBeautyStyle(
int beautyStyle) → Future< void> - 设置美颜类型
-
setChinLevel(
double chinLevel) → Future< void> - 设置大眼级别,该接口仅在 企业版 SDK 中生效
-
setEyeAngleLevel(
double eyeAngleLevel) → Future< void> - 设置眼角,该接口仅在 企业版 SDK 中生效
-
setEyeDistanceLevel(
double eyeDistanceLevel) → Future< void> - 设置眼距,该接口仅在 企业版 SDK 中生效
-
setEyeLightenLevel(
double eyeLightenLevel) → Future< void> - 设置亮眼,该接口仅在 企业版 SDK 中生效
-
setEyeScaleLevel(
double eyeScaleLevel) → Future< void> - 设置大眼级别,该接口仅在 企业版 SDK 中生效
-
setFaceBeautyLevel(
double faceBeautyLevel) → Future< void> - 设置脸型 ,该接口仅在 企业版 SDK 中生效
-
setFaceShortLevel(
double faceShortLevel) → Future< void> - 设置短脸级别,该接口仅在 企业版 SDK 中生效
-
setFaceSlimLevel(
double faceSlimLevel) → Future< void> - 设置瘦脸级别,该接口仅在 企业版 SDK 中生效
-
setFaceVLevel(
double faceVLevel) → Future< void> - 设置 V 脸级别,该接口仅在 企业版 SDK 中生效
-
setFilter(
String assetUrl) → Future< int?> - 设置指定素材滤镜特效
-
setFilterStrength(
double strength) → Future< void> - 设置滤镜浓度
-
setForeheadLevel(
double foreheadLevel) → Future< void> - 设置发际线,该接口仅在 企业版 SDK 中生效
-
setGreenScreenFile(
String? file) → Future< void> - 设置绿幕背景视频
-
setLicence(
String licenceUrl, String licenseKey) → Future< void> - 配置 美颜License,licenceUrl必须使用https,否则ios下回下载失败
-
setLipsThicknessLevel(
double lipsThicknessLevel) → Future< void> - 设置嘴唇厚度,该接口仅在 企业版 SDK 中生效
-
setMotionMute(
bool motionMute) → Future< void> - 设置动效静音,该接口仅在 企业版 SDK 中生效
-
setMotionTmpl(
String? fullPath) → Future< void> - 选择使用哪一款 AI 动效挂件 ,该接口仅在 企业版 SDK 中生效
-
setMouthShapeLevel(
double mouthShapeLevel) → Future< void> - 设置嘴型,该接口仅在 企业版 SDK 中生效
-
setNosePositionLevel(
double nosePositionLevel) → Future< void> - 设置鼻子位置,该接口仅在 企业版 SDK 中生效
-
setNoseSlimLevel(
double noseSlimLevel) → Future< void> - 设置瘦鼻级别,该接口仅在 企业版 SDK 中生效
-
setNoseWingLevel(
double noseWingLevel) → Future< void> - 设置鼻翼,该接口仅在 企业版 SDK 中生效
-
setPounchRemoveLevel(
double pounchRemoveLevel) → Future< void> - 设置祛眼袋,该接口仅在 企业版 SDK 中生效
-
setRuddyLevel(
int ruddyLevel) → Future< void> - 设置红润级别
-
setSmileLinesRemoveLevel(
double smileLinesRemoveLevel) → Future< void> - 设置祛法令纹,该接口仅在 企业版 SDK 中生效
-
setToothWhitenLevel(
double toothWhitenLevel) → Future< void> - 设置白牙,该接口仅在 企业版 SDK 中生效
-
setWhitenessLevel(
int whitenessLevel) → Future< void> - 设置美白级别
-
setWrinkleRemoveLevel(
double wrinkleRemoveLevel) → Future< void> - 设置祛皱,该接口仅在 企业版 SDK 中生效
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited