init(owner:name:typeName:variability:isCustom:)
Creates a new attribute spec under the given prim spec.
Declaration
init?(owner: USDPrim.Spec, name: USDToken, typeName: USDPrim.Attribute.ValueType, variability: USDPrim.Property.Variability = .varying, isCustom: Bool = false)Parameters
- owner:
The prim spec that owns the new attribute.
- name:
The attribute’s name.
- typeName:
The attribute’s value type.
- variability:
The attribute’s variability.
- isCustom:
Whether the attribute is authored as
custom.