美摄SDK For iOS  3.14.0
NvsMakeupEffectInfo.h
浏览该文件的文档.
1 //================================================================================
2 //
3 // (c) Copyright Meishe Co. Ltd, 2016. All rights reserved.
4 //
5 // This code and information is provided "as is" without warranty of any kind,
6 // either expressed or implied, including but not limited to the implied
7 // warranties of merchantability and/or fitness for a particular purpose.
8 //
9 //--------------------------------------------------------------------------------
10 // Birth Date: Mar 9. 2020
11 // Author: Meishe video team
12 //================================================================================
13 
14 #pragma once
15 
16 #import <Foundation/Foundation.h>
17 #import "NvsCommonDef.h"
18 #import "NvsArbitraryData.h"
19 
29 typedef enum {
36 
46 typedef enum {
57 
67 typedef enum {
81 
89 NVS_EXPORT @interface NvsMakeupEffectLayer : NSObject
90 
91 @property (nonatomic, copy) NSString *layerId;
92 @property (nonatomic, assign) float intensity;
93 
101 @property (nonatomic, assign) NvsMakeupEffectLayerType type;
102 
103 @end
104 
113 
114 @property (nonatomic, copy) NSString *texFilePath;
115 
129 @property (nonatomic, assign) NvsColor texColor;
130 
138 @property (nonatomic, assign) NvsMakeupEffectBlendingMode blendingMode;
139 
140 @end
141 
150 @property (nonatomic, copy) NSString *lutFilePath;
151 @end
152 
161 
162 @end
163 
171 NVS_EXPORT @interface NvsMakeupEffect : NSObject
172 
183 @property (nonatomic, copy) NSString *effectId;
184 
201 @property (nonatomic, assign) NvsColor color;
202 @property (nonatomic, assign) float intensity;
203 @property (nonatomic, strong) NSMutableArray<NvsMakeupEffectLayer *> *makeupEffectLayerArray;
204 @end
205 
221 @property (nonatomic, strong) NSMutableArray<NvsMakeupEffect *> *makeupEffectArray;
222 @end
223 
224 
NvsMakeupEffectCustomEnabledFlag_Eyeshadow
@ NvsMakeupEffectCustomEnabledFlag_Eyeshadow
自定义眼影
Definition: NvsMakeupEffectInfo.h:72
NvsMakeupEffectInfo
美妆特效输入控制参数类
Definition: NvsMakeupEffectInfo.h:221
NvsMakeupEffectCustomEnabledFlag_Highlight
@ NvsMakeupEffectCustomEnabledFlag_Highlight
自定义提亮
Definition: NvsMakeupEffectInfo.h:77
NvsMakeupEffectBlendingMode_Add
@ NvsMakeupEffectBlendingMode_Add
Add 叠加方式
Definition: NvsMakeupEffectInfo.h:53
NvsMakeupEffectLayer::layerId
NSString * layerId
美妆特效层ID
Definition: NvsMakeupEffectInfo.h:91
NvsMakeupEffectCustomEnabledFlag_Lip
@ NvsMakeupEffectCustomEnabledFlag_Lip
自定义嘴唇
Definition: NvsMakeupEffectInfo.h:70
NvsMakeupEffectCustomEnabledFlag_Eyeliner
@ NvsMakeupEffectCustomEnabledFlag_Eyeliner
自定义眼线
Definition: NvsMakeupEffectInfo.h:74
NvsMakeupEffectLayerHighlight
美妆特效高光渲染层数据
Definition: NvsMakeupEffectInfo.h:161
NvsMakeupEffectCustomEnabledFlag_Shadow
@ NvsMakeupEffectCustomEnabledFlag_Shadow
自定义阴影
Definition: NvsMakeupEffectInfo.h:76
NvsMakeupEffectBlendingMode_Multiply
@ NvsMakeupEffectBlendingMode_Multiply
Multiply 叠加方式
Definition: NvsMakeupEffectInfo.h:50
NvsMakeupEffectCustomEnabledFlag
NvsMakeupEffectCustomEnabledFlag
Definition: NvsMakeupEffectInfo.h:68
NvsMakeupEffectLayerType_Highlight
@ NvsMakeupEffectLayerType_Highlight
美妆高光层
Definition: NvsMakeupEffectInfo.h:33
NvsMakeupEffect
局部美妆特效数据,例如睫毛,眉毛,嘴唇等
Definition: NvsMakeupEffectInfo.h:172
NvsMakeupEffectCustomEnabledFlag_Eyebrow
@ NvsMakeupEffectCustomEnabledFlag_Eyebrow
自定义眉毛
Definition: NvsMakeupEffectInfo.h:71
NvsMakeupEffectCustomEnabledFlag_Blusher
@ NvsMakeupEffectCustomEnabledFlag_Blusher
自定义腮红
Definition: NvsMakeupEffectInfo.h:75
NvsMakeupEffectCustomEnabledFlag_All
@ NvsMakeupEffectCustomEnabledFlag_All
自定义所有美妆效果
Definition: NvsMakeupEffectInfo.h:78
NvsMakeupEffectBlendingMode_Subtract
@ NvsMakeupEffectBlendingMode_Subtract
Subtract 叠加方式
Definition: NvsMakeupEffectInfo.h:51
NvsMakeupEffectCustomEnabledFlag_None
@ NvsMakeupEffectCustomEnabledFlag_None
无自定义项
Definition: NvsMakeupEffectInfo.h:69
NvsMakeupEffectBlendingMode_Exclusion
@ NvsMakeupEffectBlendingMode_Exclusion
Exclusion 叠加方式
Definition: NvsMakeupEffectInfo.h:54
NvsArbitraryData.h
NvsMakeupEffectBlendingMode_Screen
@ NvsMakeupEffectBlendingMode_Screen
Screen 叠加方式
Definition: NvsMakeupEffectInfo.h:52
NvsMakeupEffectLayerLut
美妆特效Lut校色渲染层数据
Definition: NvsMakeupEffectInfo.h:150
NvsColor
自定义颜色类
Definition: NvsCommonDef.h:403
NvsMakeupEffectLayerType
NvsMakeupEffectLayerType
Definition: NvsMakeupEffectInfo.h:30
NvsMakeupEffectBlendingMode
NvsMakeupEffectBlendingMode
Definition: NvsMakeupEffectInfo.h:47
NvsMakeupEffectLayer::intensity
float intensity
特效层强度
Definition: NvsMakeupEffectInfo.h:92
NvsMakeupEffectLayerType_3D
@ NvsMakeupEffectLayerType_3D
美妆三维层
Definition: NvsMakeupEffectInfo.h:31
NvsMakeupEffectLayer3D
美妆特效三维渲染层数据
Definition: NvsMakeupEffectInfo.h:113
NvsMakeupEffectLayer::type
NvsMakeupEffectLayerType type
特效层类型。支持类型请参见美妆特效层类型。
Definition: NvsMakeupEffectInfo.h:101
NVS_EXPORT
#define NVS_EXPORT
Definition: NvsCommonDef.h:20
NvsCommonDef.h
NvsMakeupEffectCustomEnabledFlag_Eyelash
@ NvsMakeupEffectCustomEnabledFlag_Eyelash
自定义睫毛
Definition: NvsMakeupEffectInfo.h:73
NvsArbitraryData
特技的一种自定义参数结构
Definition: NvsArbitraryData.h:29
NvsMakeupEffectLayer
美妆特效渲染层数据
Definition: NvsMakeupEffectInfo.h:90
NvsMakeupEffectBlendingMode_Normal
@ NvsMakeupEffectBlendingMode_Normal
Normal 叠加方式
Definition: NvsMakeupEffectInfo.h:49
NvsMakeupEffectLayerType_Lut
@ NvsMakeupEffectLayerType_Lut
美妆LUT校色层
Definition: NvsMakeupEffectInfo.h:32
NvsMakeupEffectBlendingMode_Unknown
@ NvsMakeupEffectBlendingMode_Unknown
无效叠加方式
Definition: NvsMakeupEffectInfo.h:48