rfm2
22.0
A python-based rewrite of RenderMan for Maya
|
Functions | |
def | create_matrix (param, cat='osl') |
def | create_float3 (param, cat='osl') |
def | create_input (node, param, cat='osl') |
def | create_output (node, param, cat='osl') |
Create dynamic attributes compatible with rfm nodes.
def rfm2.utils.dynamic_attrs.create_float3 | ( | param, | |
cat = 'osl' |
|||
) |
Return a configuration array of dicts for any float3 attributes. Only the first/top attribute has the 'osl' category so we don't get components.
def rfm2.utils.dynamic_attrs.create_input | ( | node, | |
param, | |||
cat = 'osl' |
|||
) |
Create all input attributes and assign them an 'osl' category to be able to safely delete them later.
def rfm2.utils.dynamic_attrs.create_matrix | ( | param, | |
cat = 'osl' |
|||
) |
def rfm2.utils.dynamic_attrs.create_output | ( | node, | |
param, | |||
cat = 'osl' |
|||
) |
Create all output attributes and assign them a (by default 'osl') category to be able to safely delete them later.