makeup|SDK
makeup|SDK is a library based on visage|SDK face tracking used to configure and render virtual makeup.
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
com.visagetechnologies.makeupsdk.PipeTemplate Class Reference

Public Member Functions

JSONObject ToJSON ()
 

Static Public Member Functions

static PipeTemplate FromJSON (JSONObject jsonObject)
 

Public Attributes

List< MaskTemplatemasks = new ArrayList<>()
 
List< FilterQueueTemplatefilters = new ArrayList<>()
 

Detailed Description

Stores a list of blending and filtering steps required to render a makeup feature. Contains of a list of MaskTemplate objects defining custom masks which can be used as inputs in filters. Contains a list of FilterQueueTemplate objects each of which define a single step in the rendering procedure.

Member Function Documentation

◆ FromJSON()

static PipeTemplate com.visagetechnologies.makeupsdk.PipeTemplate.FromJSON ( JSONObject  jsonObject)
inlinestatic

Deserializes PipeTemplate object from JSON representation

Parameters
jsonObjectJSON object
Returns
deserialized PipeTemplate object

◆ ToJSON()

JSONObject com.visagetechnologies.makeupsdk.PipeTemplate.ToJSON ( )
inline

Returns JSON object out of this PipeTemplate object

Returns
JSON representation of this PipeTemplate returned as JSONObject

Member Data Documentation

◆ filters

List<FilterQueueTemplate> com.visagetechnologies.makeupsdk.PipeTemplate.filters = new ArrayList<>()

List storing blending and filtering steps of rendering procedure of a makeup feature.

◆ masks

List<MaskTemplate> com.visagetechnologies.makeupsdk.PipeTemplate.masks = new ArrayList<>()

List storing custom mask definitions.