One Logo Pool Ball
USDKit · IOS API REFERENCE

USDStage.Object

struct · iOS 27.0+ · SDK 27.1

struct Object

Members (12)

get · iOS 27.0+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A summary description of this object. This property is safe to access on an invalid or expired object.

get · iOS 27.0+

name

TypeScript
get name(): USDToken
Swift declaration
var 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 · iOS 27.0+

path

TypeScript
get path(): USDLayer_Path
Swift declaration
var path: USDLayer.Path { get }

The complete scene path to this object, relative to its stage.

get · iOS 27.0+

prim

TypeScript
get prim(): USDPrim
Swift declaration
var 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 · iOS 27.0+

stage

TypeScript
get stage(): USDStage
Swift declaration
var 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 · iOS 27.0+

isValid

TypeScript
get isValid(): boolean
Swift declaration
var 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 · iOS 27.0+

primPath

TypeScript
get primPath(): USDLayer_Path
Swift declaration
var 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``.

init · iOS 27.0+

init

TypeScript
static init(): USDStage_Object
Swift declaration
init()

An invalid object handle.

init · iOS 27.0+

init

TypeScript
static init32719(relationship: USDPrim_Relationship): USDStage_Object
Swift declaration
init(_ relationship: USDPrim.Relationship)
init · iOS 27.0+

init

TypeScript
static init86659(property: USDPrim_Property): USDStage_Object
Swift declaration
init(_ property: USDPrim.Property)

Casts a property handle to an object handle.

init · iOS 27.0+

init

TypeScript
static init34475(attribute: USDPrim_Attribute): USDStage_Object
Swift declaration
init(_ attribute: USDPrim.Attribute)

Casts an attribute handle to an object handle.

init · iOS 27.0+

init

TypeScript
static init67664(prim: USDPrim): USDStage_Object
Swift declaration
init(_ prim: USDPrim)

Skipped declarations

No declarations were skipped in this snapshot.

All USDKit types →