When referencing a ‘Mesh’ and a ‘Material’ prim onto a Stage,
how do I MaterialBindingAPI Bind the ‘Mesh’ to the ‘Material’ ?
Below is a simple example of what I currently have but the last line is wrong.
Do I first need to Get or Apply a Material API to the material_prim ?
Thanks for any suggestions.
@jackohoeg
Thanks for your prompt response explaining I needed the UsdShade.Material object
and also kindly offering the cleaner MaterialBindingAPI single call.
Much appreciated.