<!--
{
  "availability" : [
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/VisualFidelityProvider/FieldOfView/polygon(points:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "s:5ARKit22VisualFidelityProviderC11FieldOfViewV7polygon6pointsAESays5SIMD2VySfGG_tFZ"
  },
  "title" : "polygon(points:)"
}
-->

# polygon(points:)

Creates a polygon-based field of view.

```
static func polygon(points: [simd_float2]) -> VisualFidelityProvider.FieldOfView
```

---

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)