All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HUSD_EditMaterial Class Reference

#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

Detailed Description

Definition at line 26 of file HUSD_EditMaterial.h.

Constructor & Destructor Documentation

HUSD_EditMaterial::HUSD_EditMaterial ( HUSD_AutoAnyLock lock)

Standard c-tor.

Member Function Documentation

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.

The documentation for this class was generated from the following file: