<!--
{
  "availability" : [
    "iOS: 11.3.0 -",
    "iPadOS: 11.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/ARSCNPlaneGeometry/init(device:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "c:objc(cs)ARSCNPlaneGeometry(cm)planeGeometryWithDevice:"
  },
  "title" : "init(device:)"
}
-->

# init(device:)

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

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

## Parameters

`device`

The Metal device to use for rendering the geometry.

## Return Value

A new SceneKit plane geometry, or `nil` if the Metal device is unavailable.

## Discussion

A newly created [`ARSCNPlaneGeometry`](/documentation/ARKit/ARSCNPlaneGeometry) instance does not represent any specific plane; use the [`update(from:)`](/documentation/ARKit/ARSCNPlaneGeometry/update(from:)) method to make the geometry match the estimated shape of a specific plane anchor.

The geometry contains a single geometry element; as such, assigning more than one material has no visible effect (see the inherited <doc://com.apple.documentation/documentation/SceneKit/SCNGeometry/materials> property).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)