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.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
autoTruncate (a) | bool | ||
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 commandFlag can have multiple arguments, passed either as a tuple or a list. |
|||
camera (c) | unicode | ||
|
|||
renderLayer (l) | unicode | ||
|
|||
renderPass (p) | unicode | ||
|
Derived from mel command maya.cmds.frameBufferName
Example:
import pymel.core as pm
import maya.cmds as cmds
pm.frameBufferName(renderLayer='layer1', renderPass='renderPass1', camera='camera1')