AL_USDMaya  0.29.4
USD to Maya Bridge
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
AL::usdmaya::nodes::ProxyShapeUI Class Reference

The UI component of the proxy shape node. More...

#include <ProxyShapeUI.h>

Inheritance diagram for AL::usdmaya::nodes::ProxyShapeUI:

Public Member Functions

 ProxyShapeUI ()
 ctor
 
 ~ProxyShapeUI ()
 dtor
 
void getDrawRequests (const MDrawInfo &drawInfo, bool isObjectAndActiveOnly, MDrawRequestQueue &requests) override
 legacy VP1 rendering interface More...
 
void draw (const MDrawRequest &request, M3dView &view) const override
 
bool select (MSelectInfo &selectInfo, MSelectionList &selectionList, MPointArray &worldSpaceSelectPts) const override
 used to select the proxy shape More...
 

Static Public Member Functions

static AL_USDMAYA_PUBLIC void * creator ()
 returns a new instance of this UI component
 

Detailed Description

The UI component of the proxy shape node.

Member Function Documentation

void AL::usdmaya::nodes::ProxyShapeUI::draw ( const MDrawRequest &  request,
M3dView &  view 
) const
override
Parameters
requestthe drawing request
viewthe interactive 3d view in which to draw
void AL::usdmaya::nodes::ProxyShapeUI::getDrawRequests ( const MDrawInfo &  drawInfo,
bool  isObjectAndActiveOnly,
MDrawRequestQueue &  requests 
)
override

legacy VP1 rendering interface

Parameters
drawInfoDrawing state information.
isObjectAndActiveOnlyUsed to determine if draw requests for components need to be supplied. If false, some or all components are active and draw requests must be built for all components.
requestsQueue on which to place the draw request.
bool AL::usdmaya::nodes::ProxyShapeUI::select ( MSelectInfo &  selectInfo,
MSelectionList &  selectionList,
MPointArray &  worldSpaceSelectPts 
) const
override

used to select the proxy shape

Parameters
selectInfothe Selection state information.
selectionListList of items selected by this method.
worldSpaceSelectPtsList of points used to sort corresponding selections in single-select mode.
Returns
true if something was selected, false otherwise

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