inheritedPaths
TypeScriptget inheritedPaths(): Array<USDLayer_Path>Swift declarationvar inheritedPaths: [USDLayer.Path] { get }All paths this prim inherits from, including paths inherited transitively through inherited classes.
struct · iOS 27.0+ · SDK 27.1
struct InheritCollectionManages inherit composition arcs on a prim. Inheritance allows a prim to inherit opinions from another prim within the same layer stack, similar to class inheritance in object-oriented programming. Use `USDPrim.InheritCollection` to add, remove, and query inherit arcs on a prim.
get inheritedPaths(): Array<USDLayer_Path>Swift declarationvar inheritedPaths: [USDLayer.Path] { get }All paths this prim inherits from, including paths inherited transitively through inherited classes.
add(primPath: USDLayer_Path, position?: USDPrim_ListPosition): voidSwift declarationfunc add(_ primPath: USDLayer.Path, position: USDPrim.ListPosition = .backOfPrependList) throwsAdds an inherit arc to the prim. - Parameters: - primPath: The path of the prim to inherit from. - position: Where to insert the inherit in the prim's inherit list. - Throws: An error if the inherit cannot be added.
set(primPaths: Array<USDLayer_Path>): voidSwift declarationfunc set(_ primPaths: [USDLayer.Path]) throwsReplaces all inherit arcs with the specified list. - Parameter primPaths: The new list of inherit paths. - Throws: An error if the inherits cannot be set.
get prim(): USDPrimSwift declarationvar prim: USDPrim { get }The prim that owns these inherit arcs.
clear(): voidSwift declarationfunc clear() throwsRemoves all inherit arcs from the prim. - Throws: An error if the inherits cannot be cleared.
remove(primPath: USDLayer_Path): voidSwift declarationfunc remove(_ primPath: USDLayer.Path) throwsRemoves a specific inherit arc from the prim. - Parameter primPath: The path of the inherit to remove. - Throws: An error if the inherit cannot be removed.
No declarations were skipped in this snapshot.