NERTC iOS SDK V5.6.40
载入中...
搜索中...
未找到
NERtcBeauty.h
1#import <Foundation/Foundation.h>
2#import "NERtcEngineEnum.h"
3
12typedef NS_ENUM(NSInteger, NERtcBeautyEffectType) {
21 kNERtcBeautyWhiteTeeth = 0,
22
31 kNERtcBeautyLightEye,
32
41 kNERtcBeautyWhiten,
42
51 kNERtcBeautySmooth,
52
61 kNERtcBeautySmallNose,
62
71 kNERtcBeautyEyeDis,
72
81 kNERtcBeautyEyeAngle,
82
91 kNERtcBeautyMouth,
92
101 kNERtcBeautyBigEye,
102
111 kNERtcBeautySmallFace,
112
121 kNERtcBeautyJaw,
122
131 kNERtcBeautyThinFace,
132
141 kNERtcBeautyFaceRuddy,
142
151 kNERtcBeautyLongNose,
152
161 kNERtcBeautyRenZhong,
162
171 kNERtcBeautyMouthAngle,
172
181 kNERtcBeautyRoundEye,
182
191 kNERtcBeautyOpenEyeAngle,
192
201 kNERtcBeautyVFace,
202
211 kNERtcBeautyThinUnderjaw,
212
221 kNERtcBeautyNarrowFace,
222
231 kNERtcBeautyCheekBone,
232
241 kNERtcBeautyFaceSharpen,
242
250 kNERtcBeautyMouthWider,
251
259 kNERtcBeautyForeheadWrinkles,
260
268 kNERtcBeautyDarkCircles,
269
277 kNERtcBeautySmileLines,
278
286 kNERtcBeautyShortFace
287};
288
289NERTC_EXPORT @interface NERtcBeauty : NSObject
290
291#pragma mark - Attribute
292
303@property(nonatomic, assign) float teeth;
304
315@property(nonatomic, assign) float brightEye;
316
327@property(nonatomic, assign) float whiteSkin;
328
339@property(nonatomic, assign) float smoothSkin;
340
351@property(nonatomic, assign) float smallNose;
352
363@property(nonatomic, assign) float eyesDistance;
364
375@property(nonatomic, assign) float eyesAngle;
376
387@property(nonatomic, assign) float mouth;
388
399@property(nonatomic, assign) float bigEye;
400
411@property(nonatomic, assign) float smallFace;
412
423@property(nonatomic, assign) float jaw;
424
435@property(nonatomic, assign) float thinFace;
436
447@property(nonatomic, assign) float faceRuddyStrength;
448
459@property(nonatomic, assign) float longNoseStrength;
460
471@property(nonatomic, assign) float renZhongStrength;
472
483@property(nonatomic, assign) float mouthAngle;
484
495@property(nonatomic, assign) float roundEyeStrength;
496
507@property(nonatomic, assign) float openEyeAngleStrength;
508
519@property(nonatomic, assign) float vFaceStrength;
520
531@property(nonatomic, assign) float thinUnderjawStrength;
532
543@property(nonatomic, assign) float narrowFaceStrength;
544
555@property(nonatomic, assign) float cheekBoneStrength;
556
567@property(nonatomic, assign) float faceSharpenStrength;
568
577@property(nonatomic, assign) float mouthWiderStrength;
578
587@property(nonatomic, assign) float foreheadWrinklesStrength;
588
597@property(nonatomic, assign) float darkCirclesStrength;
598
607@property(nonatomic, assign) float smileLinesStrength;
608
617@property(nonatomic, assign) float shortFaceStrength;
618
631@property(nonatomic, assign) float filterStrength;
632
649@property(nonatomic, assign) BOOL flipX;
650
667@property(nonatomic, assign) BOOL isLandscape;
668
695@property(nonatomic, assign) BOOL isOpenBeauty;
696
697#pragma mark - Method
698
699+ (NERtcBeauty *)shareInstance;
700
737- (int)startBeauty;
738
762- (void)stopBeauty;
763
818- (void)setBeautyEffectWithValue:(float)value atType:(NERtcBeautyEffectType)type;
819
848- (int)addTempleteWithPath:(NSString *)path andName:(NSString *)name;
849
901- (void)addBeautyFilterWithPath:(NSString *)path andName:(NSString *)name;
902
919- (void)removeBeautyFilter;
920
949- (void)addBeautyStickerWithPath:(NSString *)path andName:(NSString *)name;
950
967- (void)removeBeautySticker;
968
997- (void)addBeautyMakeupWithPath:(NSString *)path andName:(NSString *)name;
998
1015- (void)removeBeautyMakeup;
1016
1035- (NSString *)getError;
1036
1037@end
定义 NERtcBeauty.h:290
float whiteSkin
定义 NERtcBeauty.h:327
float roundEyeStrength
定义 NERtcBeauty.h:495
void removeBeautyMakeup()
float mouth
定义 NERtcBeauty.h:387
float faceRuddyStrength
定义 NERtcBeauty.h:447
void removeBeautyFilter()
float longNoseStrength
定义 NERtcBeauty.h:459
float mouthWiderStrength
定义 NERtcBeauty.h:577
float cheekBoneStrength
定义 NERtcBeauty.h:555
float smileLinesStrength
定义 NERtcBeauty.h:607
float foreheadWrinklesStrength
定义 NERtcBeauty.h:587
NSString * getError()
float renZhongStrength
定义 NERtcBeauty.h:471
BOOL flipX
定义 NERtcBeauty.h:649
float smallFace
定义 NERtcBeauty.h:411
BOOL isOpenBeauty
定义 NERtcBeauty.h:695
float thinFace
定义 NERtcBeauty.h:435
void removeBeautySticker()
float teeth
定义 NERtcBeauty.h:303
float smallNose
定义 NERtcBeauty.h:351
float darkCirclesStrength
定义 NERtcBeauty.h:597
float jaw
定义 NERtcBeauty.h:423
float thinUnderjawStrength
定义 NERtcBeauty.h:531
float eyesDistance
定义 NERtcBeauty.h:363
float faceSharpenStrength
定义 NERtcBeauty.h:567
float shortFaceStrength
定义 NERtcBeauty.h:617
float smoothSkin
定义 NERtcBeauty.h:339
BOOL isLandscape
定义 NERtcBeauty.h:667
float mouthAngle
定义 NERtcBeauty.h:483
float bigEye
定义 NERtcBeauty.h:399
void stopBeauty()
float filterStrength
定义 NERtcBeauty.h:631
float vFaceStrength
定义 NERtcBeauty.h:519
float brightEye
定义 NERtcBeauty.h:315
float openEyeAngleStrength
定义 NERtcBeauty.h:507
float eyesAngle
定义 NERtcBeauty.h:375
float narrowFaceStrength
定义 NERtcBeauty.h:543