Creates a face geometry matching the facial expression described in the specified dictionary.
- iOS 11.0+
A dictionary of blend shape coefficients describing a facial expression in terms of the positions of specific facial features. For any coefficient not specified in this dictionary, ARKit assumes a value of
A face geometry object, or
nil if ARKit face tracking is not supported on the current device.
Each key in the
blend dictionary is an
ARFace constant identifying a facial feature. The corresponding value is the position of that feature relative to its neutral configuration, ranging from
0 (neutral) to
1 (maximum movement).
The format of this dictionary is identical to that provided by the
blend property. You can use that property and this initializer to efficiently save and restore facial expression data; the serialized form of a blend shapes dictionary is more portable than that of the face mesh those coefficients describe.