<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Spatial",
  "identifier" : "/documentation/Spatial/Vector3D/-(_:_:)-6lui1",
  "metadataVersion" : "0.1.0",
  "role" : "Operator",
  "symbol" : {
    "kind" : "Operator",
    "modules" : [
      "Spatial"
    ],
    "preciseIdentifier" : "s:So10SPVector3Da7SpatialE1soiySo8SPSize3DaAB_AFtFZ"
  },
  "title" : "-(_:_:)"
}
-->

# -(_:_:)

Returns a size that’s the element-wise difference of a vector and a size.

```
static func - (lhs: Vector3D, rhs: Size3D) -> Size3D
```

## Parameters

`lhs`

The left-hand-side value.

`rhs`

The right-hand-side value.

---

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)