HDK
|
A set of useful functions for working with parameters. More...
#include <PRM_Utils.h>
Public Types | |
typedef void(* | TraverseParmFunc )(const PRM_ParmList &, PRM_Parm *, int, void *data) |
Static Public Member Functions | |
static int | traverseFolder (PRM_ParmList &parmlist, PRM_Parm *switcher, int folder, int folder_start_index, bool traverse_multi_instances, TraverseParmFunc function, void *data) |
static void | flagMultiParmInstances (const PRM_ParmList &parmlist, PRM_Parm *multi, UT_BitArray &flags) |
A set of useful functions for working with parameters.
Definition at line 23 of file PRM_Utils.h.
Definition at line 26 of file PRM_Utils.h.
|
static |
|
static |
Traverse the parameters in the specified folder of the given switcher and optionally execute a function on each parameter.
folder_start_index
Returns the number of parameters to skip in the parmlist to step over the folder. Note that this happens whether or not a traverse function is provided, and does not account for any embedded multiparm instances.