Contents

prim(at:)

Returns the prim at a given path, if it exists.

Declaration

func prim(at path: USDLayer.Path) -> USDPrim

Discussion

If path resolves to a prim beneath an instance, returns an instance proxy prim if a prim exists at the corresponding path in that instance’s prototype.

If no prim exists at the resolved path, returns an invalid prim handle.

See Also

Accessing prims and properties