rfm2
22.0
A python-based rewrite of RenderMan for Maya
|
Public Member Functions | |
def | __init__ (self, jdict) |
def | num_primitives (self) |
def | num_instances (self, prim_idx) |
def | primitive_id (self, prim_idx) |
def | prim_method_name (self, prim_idx) |
def | prim_vertices (self, prim_idx) |
def | prim_vertices_count (self, prim_idx) |
def | prim_uvs (self, prim_idx) |
def | prim_kwargs (self, prim_idx) |
def | prim_is_textured (self, prim_idx) |
def | prim_is_static (self, prim_idx) |
def | dyn_param_dict (self, prim_idx) |
Public Attributes | |
data | |
geo_builders | |
input_changes_topology | |
shading_params | |
class containing a number of primitive builders and providing a unified interface.
def rfm2.vp.pxr_light.VP2LightDesc.__init__ | ( | self, | |
jdict | |||
) |
def rfm2.vp.pxr_light.VP2LightDesc.dyn_param_dict | ( | self, | |
prim_idx | |||
) |
def rfm2.vp.pxr_light.VP2LightDesc.num_instances | ( | self, | |
prim_idx | |||
) |
Return the number of instances for a given primitive
def rfm2.vp.pxr_light.VP2LightDesc.num_primitives | ( | self | ) |
Returns the number of drawing primitives defined for this object.
def rfm2.vp.pxr_light.VP2LightDesc.prim_is_static | ( | self, | |
prim_idx | |||
) |
def rfm2.vp.pxr_light.VP2LightDesc.prim_is_textured | ( | self, | |
prim_idx | |||
) |
def rfm2.vp.pxr_light.VP2LightDesc.prim_kwargs | ( | self, | |
prim_idx | |||
) |
Returns a given primitive's arguments if its building method is not "vertexArray". Otherwise, returns None.
def rfm2.vp.pxr_light.VP2LightDesc.prim_method_name | ( | self, | |
prim_idx | |||
) |
def rfm2.vp.pxr_light.VP2LightDesc.prim_uvs | ( | self, | |
prim_idx | |||
) |
Returns the UVs of a given primitive as an array. UVs are encoded as [u, v].
def rfm2.vp.pxr_light.VP2LightDesc.prim_vertices | ( | self, | |
prim_idx | |||
) |
Returns the vertices of a given primitive as an array. Vertices are encoded as [x, y, z].
def rfm2.vp.pxr_light.VP2LightDesc.prim_vertices_count | ( | self, | |
prim_idx | |||
) |
Returns the number of vertices for a given primitive.
def rfm2.vp.pxr_light.VP2LightDesc.primitive_id | ( | self, | |
prim_idx | |||
) |
Return the id/name of a given primitive as a str.
rfm2.vp.pxr_light.VP2LightDesc.data |
rfm2.vp.pxr_light.VP2LightDesc.geo_builders |
rfm2.vp.pxr_light.VP2LightDesc.input_changes_topology |
rfm2.vp.pxr_light.VP2LightDesc.shading_params |