1 #ifndef __FBUSEROBJECT_H__
2 #define __FBUSEROBJECT_H__
39 #include <kaydaradef.h>
44 #define FBSDK_DLL K_DLLIMPORT
50 #ifdef FBSDKUseNamespace
51 namespace FBSDKNamespace {
60 #define FBUserObjectImplement(ClassName, Description, IconFilename)\
61 HIObject RegisterUserObject##ClassName##Create(HIObject , const char* pName, void* ){\
62 ClassName* Class = new ClassName(pName);\
63 Class->mAllocated = true;\
64 if( Class->FBCreate() ){\
65 return Class->GetHIObject();\
69 FBLibraryModule(ClassName){\
70 FBRegisterObject(ClassName##R2, "FbxStorable/User", #ClassName, Description, RegisterUserObject##ClassName##Create, true, IconFilename);}\
71 FB_FORWARD(ClassName);\
72 int ClassName::ClassId = FBRegister_ClassId(#ClassName);\
73 int ClassName::GetUserClassId(){\
75 const char* ClassName::FbxGetObjectSubType(){\
120 #ifdef FBSDKUseNamespace
A box is a fundamental building block in the application architecture.
PropertyList: Concrete class for PropertyList of component
PropertyList: UserObject.
FBUserObject * operator[](int pIndex)
Get the UserObject at pIndex.
virtual bool FbxStore(FBFbxObject *pFbxObject, kFbxObjectStore pStoreWhat) override
Store and Retrieve function that can be overloaded.
FBUserObject(const char *pName, HIObject pObject=NULL)
Constructor.
#define FBDeclareUserObject(ClassName)
Event registration/un-registration.
#define __FBClassDeclare(Name, Parent)
For internal use only.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
Contains definitions for devices, boxes and models.
FB_DEFINE_COMPONENT(K_DLLIMPORT, AnimationNode)
Animation node class.
kFbxObjectStore
Description of the different store/retrieve passes of the FBX format.
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.