description
TypeScriptget description(): stringSwift declarationvar description: String { get }A summary description of this object. This property is safe to access on an invalid or expired object.
struct · iOS 27.0+ · SDK 27.1
struct Objectget description(): stringSwift declarationvar description: String { get }A summary description of this object. This property is safe to access on an invalid or expired object.
get name(): USDTokenSwift declarationvar name: USDToken { get }The name of this scene graph object. An object's name is the last component of its ``path``. This property is equivalent to the ``USDLayer.Path/name`` property of that path.
get path(): USDLayer_PathSwift declarationvar path: USDLayer.Path { get }The complete scene path to this object, relative to its stage.
get prim(): USDPrimSwift declarationvar prim: USDPrim { get }The nearest prim that contains this object. If this object is a ``USDPrim``, the value of this property is that same prim. If this object is a ``USDPrim/Attribute`` or a ``USDPrim/Relationship``, the value of this property is the nearest prim that contains this object.
get stage(): USDStageSwift declarationvar stage: USDStage { get }The stage that owns this object. An object's state and validity is connected to its stage. An object becomes invalid when the lifetime of its stage ends. It can also become invalid when the stage is modified.
get isValid(): booleanSwift declarationvar isValid: Bool { get }A Boolean value indicating whether this object is valid. An object's validity is connected to a ``USDStage``. An object becomes invalid when the lifetime of its stage ends. An object will also expire if its stage no longer defines a value for the object. `isValid` is false if this object has expired.
get primPath(): USDLayer_PathSwift declarationvar primPath: USDLayer.Path { get }The complete path to this prim, or to the nearest prim that contains this object. If this object is a ``USDPrim``, `primPath` is the same as ``path``. If this object is a ``USDPrim/Attribute`` or a ``USDPrim/Relationship``, `primPath` is the complete scene path of the object's ``prim``.
static init(): USDStage_ObjectSwift declarationinit()An invalid object handle.
static init32719(relationship: USDPrim_Relationship): USDStage_ObjectSwift declarationinit(_ relationship: USDPrim.Relationship)static init86659(property: USDPrim_Property): USDStage_ObjectSwift declarationinit(_ property: USDPrim.Property)Casts a property handle to an object handle.
static init34475(attribute: USDPrim_Attribute): USDStage_ObjectSwift declarationinit(_ attribute: USDPrim.Attribute)Casts an attribute handle to an object handle.
static init67664(prim: USDPrim): USDStage_ObjectSwift declarationinit(_ prim: USDPrim)No declarations were skipped in this snapshot.