---
title: primitive
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/pixelcasthit/primitive
---

# primitive

The per-primitive identifier used with barycentric coordinates.

## Declaration

```swift
var primitive: UInt32 { get }
```
