class counterpart of mel function cameraSet
This command manages camera set nodes. Camera sets allow the users to break a single camera shot into layers. Instead of drawing all objects with a single camera, you can isolate the camera to only focus on certain objects and layer another camera into the viewport that draws the other objects. The situation to use camera sets primarily occurs when building stereoscopic scenes. For example, a set of stereo parameters may make the background objects divergent beyond the tolerable range of the human perceptual system. However, you like the settings because the main focus is in the foreground and the depth is important to the visual look of the scene. You can use camera sets to break apart the shot into a foreground stereo camera and background stereo camera. The foreground stereo camera will retain the original parameters; however, it will only focus on the foreground elements. The background stereo camera will have a different set of stereo parameters and will only draw the background element. Camera sets can be viewed using the stereo viewer and are currently only designed to work with stereo camera rigs.
Appends a layer to the associated cameraSet node. The given camera and object set are used in the layer. If MObject::kNullObj is passed as the set, then the whole scene will be rendered in the layer.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnCameraSet.appendLayer
Undo is not currently supported for this method
Append a new camera and/or object set to then end of the cameraSet layer list. This flag cannot be used in conjunction with insert flag. Additionally, it requires the camera and/or objectSet flag to be used.
Derived from mel command maya.cmds.cameraSet
Clear all of the camera layers. Derived from api method maya.OpenMaya.MFnCameraSet.clear
Undo is not currently supported for this method
Delete all camera layers
Derived from mel command maya.cmds.cameraSet
Deletes the layer denoted by the given index.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnCameraSet.deleteLayer
Undo is not currently supported for this method
Gets / sets the active camera layer.
Derived from mel command maya.cmds.cameraSet
Set/get the camera for a particular layer. When in query mode, You must specify the layer with the layer flag.
Derived from mel command maya.cmds.cameraSet
Specifies if the drawing buffer should be cleared before beginning the draw for that layer.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command maya.cmds.cameraSet
Specifies the layer index to be used when accessing layer information
Derived from mel command maya.cmds.cameraSet
Get the camera used for a particular layer.
Parameters : |
|
---|---|
Return type: | PyNode |
Derived from api method maya.OpenMaya.MFnCameraSet.getLayerCamera
This method gets the clearDepth attribute value for the specified camera layer
Parameters : |
|
---|---|
Return type: | bool |
Derived from api method maya.OpenMaya.MFnCameraSet.getLayerClearDepthValue
Get the processing order of a particular layer.
Parameters : |
|
---|---|
Return type: | int |
Derived from api method maya.OpenMaya.MFnCameraSet.getLayerOrder
Get the scene data used for a particular layer. The returned scene data could be MObject::kNullObj if no scene data has been set. The operation will still be deemed successful.
Parameters : |
|
---|---|
Return type: | PyNode |
Derived from api method maya.OpenMaya.MFnCameraSet.getLayerSceneData
Return the number of layers in the cameraSet.
Return type: | int |
---|
Derived from api method maya.OpenMaya.MFnCameraSet.getNumLayers
Set/get the objectSet for a particular layer. When in query mode, you must specify the layer with the layer flag.
Derived from mel command maya.cmds.cameraSet
Set the order in which a particular layer is processed. This flag must be used in conjunction with the layer flag.
Derived from mel command maya.cmds.cameraSet
Inserts the specified camera and/or object set at the specified layer. This flag cannot be used in conjunction with the append flag. Additionally, this flag requires layer and camera (or objectSet) flag to be used.
Derived from mel command maya.cmds.cameraSet
Inserts a layer at the given index to the associated cameraSet node using the given camera. The index value must be in the range from 0 to the number of layers currently defined. The given camera and object set are used in the layer. If MObject::kNullObj is passed as the set, then the whole scene will be rendered in the layer.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnCameraSet.insertLayer
Undo is not currently supported for this method
Get whether a particular layer is active.
Parameters : |
|
---|---|
Return type: | bool |
Derived from api method maya.OpenMaya.MFnCameraSet.isLayerActive
Gets / sets the active camera layer.
Derived from mel command maya.cmds.cameraSet
Set/get the camera for a particular layer. When in query mode, You must specify the layer with the layer flag.
Derived from mel command maya.cmds.cameraSet
Specifies if the drawing buffer should be cleared before beginning the draw for that layer.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command maya.cmds.cameraSet
Specifies the layer index to be used when accessing layer information
Derived from mel command maya.cmds.cameraSet
Set a particular layer to be active.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnCameraSet.setLayerActive
Set the camera to be used for a particular layer.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnCameraSet.setLayerCamera
This method sets the clearDepth attribute for the specified camera layer.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnCameraSet.setLayerClearDepthValue
Set the processing order of a particular layer.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnCameraSet.setLayerOrder
Set the scene data to be used for a particular layer.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnCameraSet.setLayerSceneData
Set/get the objectSet for a particular layer. When in query mode, you must specify the layer with the layer flag.
Derived from mel command maya.cmds.cameraSet
Set the order in which a particular layer is processed. This flag must be used in conjunction with the layer flag.
Derived from mel command maya.cmds.cameraSet