usd_chunks.chunk_resources
Locators for bundled resource files (icons).
These resolve inside the installed package through importlib.resources, never relative
to the package directory: a resources directory beside the package exists in a
checkout but not in site-packages once pip-installed.
get_icon
⚓︎
get_icons_path
⚓︎
get_node_icon
⚓︎
The built-in node-graph icon of this name (resources/icons/node/
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
An icon name such as "sun" or "move". |
required |
Returns:
| Type | Description |
|---|---|
Path | None
|
The icon's path, or None when there is no built-in icon of that name. |