Utilities for Viewport 2.0.
This class is a utility class for rendering geometry in Viewport 2.0
#include <MHWGeometryUtilities.h>
Static Public Member Functions | |
static MColor | wireframeColor (const MDagPath &path) |
Returns the wireframe color used in Viewport 2.0 for the given DAG path. | |
static DisplayStatus | displayStatus (const MDagPath &path, MStatus *returnStatus=NULL) |
Returns the display status of the given DAG path. | |
static const char * | className () |
Returns the name of this class. |
Returns the wireframe color used in Viewport 2.0 for the given DAG path.
[in] | path | The DAG path to get wireframe color |
MHWRender::DisplayStatus displayStatus | ( | const MDagPath & | path, |
MStatus * | returnStatus = NULL |
||
) | [static] |
Returns the display status of the given DAG path.
[in] | path | the DAG path to get. |
[out] | returnStatus | Status code. |
const char * className | ( | ) | [static] |