Skip to main content

Function: getMaterialXSampleUrl()

getMaterialXSampleUrl(key, root?): string | undefined

Resolves a catalog entry's bare file name into a fetchable URL. See this module's doc comment for why file itself carries no path assumption.

Parameters​

key​

string

root?​

string = DEFAULT_MATERIALX_ROOT

Returns​

string | undefined