What's new in the Maya 2027 devkit

API Changes

MAnimUtil

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();

MFnDistanceManip

Added or changed API.

MStatus        setSnapMode(bool state);

Added or changed API.

bool        isSnapModeOn(MStatus *ReturnStatus = NULL) const;

MFnPlugin

Added or changed API.

MStatus registerFileDialog( const MString& fileDialogName, MCreatorFunction creatorFunction );

    MStatus deregisterFileDialog( const MString& fileDialogName);

MPxFileDialog

New API class/header.

MPxShaderOverride

Added or changed API.

virtual bool supportsNonTextured() const;

MRenderUtilities

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;

MViewport2Renderer

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();

New commands

Updated commands

The following commands have been updated. See the command reference for details.

New nodes

None

Updated nodes

The following nodes have been updated. See the node reference for details.

None

Back to top