New in the .NET SDK
"Const WStr&" is now "string"
The unmanaged const WStr&
is now exposed as a managed string
instead of ref string
. This change makes the signatures of several methods nicer. It also makes some set and get methods into properties. Here are some examples:
3ds Max 2014 | 3ds Max 2015 |
---|---|
IILayer.SetName( ref value ) |
IILayer.Name = value |
IILayerManager.GetLayer( ref layerName ); |
IILayerManager.GetLayer( layerName ); |
Accessing an unmanaged object from a .NET wrapper object
All wrappers have a way of accessing their unmanaged pointer from managed code through the INativeObject
interface. In 3ds Max 2015, INativeObject.Handle
has been renamed to INativeObject.NativePointer
.
Newly exposed APIs
IBitmap.ToDib()
is now available as well as any other function or property which returns a PBITMAPINFO
.