Go to: Synopsis. Return value. Keywords.
Flags. Python
examples.
frameBufferName([autoTruncate=boolean], [camera=string], [renderLayer=string], [renderPass=string])
Note: Strings representing object names and
arguments must be separated by commas. This is not depicted in the
synopsis.
frameBufferName is NOT undoable, NOT queryable,
and NOT editable.
Returns the frame buffer name for a given renderPass renderLayer
and camera combination. Optionally, this command can apply a name
truncation algorithm so that the frameBuffer name will respect the
maximum length imposed by the destination file format, if
applicable.
render, pass
autoTruncate, camera, renderLayer, renderPass
Long name (short name) |
Argument types |
Properties |
renderLayer(l) |
string |
 |
|
Specifiy a renderer layer |
|
renderPass(p) |
string |
 |
|
camera(c) |
string |
 |
|
autoTruncate(a) |
boolean |
 |
|
use this flag to apply a name truncation algorithm so that the
frameBuffer name will respect the maximum length imposed by the
destination file format, if applicable. |
|
Flag can appear in Create mode of
command |
Flag can appear in Edit mode of command |
Flag can appear in Query mode of command |
Flag can have multiple arguments, passed
either as a tuple or a list. |
import maya.cmds as cmds
cmds.frameBufferName(renderLayer='layer1', renderPass='renderPass1', camera='camera1')