最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

3dsmax - How to implement a FPInterfaceDesc Core interface in the 3ds Max .NET SDK - Stack Overflow

programmeradmin2浏览0评论

Has anyone tried implementing a Core interface in the 3ds Max .NET SDK?

This is an example of the 3ds Max C++ SDK

#include "C:\Program Files\Autodesk\3ds Max 2025 SDK\maxsdk\include\ifnpub.h"

extern const Interface_ID MyInterface_Interface_ID;

class IMyInterface :
    public FPInterfaceDesc
{
public:
    IMyInterface():
        FPInterfaceDesc(MyInterface_Interface_ID, _T("MyInterface"), 0, NULL, FP_CORE, p_end) { };
};

Do I need to inherit this interface in .NET?

using Autodesk.Max;

public class IMyInterface : IFPInterfaceDesc
{
    ...
}
发布评论

评论列表(0)

  1. 暂无评论