Working with Multiple Faces
Lens Studio supports the creation of Face Lenses that can be applied to multiple faces. You can apply a Face Effect in your Lens to multiple faces by modifying the effect’s Face Index property. This guide will cover how to apply a variety effects to more than one face.
Face Mask
To apply Face Mask to multiple faces, you can duplicate the object containing the Face Mask component and change its Face Index
. To create a Face Mask, follow the Face Mask guide.
In the Objects
panel, you can right click the object containing your Face Substitution component and select Duplicate
. You can then increment the Face Index
field in the duplicated object’s Face Substitution
component.
Face Index are zero-indexed, meaning your first head will be 0 and your second head 1.
Similar to Face Substitution, to have multiple Face Retouch, Face Stretch and Eye Color, all you need to do is duplicate the object containing the component and increment the Face Index
field.
Face Attached Objects
The Head Binding
component is used to attach 2D or 3D objects to certain parts of the user’s face. To create a Face Sprite, follow the Face Sprite guide.
To apply your attachments to multiple faces, you can duplicate the object containing your Head Binding by right clicking and selecting Duplicate
in the Objects
panel.
Then, select your new copy, and under the Head Binding
component, increment it’s Face Index
field by 1.
You can have different children for each binding if you want different attachments for each face.
Face Inset
The Face Inset us a combination of Head Binding
component for the position and Face Inset
for the texture. To apply this effect on multiple faces, you need to change the Face Index
in field in both components.
Right click the Object that contains the Head Binding component and select Duplicate
in the Objects
panel. Then select the new object and in its Head Binding’s Face Index
field, increment it by 1. Finally select its children object containing the Face Inset
component and increment it’s Face Index
field by 1.
Learn more about Face Inset in the Face Inset guide.
Face Liquify
The Face Liquify is a combination of Head Binding
and the Liquify
component on the same object. The Head Binding
component positions the liquify and the Liquify
component distorts around that position.
Right click on the Liquify Point object and select Duplicate
in the Objects panel. Then, you can increment the Face Index
field in the Head Binding component in the new object by 1.
Learn more about Face Liquify in the Face Liquify guide.