New Classes and Methods
New Classes
Following are the new classes:
BezFontEX2- Replaces theBezFontEXclass.BitmapIOMetaData- Exposes extended parameters for theBitmapIOclass that relates to things like gamma correction preferences.IBaseGrip2- Extends theIBaseGripclass to provide extra functionality for updating the visibility of the caddy.IMenuItemExtension- The new menu system in 3ds Max 2014 allows the display of an icon next to the menu, if the new graphical menu system is enabled. This class extends the oldIMenuItemclass and can point to a file for the icon.IMenuManagerExtension- Extends theIMenuManagerclass and this must be used instead of the old one.IPathConfigMgrEx- Provides extended access to application path configuration.ISceneCallbackPriority- Callback classes that inherit fromViewportDisplayCallbackcan also sub-classISceneCallbackPriorityto assign a priority. Callbacks with a higher priority are called before the callbacks with a priority of zero.MaxSDK::Util::IBailOutBusyProcessManager- Enables early termination from long computations by pressing the Esc key. See maxsdk\util\bailout.h for more details.MaxSDK::Util::IDlgShowingStatusForPolyObj- Helps with using caddies for the mesh classes. See maxsdk\include\Util\IDlgShowingStatusForPolyObj.h for more details.Mergeable- AllowsReferenceTargetthat is not attached toINodeto be merged into the scene. See mergeable.h for more details.ParamBlockPLCBEx- Replaces theParamBlockPLCBclass.TextureHandleUtility- Utility class to createTextureHandlefromTexmap.
The following new classes are related to the Particle Flow.
IParticleChannelExt2IParticleChannelINodeHandleRIParticleChannelINodeHandleWIParticleChannelTrueFalseIterator2IParticleGroupExtIPFActionExtIPFActionListMaterialHolderIPFOperatorPhysXWorldIPFSystemWorld
Additionally, some minor modifications are made in the BitArray class to improve performance.
Changes in the Animatable class
- Virtual
GetClassName()overridden inAnimatablesub-classes - This virtual method is overridden in 19 public SDK classes that inherit from theAnimatableclass. - New static
Animatable::IsDeleted()method - This method can be used to test whether anAnimatablepointer is valid and not deleted. This method provides a useful shortcut for storing anAnimHandleand using that to test whether an object is deleted. However, this is not a complete replacement for storing anAnimHandlebecause it can return false positives. - New
AnimPropertymethods - Two new non-virtual methods are added toAnimatableto append and findAnimPropertypointers:Animatable::AppendProperty()Animatable::FindProperty()
New Methods
- To support the new menu system in 3ds Max 2014, the following new methods are added for tooltips and icons to
ActionItem:ActionItem::GetTooltipKey()ActionItem::SetTooltipKey()ActionItem::MaxSDK::Util::Path GetIconPath()ActionItem::SetIconPath()
- Following non-virtual method is added to the
MNMeshandMeshclasses to complement the meshGenerateRenderItems()function:MNMesh::GenerateDeferredRenderItems()Mesh::GenerateDeferredRenderItems()
- Following new non-virtual methods that aid in FileIO is added to the
MaxSDK::Util::TextFile::Readerclass:Reader::ConvertNumUTF8CharsToNumBytes()Reader::ConvertNumUTF16CharsToNumBytes()Reader::ConvertNumCharsToNumBytes()
- A new
Path::SaveBaseFile()method is added toMaxSDK::Util::Pathfor supporting future Autodesk 360 features. - A new
BezFontManager::BuildCharacterEx()method is added to theBezFontManagerclass to replace theBezFontManager::BuildCharacter()method.
Additionally, many non-virtual methods in Point3 were modified with \__forceinline to improve performance.
Miscellaneous
There are other minor changes in the SDK mostly related to Particle Flow. Most of these changes involve addition of enumerators, functions, macros and typedefs.
