Instance Property

geometry

A coarse triangle mesh representing the topology of the detected face.

Declaration

var geometry: ARFaceGeometry { get }

Discussion

This mesh provides vertex, index, and texture coordinate buffers describing the 3D shape of the face, conforming a generic face model to match the dimensions, shape, and current expression of the detected face.

You can visualize the face geometry by passing these buffers to your preferred rendering engine. To visualize a face geometry using SceneKit, create an ARSCNFaceGeometry instance and use its update(from:) method to update it to match the face geometry.

See Also

Using Face Geometry

class ARFaceGeometry

A 3D mesh describing face topology used in face-tracking AR sessions.

class ARSCNFaceGeometry

A SceneKit representation of face topology for use with face information provided by an AR session.