HDK
|
#include <HUSD_EditMaterial.h>
Public Member Functions | |
HUSD_EditMaterial (HUSD_AutoAnyLock &lock) | |
Standard c-tor. More... | |
UT_StringHolder | loadMaterial (OP_Network &parent_node, const UT_StringRef &material_prim_path) const |
UT_StringHolder | updateMaterial (OP_Network &parent_node, const UT_StringRef &material_prim_path, const UT_StringRef &material_node_name) const |
Definition at line 26 of file HUSD_EditMaterial.h.
HUSD_EditMaterial::HUSD_EditMaterial | ( | HUSD_AutoAnyLock & | lock | ) |
Standard c-tor.
UT_StringHolder HUSD_EditMaterial::loadMaterial | ( | OP_Network & | parent_node, |
const UT_StringRef & | material_prim_path | ||
) | const |
Creates the VOP children inside the LOP parent_node
to reflect the USD material defined at the given path
. If succeeds, returns the name of the created material child node.
UT_StringHolder HUSD_EditMaterial::updateMaterial | ( | OP_Network & | parent_node, |
const UT_StringRef & | material_prim_path, | ||
const UT_StringRef & | material_node_name | ||
) | const |
Updates the VOP children inside the LOP @ parent_node to bring them in synch with the USD material at the given path
.