<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Spatial",
  "identifier" : "/documentation/Spatial/Rect3DFloat/integral",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Spatial"
    ],
    "preciseIdentifier" : "c:@F@SPRect3DFloatIntegral#$@SA@SPRect3DFloat#"
  },
  "title" : "integral"
}
-->

# integral

```
var integral: Rect3DFloat { get }
```

## Discussion\abstract Returns the smallest rectangle with integer coordinates that contains the source rectangle.
\discussion A rectangle with the smallest integer values for its origin and size that contains the source rectangle.
That is, given a rectangle with fractional origin or size values, integral rounds the rectangle’s origin
downward and its size upward to the nearest whole integers, such that the result contains the original
rectangle.

---

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)