|
makeup|SDK
makeup|SDK is a library based on visage|SDK face tracking used to configure and render virtual makeup.
|
#import <FeatureTemplate.h>
Inherits NSObject.
Instance Methods | |
| (id) | - init |
| (id) | - initWithRed:andGreen:andBlue:andAlpha: |
| (NSMutableDictionary *) | - ToJSON |
Class Methods | |
| (Color *) | + FromJSON: |
Class used as a container storing RGBA for color values. Color is stored as floating point value in 0.0 to 1.0 range.
| + (Color *) FromJSON: | (NSDictionary *) | jsonDictionary |
| - (id) init |
Initializes new Color object.
| - (id) initWithRed: | (float) | red | |
| andGreen: | (float) | green | |
| andBlue: | (float) | blue | |
| andAlpha: | (float) | alpha | |
Initializes new Color object with passed color values in float.
| red | float value for red channel |
| green | float value for green channel |
| blue | float value for blue channel |
| alpha | float value for alpha channels |