<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -",
    "macCatalyst: -",
    "macOS: 15.4.0 -",
    "tvOS: 18.4.0 -",
    "visionOS: 2.4.0 -",
    "watchOS: 11.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "hvf",
  "identifier" : "/documentation/hvf/PartRenderer/Translation",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "hvf"
    ],
    "preciseIdentifier" : "s:3hvf12PartRendererC11TranslationV"
  },
  "title" : "PartRenderer.Translation"
}
-->

# PartRenderer.Translation

A translation applied to a subpart

```
struct Translation
```

## Topics

### Initializers

[`init(dx: Double, dy: Double)`](/documentation/hvf/PartRenderer/Translation/init(dx:dy:))

### Instance Properties

[`var dx: Double`](/documentation/hvf/PartRenderer/Translation/dx)

[`var dy: Double`](/documentation/hvf/PartRenderer/Translation/dy)

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

---

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)