One Logo Pool Ball
USDKit · IOS API REFERENCE

USDLayer.AssetPath

struct · iOS 27.0+ · SDK 27.1

struct AssetPath

A 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.

Members (7)

get · iOS 27.0+

authoredPath

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

The authored path string — the value as written in the USD file.

get · iOS 27.0+

resolvedPath

TypeScript
get resolvedPath(): (string) | null
Swift declaration
var resolvedPath: String? { get }

The resolved location after asset resolution, or `nil` if resolution did not run or failed.

init · iOS 27.0+

init

TypeScript
static initStringLiteral(value: string): USDLayer_AssetPath
Swift declaration
init(stringLiteral value: String)

Creates an instance initialized to the given string value. - Parameter value: The value of the new instance.

get · iOS 27.0+

valueType

TypeScript
static get valueType(): USDPrim_Attribute_ValueType
Swift declaration
static var valueType: USDPrim.Attribute.ValueType { get }
init · iOS 27.0+

init

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

Creates an empty asset path.

init · iOS 27.0+

init

TypeScript
static initResolvedPath(path: string, resolvedPath: string): USDLayer_AssetPath
Swift declaration
init(_ 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.

init · iOS 27.0+

init

TypeScript
static init37830(path: string): USDLayer_AssetPath
Swift declaration
init(_ path: String)

Creates an asset path from a string identifier. - Parameter path: The asset path string.

Skipped declarations

No declarations were skipped in this snapshot.

All USDKit types →