pymel.core.nodetypes.StereoRigCamera — PyMEL 1.0.7 documentation

pymel.core.nodetypes.StereoRigCamera

Inheritance diagram of StereoRigCamera

class StereoRigCamera(*args, **kwargs)
FilmFit = Enum( EnumValue('FilmFit', 0, 'fillFilmFit'), EnumValue('FilmFit', 1, 'horizontalFilmFit'), EnumValue('FilmFit', 2, 'verticalFilmFit'), EnumValue('FilmFit', 3, 'overscanFilmFit'), EnumValue('FilmFit', 4, 'invalid'))
RollOrder = Enum( EnumValue('RollOrder', 0, 'rotateTranslate'), EnumValue('RollOrder', 1, 'translateRotate'))
getFarClippingPlane()

Returns the distance to the far clipping plane.

Return type:float

Derived from api method maya.OpenMaya.MFnCamera.farClippingPlane

getNearClippingPlane()

Returns the distance to the near clipping plane.

Return type:float

Derived from api method maya.OpenMaya.MFnCamera.nearClippingPlane

isMotionBlur()

Determine if motion blur is on/off for the camera.

Return type:bool

Derived from api method maya.OpenMaya.MFnCamera.isMotionBlur

set(wsEyeLocation, wsViewDirection, wsUpDirection, horizFieldOfView, aspectRatio)

Convenience routine to set the camera viewing parameters. The specified values should be in world space where applicable.

Parameters:
wsEyeLocation : Point

Eye location to set in world space

wsViewDirection : Vector

View direction to set in world space

wsUpDirection : Vector

Up direction to set in world space

horizFieldOfView : float

The horizontal field of view to set

aspectRatio : float

The aspect ratio to set

Derived from api method maya.OpenMaya.MFnCamera.set

Undo is not currently supported for this method

setFarClippingPlane(dFar)

Set the distances to the Far Clipping Plane.

Parameters:
dFar : float

The far clipping plane value to be set

Derived from api method maya.OpenMaya.MFnCamera.setFarClippingPlane

setMotionBlur(motionBlur)

Turns motion blur on/off for the camera.

Parameters:
motionBlur : bool

true turns motion blur on, false turns it off.

Derived from api method maya.OpenMaya.MFnCamera.setMotionBlur

setNearClippingPlane(dNear)

Set the distances to the Near Clipping Plane.

Parameters:
dNear : float

The near clipping plane value to be set

Derived from api method maya.OpenMaya.MFnCamera.setNearClippingPlane

setNearFarClippingPlanes(dNear, dFar)

Set the distances to the Near and Far Clipping Planes.

Parameters:
dNear : float

The near clipping plane value to be set

dFar : float

The far clipping plane value to be set

Derived from api method maya.OpenMaya.MFnCamera.setNearFarClippingPlanes

Undo is not currently supported for this method