完成美颜UI 90%

This commit is contained in:
2022-09-20 18:29:05 +08:00
parent c634d29e79
commit d1d31da6be
136 changed files with 5028 additions and 305 deletions

View File

@@ -0,0 +1,43 @@
package com.yunbao.faceunity.entity
/**
*
* @property key String 名称标识
* @property type TypeEnum 类型
* @property imageRes Int 图片
* @property desRes Int 描述
* @property bundlePath FUBundleData 资源句柄
* @property jsonPath String 参数配置路径
* @property filterName Double 滤镜
* @property filterIntensity Double 滤镜强度
* @property filterScale Double scale 标准滤镜比率
* @property intensity Double 强度
* @property jsonPathParams Double 参数配置缓存
* @constructor
*/
data class MakeupCombinationBean @JvmOverloads constructor(
override val key: String,
val type: TypeEnum,
override val imageRes: Int,
override val desRes: Int,
val bundlePath: String?,
val jsonPath: String,
val filterName: String,
var filterScale: Double = 1.0,
var filterIntensity: Double = 0.7,
var intensity: Double = 0.7,
var jsonPathParams: LinkedHashMap<String, Any>? = null,
override val beanType: Int
): BaseBean() {
enum class TypeEnum {
TYPE_NONE, //无
TYPE_DAILY,//日常妆,支持自定义
TYPE_THEME_SUB,//主题妆_依附于face_makeup
TYPE_THEME_MAIN,//主题妆_替换face_makeup
}
override fun getModelAttributeData(): ModelAttributeData {
return null!!
}
}