<!--
{
  "availability" : [
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TabletopKit",
  "identifier" : "/documentation/TabletopKit/TableVisualState/Pose2D/init(from:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "TabletopKit"
    ],
    "preciseIdentifier" : "s:11TabletopKit16TableVisualStateV6Pose2DV4fromAEs7Decoder_p_tKcfc"
  },
  "title" : "init(from:)"
}
-->

# init(from:)

Creates a new instance by decoding from the given decoder.

```
init(from decoder: any Decoder) throws
```

## Parameters

`decoder`

The decoder to read data from.

---

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)