Maya 2016 においての C++ API の変更点

このページは、最初の 2015 リリース以降、Maya 2016 の C++ API に加えられた変更の詳細なリストを示しています。

新しいクラス

削除されたクラス

修正されたクラス

継承

MPxDeformerNodeMPxGeometryFilter から派生します。

新しいクラス メソッド

M3dView

M3dView::makeSharedContextCurrent()

MAnimCurveClipboardItemArray

最初の配列サイズおよび既定値を受け取る新しいコンストラクタです。

MAnimCurveClipboardItemArray::setLength()

MCommandResult

MInt64 結果を返すことができます。

MDGMessage

MDGMessage::addNodeChangeUuidCheckCallback()

MDGModifier

MDGModifier::newPlugValueInt64()

MDGModifier::pythonCommandToExecute()

MDataHandle

MDataHandle::asInt64()

MDataHandle::asGenericInt64()

MDataHandle::setInt64()

MDataHandle::setGenericInt64()

MDrawRegistry

MDrawRegistry::registerComponentConverter()

MDrawRegistry::deregisterComponentConverter()

MFloatPoint

MPoint

MFloatVector

MVector

これらのクラスには互いのコンストラクタがあります。

MFnCamera

MFnCamera::isDisplayGateMask()

MFnComponent

MFnComponent::setWeight()

MFnComponent::setWeights()

MFnDagNode

MFnDagNode::objectColorType()

MFnDagNode::setObjectColorType()

MFnDagNode::objectColorIndex()

MFnDagNode::objectColorRGB()

MFnDagNode::objectColorRGB()

MFnDependencyNode

MFnDependencyNode::setUuid()

MFnDependencyNode::uuid()

MFnMesh

MFnMesh::getAxisAtPoint()

MFnMesh::getPinUVs()

MFnMesh::setPinUVs()

MFnNumericAttribute

MInt64 バージョンの MFnNumericAttribute::getDefault() および MFnNumericAttribute::setDefault()

MFnPlugin

MFnPlugin::registerRenderer()

MFnPlugin::deregisterRenderer()

MFnPlugin::registerAnimCurveInterpolator()

MFnPlugin::deregisterAnimCurveInterpolator()

MFnSingleIndexedComponent

MFnSingleIndexedComponent::elementMax()

MFragmentManager

MFragmentManager::removeFragment()

MFrameContext

MFrameContext::getHwFogParameters()

MGlobal

MGlobal::getAbsolutePathToResources()

MGlobal::setRichSelection()

MGlobal::getPreselectionHiliteList()

MGlobal::setPreselectionHiliteList()

MItMeshPolygon

MItMeshPolygon::getAxisAtUV()

MMeshSmoothOptions

MMeshSmoothOptions::setOpenSubdivVertexBoundary()

MMeshSmoothOptions::openSubdivVertexBoundary()

MMeshSmoothOptions::setOpenSubdivFaceVaryingBoundary()

MMeshSmoothOptions::openSubdivFaceVaryingBoundary()

MMeshSmoothOptions::setOpenSubdivSmoothTriangles()

MMeshSmoothOptions::openSubdivSmoothTriangles()

MMeshSmoothOptions::setOpenSubdivCreaseMethod()

MMeshSmoothOptions::openSubdivCreaseMethod()

MNodeMessage

MNodeMessage::addUuidChangedCallback()

MPlug

MPlug::asInt64()

MPlug::setInt64()

MPolyMessage

MPolyMessage::addUVSetChangedCallback()

MPxConstraintCommand

MPxConstraintCommand::setRestPosition()

MPxContext

MPxContext::drawFeedback()

MPxDrawOverride

MPxDrawOverride::refineSelectionPath()

MPxDrawOverride::updateSelectionGranularity()

MPxGeometryOverride

MPxGeometryOverride::refineSelectionPath()

MPxGeometryOverride::updateSelectionGranularity()

MPxManipContainer

MPxManipContainer::addPlugToInViewEditor()

MPxManipulatorNode

MPxManipulatorNode::shouldDrawHandleAsSelected()

MPxNode

MPxNode::postEvaluation()

MPxNode::preEvaluation()

MPxNode::schedulingType()

MPxShaderOverride

MPxShaderOverride::overridesNonMaterialItems()

MPxShaderOverride::nonTexturedShaderInstance()

MPxSubSceneOverride

MPxSubSceneOverride::setAllowTransparentInstances()

MPxSubSceneOverride::areUIDrawablesDirty()

MPxSubSceneOverride::hasUIDrawables()

MPxSubSceneOverride::addUIDrawables()

MPxSubSceneOverride::updateSelectionGranularity()

MPxSurfaceShape

MPxSurfaceShape::getComponentSelectionMask()

MRenderer

MRenderer::GPUmaximumOutputTargetSize()

MRenderer::setOutputTargetOverrideSize()

MRenderer::getOutputTargetOverrideSize()

MRenderer::unsetOutputTargetOverrideSize()

MRenderer::NotificationCallback (新しいコールバック typedef)

MRenderer::addNotification()

MRenderer::removeNotification()

MRenderer::notificationCount()

MRenderer::presentOnScreen()

MRenderer::setPresentOnScreen()

MRenderer::useGradient()

MRenderer::clearColor()

MRenderer::clearColor2()

MRenderItem

MRenderItem::setSupportsAdvancedTransparency()

MRenderItem::supportsAdvancedTransparency()

MRenderItem::setShaderFromNode()

MRenderItem::isShaderFromNode()

MRenderItem::selectionMask()

MRenderItem::setSelectionMask()

MRenderItem::availableShaderParameters()

MRenderItem::getShaderBoolParameter()

MRenderItem::getShaderIntParameter()

MRenderItem::getShaderFloatParameter()

MRenderItem::getShaderFloatArrayParameter()

MRenderItem::LinkLostCallback (新しいコールバック typedef)

MRenderTarget

MRenderTarget::freeRawData()

MRenderUtil

MRenderUtil::noiseTableSize()

MRenderUtil::noiseTableCubeSide()

MRenderUtil::valueInNoiseTable()

MRenderUtil::noise1()

MRenderUtil::noise2()

MRenderUtil::noise3()

MRenderUtil::noise4()

MRenderUtilities

MRenderUtilities::drawSimpleMesh()

MRenderUtilities::renderMaterialViewerGeometry()

MRichSelection

MRichSelection::setSelection()

MSceneMessage

MSceneMessage::addNamespaceRenamedCallback()

MSelectionList

MUuid を取る MSelectionList::add()

MShaderInstance

MShaderInstance::annotationAsInt()

MShaderInstance::annotationAsFloat()

MShaderInstance::annotationAsString()

MShaderInstance::parameterSemantic()

MShaderInstance::parameterDefaultValue()

MShaderInstance::resourceName()

MShaderInstance::uiWidget()

MShaderInstance::uiName()

MShaderInstance::techniqueAnnotationAsString()

MShaderManager

MShaderManager::getEffectsTechniques()

MShaderInstance

MShaderInstance::createShaderInstanceWithColorManagementFragment()

MShaderInstance::techniqueAnnotationAsInt()

MShaderInstance::techniqueAnnotationAsFloat()

MShaderInstance::passAnnotationAsInt()

MShaderInstance::passAnnotationAsFloat()

MShaderInstance::passAnnotationAsString()

MSwatchRenderBase

MSwatchRenderBase::enableSwatchRender()

MTexture

MTexture::freeRawData()

MTextureManager

MTextureArguments を受け取る MTextureManager::acquireTexture()

MTimeArray

MTimeArray::copy()

MUIDrawManager

MUIDrawManager::setFontIncline()

MUIDrawManager::setFontWeight()

MUIDrawManager::setFontStretch()

MUIDrawManager::setFontLine()

MUIDrawManager::lineList()

MUIDrawManager::lineStrip()

MUIDrawManager::points()

MUIDrawManager::icon()

MUIDrawManager::getIconNames()

名前および nameIsPickable パラメータを受け取る MUIDrawManager::beginDrawable()

MWeight

MWeight::setInfluence()

MWeight::setSeam()

削除されたクラス メソッド

MPxGlBuffer

MPxGlBuffer::open()

MPxGlBuffer::close()

MPxGlBuffer::drawable()

MPxGlBuffer::context()

MPxGlBuffer::display()

MPxGlBuffer::visual()

MPxGlBuffer::setUseExternalDrawable()

MPxGlBuffer::setDoubleBuffer()

MPxGlBuffer::setDisplay()

MPxGlBuffer::setDrawable()

MPxGlBuffer::setVisual()

修正されたクラス メソッド

MFnMesh

MFnMesh::extrudeFaces() および MFnMesh::extrudeEdges() は厚さと offset 引数を受け取ります。

MFnNurbsSurface

MFnNurbsSurface::projectCurve() は direction 引数を受け取ります。

MPxPolyTweakUVInteractiveCommand

MPxPolyTweakUVInteractiveCommand::setUVs() は uvSet 引数を受け取ります。

MRenderUtilities

MRenderUtilities::acquireSwatchDrawContext() and MRenderUtilities::acquireUVTextureDrawContext() の両方で、任意のカラーと深度ターゲットを取ります。

MRenderUtilities::releaseDrawContext() は、オプションの releaseTargets フラグを取ります。

MPxSubSceneOverride

MPxSubSceneOverride::getSelectionPath() は、実装されていないため、以前にフラグが設定されています。

MPxSurfaceShape

MPxSurfaceShape::getShapeSelectionMask() は、実装されていないため、以前にフラグが設定されています。

新しいパブリック クラスメンバー、列挙、および列挙値

M3dView::DisplayObjects

M3dView::kDisplayParticleInstancers

MFn

列挙型

MFn::kDeltaMush

MFn::kMatrixArrayData

MFn::kPolyPinUV

MFn::kAnimLayerClipSingle

MFn::kAnimLayerClipRotation

MFn::kCaddyManipBase

MFn::kPolyModifierManipContainer

MFn::kPluginSkinCluster

MFn::kPluginGeometryFilter

MFn::kPluginBlendShape

MFnAnimCurve::TangentType

MFnAnimCurve::kTangentShared1

MFnAnimCurve::kTangentShared2

MFnAnimCurve::kTangentShared3

MFnAnimCurve::kTangentShared4

MFnAnimCurve::kTangentShared5

MFnAnimCurve::kTangentShared6

MFnAnimCurve::kTangentShared7

MFnAnimCurve::kTangentShared8

MFnAnimCurve::kTangentCustomStart

MFnAnimCurve::kTangentCustomEnd

MFnAnimCurve::kTangentTypeCount

MFnData

列挙型

MFnData::kMatrixArray

MFnNumericData

列挙型

MFnNumericData::kInt64

MFrameContext::PostEffectType

MFrameContext::kViewColorTransformEnabled

MFrameContext::DisplayStyle

MFrameContext::kFlatShaded

MFrameContext::kShadeActiveOnly

MFrameContext::LightingMode

MFrameContext::kNoLighting

MFrameContext::kCustomLights

MFrameContext

MFrameContext::FogMode

MFrameContext::HwFogParams

MGeometry

MGeometry::DataType

MGeometry::Semantic

MGeometry::Primitive

MGeometry::DrawMode

MMeshSmoothOptions

MMeshSmoothOptions::OpenSubdivVertexBoundary

MMeshSmoothOptions::OpenSubdivCreaseMethod

MPassContext

MPassContext::kBeginRenderSemantic

MPassContext::kEndRenderSemantic

MPassContext::kBeginSceneRenderSemantic

MPassContext::kEndSceneRenderSemantic

MPassContext::kSelectionPassSemantic

MPxNode

列挙型

MPxNode::kSkinCluster

MPxNode::kGeometryFilter

MPxNode::kBlendShape

MPxNode

MPxNode::SchedulingType

MPxNode::frozen

MRenderItem

MRenderItem::sSelectionDepthPriority

MRenderItem::RenderItemType

MRenderItem::OverrideNonMaterialItem

MRenderUtilities

MRenderUtilities::MaterialViewerCamera

MRenderUtilities::MaterialViewerLights

MSceneRender::MObjectTypeExclusions

MSceneRender::kExcludeHoldOuts

MSceneRender::MDisplayMode

MSceneRender::kFlatShaded

MSceneRender::kShadeActiveOnly

MSceneRender::kTextured

MSceneRender::MLightingMode

MSceneRender::kNoLight

MShaderManager::MStockShader

MShaderManager::k3dOpacityLookupFatPointShader

MShaderManager::k3dColorOpacityLookupFatPointShader

MShaderManager::k3dFloat2NumericShader

MUIDrawManager

MUIDrawManager::FontSize

MUIDrawManager::TextIncline

MUIDrawManager::TextWeight

MUIDrawManager::TextStretch

TextLine

 

削除されたパブリック クラス メンバーと enum 値

MFn

MFn::kAnimLayerClipBlender

MFn::kAnimLayerTestClipBlenderBase

MFn::kAnimLayerTestClipBlender

MFn::kAnimLayerTestClipBlenderRotation

MFn::kPolyCaddyManipContainer

MSceneRender

MSceneRender::MDisplayMode::kShadeNonTextured