rfm2
22.0
A python-based rewrite of RenderMan for Maya
|
Public Member Functions | |
def | __init__ (self, name, nodetype) |
def | add_param (self, name, datadict) |
def | ordered_params (self) |
def | param_dict (self, name) |
def | store_transform_values (self, Tnode) |
def | has_transform (self, storage=TrStorage.k_matrix, space=TrSpace.k_world, mode=TrMode.k_flat) |
def | maya_get_attr (self, nodeattr, ptype, childattr=None) |
def | is_new_ramp (self, param) |
def | read_params (self) |
def | sort_ramp_knots (self, param_dict) |
def | default_params (self) |
def | set_connected (self, pname, ptype=None) |
def | add_param_metadata (self, pname, pdict) |
def | __str__ (self) |
def | __repr__ (self) |
Public Attributes | |
name | |
maya_node_type | |
rman_node_type | |
transform | |
hasTransform | |
tr_type | |
tr_mode | |
tr_storage | |
tr_space | |
has3dManifold | |
oslPath | |
Class representing a node in Maya's DAG.
def rfm2.ui.assets_browser.MayaNode.__init__ | ( | self, | |
name, | |||
nodetype | |||
) |
def rfm2.ui.assets_browser.MayaNode.__repr__ | ( | self | ) |
def rfm2.ui.assets_browser.MayaNode.__str__ | ( | self | ) |
def rfm2.ui.assets_browser.MayaNode.add_param | ( | self, | |
name, | |||
datadict | |||
) |
simple method to make sure we respect the natural parameter order in our output. Arguments: name {str} -- the param name datadict {dict} -- The data dict associated with that param.
def rfm2.ui.assets_browser.MayaNode.add_param_metadata | ( | self, | |
pname, | |||
pdict | |||
) |
def rfm2.ui.assets_browser.MayaNode.default_params | ( | self | ) |
def rfm2.ui.assets_browser.MayaNode.has_transform | ( | self, | |
storage = TrStorage.k_matrix , |
|||
space = TrSpace.k_world , |
|||
mode = TrMode.k_flat |
|||
) |
def rfm2.ui.assets_browser.MayaNode.is_new_ramp | ( | self, | |
param | |||
) |
Identify attributes from katana-style ramps and return the ramp name and attribute name.
def rfm2.ui.assets_browser.MayaNode.maya_get_attr | ( | self, | |
nodeattr, | |||
ptype, | |||
childattr = None |
|||
) |
def rfm2.ui.assets_browser.MayaNode.ordered_params | ( | self | ) |
def rfm2.ui.assets_browser.MayaNode.param_dict | ( | self, | |
name | |||
) |
def rfm2.ui.assets_browser.MayaNode.read_params | ( | self | ) |
def rfm2.ui.assets_browser.MayaNode.set_connected | ( | self, | |
pname, | |||
ptype = None |
|||
) |
If a param's value provider is a connection, always set its value to None, even if it is an array (you can not only connect to a single array memmber and use values for other members: connected arrays need to be fully replaced)
def rfm2.ui.assets_browser.MayaNode.sort_ramp_knots | ( | self, | |
param_dict | |||
) |
Sort ramp knots based on position: this what PxrRamp expects.
def rfm2.ui.assets_browser.MayaNode.store_transform_values | ( | self, | |
Tnode | |||
) |
rfm2.ui.assets_browser.MayaNode.has3dManifold |
rfm2.ui.assets_browser.MayaNode.hasTransform |
rfm2.ui.assets_browser.MayaNode.maya_node_type |
rfm2.ui.assets_browser.MayaNode.name |
rfm2.ui.assets_browser.MayaNode.oslPath |
rfm2.ui.assets_browser.MayaNode.rman_node_type |
rfm2.ui.assets_browser.MayaNode.tr_mode |
rfm2.ui.assets_browser.MayaNode.tr_space |
rfm2.ui.assets_browser.MayaNode.tr_storage |
rfm2.ui.assets_browser.MayaNode.tr_type |
rfm2.ui.assets_browser.MayaNode.transform |