Added or changed API.
enum AnimLayerFilter {
kAllLayers, //!< All animation layers of the plug
kAllUnlockedLayers, //!< All unlocked animation layers of the plug
kAffectingLayers, //!< Animation layers affecting the value of the plug
kAffectingUnlockedLayers, //!< Unlocked animation layers affecting the value of the plug
kActiveLayer //!< The active animation layer used for keying of the plug
};
static bool findAnimationLayers( const MPlug &plug,
MObjectArray& layers,
AnimLayerFilter filter = MAnimUtil::AnimLayerFilter::kAllLayers,
MStatus * ReturnStatus = NULL );
static MObject findActiveAnimationLayer( const MPlug &plug,
MStatus * ReturnStatus = NULL );
static MPlug findBlendNodeInputPlug(const MPlug &plug,
const MObject &animLayer = MObject::kNullObj,
MStatus * ReturnStatus = NULL );
static MObject findAnimCurve( const MPlug &plug,
const MObject &animLayer = MObject::kNullObj,
MStatus * ReturnStatus = NULL);
static MObject createAnimCurve( const MPlug &plug,
MDGModifier &modifier,
const MObject &animLayer = MObject::kNullObj,
MStatus * ReturnStatus = NULL );
static const char* className();
Added or changed API.
MStatus setSnapMode(bool state);
Added or changed API.
bool isSnapModeOn(MStatus *ReturnStatus = NULL) const;
Added or changed API.
MStatus registerFileDialog( const MString& fileDialogName, MCreatorFunction creatorFunction );
MStatus deregisterFileDialog( const MString& fileDialogName);
New API class/header.
Added or changed API.
virtual bool supportsNonTextured() const;
Added or changed API.
};
// ****************************************************************************
// CLASS DECLARATION (MPreviewRenderEnvironment)
//! \ingroup OpenMayaRender
//! \brief Utility class for Viewport 2.0
/*!
This is a utility class for rendering previews. Used by LookdevX.
*/
class OPENMAYARENDER_EXPORT MPreviewRenderEnvironment
{
public:
MPreviewRenderEnvironment();
virtual ~MPreviewRenderEnvironment();
MStatus renderImage(MObject shaderNode, MImage &image);
void setClearColor(float clearColor[4]);
MString shape() const;
MString iblPath() const;
float iblYRotation() const;
MRenderUtilities::MaterialViewerCamera cameraMode() const;
bool useDisplayColorSpace() const;
float* clearColor() const;
static const char* className();
void* fImpl;
Added or changed API.
virtual const MShaderInstance * shaderOverride();
Added or changed API.
// Plugin Object type exclusions
virtual MStringArray & pluginDisplayFilterExclusions();
Added or changed API.
// operation on which color management will be applied
virtual MRenderOperation * colorManagedOperation();
The following commands have been updated. See the command reference for details.
None
The following nodes have been updated. See the node reference for details.
None