rfm2  22.0
A python-based rewrite of RenderMan for Maya
rfm2.utils.dynamic_attrs Namespace Reference

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')
 

Detailed Description

Create dynamic attributes compatible with rfm nodes.

Function Documentation

◆ create_float3()

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.
+ Here is the caller graph for this function:

◆ create_input()

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.
+ Here is the call graph for this function:

◆ create_matrix()

def rfm2.utils.dynamic_attrs.create_matrix (   param,
  cat = 'osl' 
)
+ Here is the caller graph for this function:

◆ create_output()

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.
+ Here is the call graph for this function: