authoredPath
TypeScriptget authoredPath(): stringSwift declarationvar authoredPath: String { get }The authored path string — the value as written in the USD file.
struct · iOS 27.0+ · SDK 27.1
struct AssetPathA reference to an external asset such as a texture, audio file, or USD layer. Stores both the authored path (the string as written in USD) and the resolved path (the location after asset resolution, which may be empty if resolution did not run or failed). The resolved path is not guaranteed to be a filesystem path — custom asset resolvers may return URLs, database identifiers, or opaque tokens.
get authoredPath(): stringSwift declarationvar authoredPath: String { get }The authored path string — the value as written in the USD file.
get resolvedPath(): (string) | nullSwift declarationvar resolvedPath: String? { get }The resolved location after asset resolution, or `nil` if resolution did not run or failed.
static initStringLiteral(value: string): USDLayer_AssetPathSwift declarationinit(stringLiteral value: String)Creates an instance initialized to the given string value. - Parameter value: The value of the new instance.
static get valueType(): USDPrim_Attribute_ValueTypeSwift declarationstatic var valueType: USDPrim.Attribute.ValueType { get }static init(): USDLayer_AssetPathSwift declarationinit()Creates an empty asset path.
static initResolvedPath(path: string, resolvedPath: string): USDLayer_AssetPathSwift declarationinit(_ path: String, resolvedPath: String)Creates an asset path with both authored and resolved values. - Parameters: - path: The authored path string. - resolvedPath: The resolved location after asset resolution.
static init37830(path: string): USDLayer_AssetPathSwift declarationinit(_ path: String)Creates an asset path from a string identifier. - Parameter path: The asset path string.
No declarations were skipped in this snapshot.