|
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 | |
| (NSMutableDictionary *) | - ToJSON |
| (NSString *) | - ToJSONString |
Class Methods | |
| (FinishTemplate *) | + FromJSON: |
| (FinishTemplate *) | + FromJSONString: |
Properties | |
| NSString * | name |
| double | transparency |
| PipeTemplate * | pipeline |
Stores a definition of makeup finish. Each finish is a named PipeTemplate object which can be reused with any of the features. Contains code for serialization and deserialization of FinishTemplate instances from JSON format. Provides methods for setup of blending and filtering procedures and parameters for finishes.
| + (FinishTemplate *) FromJSON: | (NSDictionary *) | jsonDictionary |
Returns FinishTemplate object out of JSON dictionary.
| jsonDictionary | JSON dictionary |
| + (FinishTemplate *) FromJSONString: | (NSString *) | JSON_data |
Returns FinishTemplate object out of JSON string.
| JSON_data | JSON string |
| - (NSMutableDictionary *) ToJSON |
Creates JSON representation out of this FinishTemplate object.
| - (NSString *) ToJSONString |
Creates JSON string out of FinishTemplate object.
| finishTemplate | FinishTemplate object |
|
readwritenonatomicstrong |
Name of the finish.
|
readwritenonatomicstrong |
Rendering steps to use when rendering the finish.
|
readwritenonatomicassign |
Transparency of the finish.