Added a method to get matrix for matching local matrix.
static MStatus matchLocalMatrix(const MDagPath & source,
const MMatrix & localMatrix,
MTransformationMatrix& transformationMatrix,
bool preserveOffsetParentMatrix = true,
bool preservePivot = true,
bool preservePivotOffset = false);
Added a method for locking/unlocking the plug.
MStatus setPlugLockState( const MPlug & plug, bool newState );
Added two methods to get color and values at positions.
void getColorsAtPositions (MFloatArray& positions, MColorArray& colors, MStatus* ReturnStatus = nullptr);
void getValuesAtPositions (MFloatArray& positions, MFloatArray& value, MStatus* ReturnStatus = nullptr);
Added a method for extracting geometry.
MGeometryExtractor(const MHWRender::MGeometryRequirements& requirements,
const MObject& polyObject, ::MHWRender::MPolyGeomOptions options, MStatus* status = NULL);
Using MObject instead of MDagPath in the MGeometryExtractorConstructHelper
void MGeometryExtractorConstructHelper(const MHWRender::MGeometryRequirements& requirements, const MObject& geomObject,
::MHWRender::MPolyGeomOptions options, MStatus* status);
Added enums for supporting boolean operations.
OPENMAYA_ENUM(BooleanOperation,
//! Boolean union
kBooleanUnion = 1,
//! Boolean difference A-B
kBooleanDifferenceAB,
//! Boolean intersection
kBooleanIntersection,
//! Boolean difference B-A
kBooleanDifferenceBA,
//! Boolean split
kBooleanSplit,
//! Boolean split edges
kBooleanSplitEdges,
//! Boolean hole punch
kBooleanHolePunch,
//! Boolean cut out
kBooleanCutOut
);
//! Boolean geometry mode
OPENMAYA_ENUM(BoolGeometryMode,
//! Geometry Mode mesh
kMeshGeometryMode,
//! Geometry Mode legacy mesh
kLegacyMeshGeometryMode,
//! Geometry Mode volume
kVolumeGeometryMode
);
Added a method for boolean operations.
MStatus booleanOperations(const MUintArray &op, const MObjectArray& meshes, BoolClassification classification = kNormalClassification, BoolGeometryMode geometryMode = kMeshGeometryMode, float voxelSize = 1.0f);
Added the following methods:
unsigned int numViewSelectedObjects( MStatus *ReturnStatus = nullptr ) const;
MStatus viewSelectedObject( unsigned int index, MStringArray& objectStrings ) const;
bool viewSelected( MStatus *ReturnStatus = nullptr ) const;
Fixed typo of the parameter in the getM3dViewFromModelPanel.
Added an enum for setting axis for faces.
OPENMAYA_ENUM(Axis,
kXaxis, //!< \nop
kYaxis, //!< \nop
kZaxis //!< \nop
);
Added a method for setting face axis.
MStatus setFaceAxis ( const MFnVolumeLight::Axis axis );
Added and enumeration and methods for setting and getting culling modes.
OPENMAYA_ENUM(CullMode,
/*!
No face is culled.
*/
CullNone,
/*!
Front face is culled.
*/
CullFront,
/*!
Back face is culled.
*/
CullBack
);
// Set culling mode
void setCullMode(CullMode cullMode);
// Get current culling mode
CullMode cullMode() const;
Added two stock shaders.
k3dOpenPBRSurfaceShader,
k3dIsotropicOpenPBRSurfaceShader,
Added a pointer to a callback function which takes a string and a boolean.
typedef void (*MStringBoolFunction)( const MString& str, bool state, void* clientData );
Add a callback to be notified when the view selected state or view selected objects for any 3D view changes.
static MCallbackId add3dViewSelectedChangedCallback(
MUiMessage::MStringBoolFunction func,
void * clientData = nullptr,
MStatus * ReturnStatus = nullptr );
This method isn't available in .NET API.
Added flip the image from left to right or upside down.
static MObject flipInX;
static MObject flipInY;
Added a function that returns if the shading node can handle consolidated geometry.
virtual bool handlesConsolidatedGeometry() const;
Added a method to get fragment name considering if it is textured.
virtual MString fragmentName(bool textured) const;
Added an updating shader method based on whether it is textured.
virtual void updateShader(
MShaderInstance& shader,
const MAttributeParameterMappingList& mappings,
bool textured);
-tangentScale and -tangentLineThickness options have been added to the addMetadata command.animContextManager command has been added.cutView command has been added.-affectedLayersAttribute option has been added to the animLayer command.-computeModifies option has been removed from attributeQuery command.-dumpInfo option has been added to the blendShape, boneLattice, cluster, deformer, deltaMush, nonLinear, sculpt, sculptTarget, skinCluster, softMod, tension, transferAttributes, wire, jointLattice, and lattice commands.-detailedMessage option has been added to the confirmDialog command.-level option has been removed from dbtrace command. -noEvaluation option has been removed from getAttr command.-ordered option has been added to the keyingGroup command.-ufeCameras option has been added to the listCameras command.-pluginPath option has been added to the loadPlugin command.-selectPasted option has been added to the pasteKey command.-stepKeyLoop option has been added to the playbackOptions command.-exposure, -gamma, and -partialSave options have been added to the playblast command.polyGWDebugCmd command has been added.-color and -showPercentText option has been added to the progressBar command.-modal and -showProgressPercentText options have been added to the progressWindow command.-stopIprRenderProcedure and -supportUFECameras option has been added to the renderer command.-ordered option has been added to the setXformManip command.-modal option has been added to the window command.-maximumHeight and -maximumWidth option has been added to the workspaceControl command.-parentSpace option has been added to the xform command.mlDeformer command has been added.openPBRSurface