#include
<kaydaradef.h>
#include <fbsdk/fbcomponent.h>
#include <fbsdk/fbcore.h>
Go to the source code of
this file.
Define Documentation
#define
FBSDK_DLL K_DLLIMPORT |
Be sure that FBSDK_DLL is defined only once...
Definition at line 44 of file fbuserobject.h.
#define FBUserObjectImplement |
( |
|
ClassName, |
|
|
|
Description, |
|
|
|
IconFilename |
|
) |
|
|
Value:
HIObject RegisterUserObject##ClassName##Create(HIObject , char* pName, void* ){\
ClassName* Class = new ClassName(pName);\
Class->mAllocated = true;\
if( Class->FBCreate() ){\
return Class->GetHIObject();\
} else {\
delete Class;\
return NULL;}}\
FBLibraryModule(ClassName){\
FBRegisterObject(ClassName##R2, "FbxStorable/User", #ClassName, Description, RegisterUserObject##ClassName##Create, true, IconFilename);}\
FB_FORWARD(ClassName);\
int ClassName::ClassId = FBRegister_ClassId(#ClassName);\
int ClassName::GetUserClassId(){\
return ClassId; }\
char* ClassName::FbxGetObjectSubType(){\
return #ClassName;}
Definition at line 60 of file fbuserobject.h.
Function Documentation
FB_DEFINE_COMPONENT |
( |
FBSDK_DLL |
, |
|
|
UserObject |
|
|
) |
|
|