|
makeup|SDK
makeup|SDK is a library based on visage|SDK face tracking used to configure and render virtual makeup.
|
Public Member Functions | |
| JSONObject | ToJSON () |
Static Public Member Functions | |
| static MaskTemplate | FromJSON (JSONObject jsonObject) |
Public Attributes | |
| String | name |
| String | texture |
Contains a definition of a custom mask Custom mask is defined by name and a reference which is used to determine the location of the image file containg the mask.
The location for storing of custom masks is <path to platform dependent assets folder> + "/Textures/" + MaskTemnplate.texture + "/" + FeatureTemplate.type + "/" + FeatureTemplate.area.
Additional files containing custom masks have to be added into the bundle and unpacked on the location defined above on the library consumer level.
The mesh custom mask should use is derived from the type of FeatureTemplate instance this MaskTemplate is contained in.
|
inlinestatic |
Deserializes MaskTemplate object from JSON representation
| jsonObject | JSON object |
|
inline |
Returns JSON object out of this MaskTemplate object
| String com.visagetechnologies.makeupsdk.MaskTemplate.name |
Name of the custom texture used for identification purposes. Should be unique within a single FeatureTemplate instance.
| String com.visagetechnologies.makeupsdk.MaskTemplate.texture |
Location reference used to determine the location of the image file containg the mask.