rfm2
22.0
A python-based rewrite of RenderMan for Maya
|
Classes | |
class | BaseWidget |
Functions | |
def | rman_build_param_popup_menu (nattr, param, ctl, *args) |
def | rman_build_param_value_popup_menu (nattr, param, ctl, *args) |
def | cond_vis_update (node, ctl, *args) |
def | dyn_array_ctl_menu (nattr, *args, **kwargs) |
def | dyn_array_ctl (nodeattr, ctlname, ctlparent, widget, mute_enabled, update=False) |
Variables | |
list | VALUE_MENU_CONFIG = [('x4', 4.0), ('x2', 2.0), ('/2', 0.5), ('/4', 0.25)] |
Module implementing our ui widget's base class.
def rfm2.ui.base_widget.cond_vis_update | ( | node, | |
ctl, | |||
* | args | ||
) |
Update URG/AE layouts. Note: attribute editor copies are not refreshed. Could not find a good way to do that so far...
def rfm2.ui.base_widget.dyn_array_ctl | ( | nodeattr, | |
ctlname, | |||
ctlparent, | |||
widget, | |||
mute_enabled, | |||
update = False |
|||
) |
Creates or updates array members side button.
def rfm2.ui.base_widget.dyn_array_ctl_menu | ( | nattr, | |
* | args, | ||
** | kwargs | ||
) |
Create the side menu of array members allowing for deletion and insertion of array members.
def rfm2.ui.base_widget.rman_build_param_popup_menu | ( | nattr, | |
param, | |||
ctl, | |||
* | args | ||
) |
Build the menu items when the user LMB-click the control.
def rfm2.ui.base_widget.rman_build_param_value_popup_menu | ( | nattr, | |
param, | |||
ctl, | |||
* | args | ||
) |
Build the menu items when the user Shift-LMB-click the control.
list rfm2.ui.base_widget.VALUE_MENU_CONFIG = [('x4', 4.0), ('x2', 2.0), ('/2', 0.5), ('/4', 0.25)] |