---
title: "init(device:)"
framework: arkit
role: symbol
role_heading: Initializer
path: "arkit/arscnfacegeometry/init(device:)"
---

# init(device:)

Creates a SceneKit face geometry for rendering with the specified Metal device object.

## Declaration

```swift
convenience init?(device: any MTLDevice)
```

## Parameters

- `device`: The Metal device to use for rendering the geometry.

## Return Value

Return Value A new SceneKit face geometry, or nil if the Metal device is unavailable or ARKit face tracking is not supported on the current device.

## Discussion

Discussion A newly created ARSCNFaceGeometry instance represents a neutral, generic face; use the update(from:) method to deform the geometry to match a specific facial expression or face shape. The geometry contains a single geometry element; as such, assigning more than one material has no visible effect (see the inherited materials property). Calling this initializer is equivalent to calling the init(device:fillMesh:) initializer and passing false for the fillMesh parameter.

## See Also

### Creating a Geometry

- [init(device:fillMesh:)](arkit/arscnfacegeometry/init(device:fillmesh:).md)
