<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "USDKit",
  "identifier" : "/documentation/USDKit/USDPrim/VariantSpec/init(owner:name:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "USDKit"
    ],
    "preciseIdentifier" : "s:6USDKit7USDPrimV11VariantSpecV5owner4nameAESgAC0c3SetD0V_AA8USDTokenVtcfc"
  },
  "title" : "init(owner:name:)"
}
-->

# init(owner:name:)

Creates a new variant spec under the given variant set spec.

```
init?(owner: USDPrim.VariantSetSpec, name: USDToken)
```

## Parameters

`owner`

The variant set that owns the new variant.

`name`

The variant’s name.

---

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)