<!--
{
  "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/VariantSetSpec/init(owner:name:)-1njrp",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "USDKit"
    ],
    "preciseIdentifier" : "s:6USDKit7USDPrimV14VariantSetSpecV5owner4nameAESgAC0cE0V_AA8USDTokenVtcfc"
  },
  "title" : "init(owner:name:)"
}
-->

# init(owner:name:)

Creates a new variant set spec nested inside a variant spec.

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

## Parameters

`owner`

The variant spec that owns the new (nested) variant set.

`name`

The variant set’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)