1 #ifndef __FBMATERIAL_H__ 2 #define __FBMATERIAL_H__ 43 #include <kaydaradef.h> 48 #define FBSDK_DLL K_DLLIMPORT 53 #include <fbsdk/fbtexture.h> 55 #ifdef FBSDKUseNamespace 66 kFBMaterialTextureEmissive,
67 kFBMaterialTextureEmissiveFactor,
68 kFBMaterialTextureAmbient,
69 kFBMaterialTextureAmbientFactor,
70 kFBMaterialTextureDiffuse,
71 kFBMaterialTextureDiffuseFactor,
72 kFBMaterialTextureSpecular,
73 kFBMaterialTextureSpecularFactor,
74 kFBMaterialTextureShiness,
75 kFBMaterialTextureBump,
76 kFBMaterialTextureNormalMap,
77 kFBMaterialTextureTransparent,
78 kFBMaterialTextureTransparentFactor,
79 kFBMaterialTextureReflection,
80 kFBMaterialTextureReflectionFactor,
81 kFBMaterialTextureDisplacementColor
94 FBMaterial(
const char* pName, HIObject pObject=NULL);
143 virtual const char* GetMaterialName()
const;
146 virtual const char* GetMaterialDesc()
const;
157 virtual const char* FbxGetObjectType()
override;
161 virtual const char* FbxGetObjectSubType()
override;
172 FBProperty* CreateTextureConnectableUserProperty(
const char* pName,
FBPropertyType pType,
const char* pDataType,
bool pAnimatable);
194 #define FBStorableCustomMaterialImplementation(ClassName, Type)\ 195 const char* ClassName::FbxGetObjectSubType(){ return #ClassName; }\ 196 HIObject RegisterStorable##ClassName##Create(HIObject , const char* pName, void* ){\ 197 ClassName* Class = new ClassName(pName);\ 198 Class->mAllocated = true;\ 199 if( Class->FBCreate() ){\ 200 return Class->GetHIObject();\ 204 FBLibraryModule(ClassName##Storable){\ 205 FBString lGroup = "FbxStorable/";\ 207 FBRegisterObject(ClassName##R2, lGroup, #ClassName, "", RegisterStorable##ClassName##Create, true, NULL);\ 208 FBSetStoreableCustomMaterialRegistered();}\ 211 #ifdef FBSDKUseNamespace kFbxObjectStore
Description of the different store/retrieve passes of the FBX format.
FBPropertyAnimatableDouble DisplacementFactor
Read Write Property: Displacement Factor value.
#define __FBClassDeclare(Name, Parent)
For internal use only.
FBPropertyType
Property types.
FBPropertyAnimatableDouble DiffuseFactor
Read Write Property: Diffuse Factor value.
FBPropertyAnimatableDouble ReflectionFactor
Read Write Property: Reflection Factor value.
PropertyList: Concrete class for PropertyList of component
FBPropertyAnimatableColor DisplacementColor
Read Write Property: Displacement color.
FB_DEFINE_COMPONENT(K_DLLIMPORT, AnimationNode)
Animation node class.
FBPropertyAnimatableDouble SpecularFactor
Read Write Property: Specular Factor value.
FBPropertyAnimatableColor TransparentColor
Read Write Property: Transparent color.
FBPropertyAnimatableColor Reflection
Read Write Property: Reflection color.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
Property: Base property class.
FBMaterialTextureType
Various Material texture channels' type.
Contains definitions for devices, boxes and models.
FBPropertyAnimatableDouble Shininess
Read Write Property: Shininess value.
FBPropertyAnimatableColor Ambient
Read Write Property: Ambient color.
FBPropertyAnimatableColor Specular
Read Write Property: Specular color.
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
#define FBSDKNamespace
FBSDKNamespace define.
FBPropertyAnimatableColor NormalMap
Read Write Property: Normal Map.
FBPropertyAnimatableDouble AmbientFactor
Read Write Property: Ambient Factor value.
FBPropertyAnimatableDouble EmissiveFactor
Read Write Property: Emissive Factor value.
FBPropertyAnimatableColor Emissive
Read Write Property: Emissive color.
FBPropertyAnimatableDouble TransparencyFactor
Read Write Property: Transparency Factor value.
A box is a fundamental building block in the application architecture.
class K_DLLIMPORT FBPropertyBaseAnimatable< double, kFBPT_double > FBPropertyAnimatableDouble
FBPropertyBaseAnimatableDouble type definition.
FBPropertyAnimatableColor Bump
Read Write Property: Bump.
class K_DLLIMPORT FBPropertyBaseAnimatable< FBColor, kFBPT_ColorRGB > FBPropertyAnimatableColor
FBPropertyAnimatableColor type definition.
FBPropertyAnimatableDouble BumpFactor
Read Write Property: Bump Factor value.
FBPropertyAnimatableColor Diffuse
Read Write Property: Diffuse color.