游戏开发论坛

 找回密码
 立即注册
搜索
查看: 981|回复: 1

max plugin about ClassDesc2's Category()

[复制链接]

414

主题

611

帖子

621

积分

高级会员

Rank: 4

积分
621
发表于 2006-8-13 14:30:00 | 显示全部楼层 |阅读模式
ClassDesc2的Category()的字串(IDS_CATEGORY)??霈F在Max的哪???窗上?

class maxProject0812ClassDesc : public ClassDesc2 {
        public:
        int                         IsPublic() { return TRUE; }
        void *                        Create(BOOL loading = FALSE) { return new maxProject0812(); }
        const TCHAR *        ClassName() { return GetString(IDS_CLASS_NAME); }
        SClass_ID                SuperClassID() { return SCENE_EXPORT_CLASS_ID; }
        Class_ID                ClassID() { return maxProject0812_CLASS_ID; }
        const TCHAR*         Category() { return GetString(IDS_CATEGORY); }

        const TCHAR*        InternalName() { return _T("maxProject0812"); }        // returns fixed parsable name (scripter-visible name)
        HINSTANCE                HInstance() { return hInstance; }                                        // returns owning module handle
       

};

36

主题

1047

帖子

1147

积分

金牌会员

Rank: 6Rank: 6

积分
1147
发表于 2006-8-13 20:46:00 | 显示全部楼层

Re:max plugin about ClassDesc2's Category()

找找便知
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2026-1-25 03:44

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表