get_usd_bound_material
Resolve the render material bound to USD prims, identifying direct, inherited, or collection bindings and missing materials. Accepts multiple prim paths in a single call for efficient lookup.
Instructions
The material each prim renders with, resolved the way the renderer
resolves it (ComputeBoundMaterials), and where the binding comes from:
direct on the prim, inherited from which ancestor, or which
collection. A binding to a material prim that does not exist is
reported in missing_material, not as unbound.
Batched: pass every prim of interest in one call.
Args: node_path: LOP node whose stage to read. prim_paths: Prim paths to resolve. purpose: "full" (default; what Karma renders, falling back to an all-purpose binding), "preview", or "all" (all-purpose bindings only).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purpose | No | full | |
| node_path | Yes | ||
| prim_paths | Yes |