Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image Modified

The following attributes allow the user to call custom MEL scripts before and after the attached object’s geometry is output. If these attributes are attached to several objects, they will be called once for each object. These attributes are empty by default.

...

Variable NameDescription
string $render_passAssigned as the currently rendered pass node name.
string $shape_path Assigned as the current object shape path.

string $attribs_node

Assigned as the current geometry attribute node name.

Example

An example MEL command that could be used to alter the relative shutter offset for the underlying primitive:

Code Block
float $offset = -`delightRenderState -q -f`;
RiAttribute -n "shutter" -p "offset" "float" $offset;