1 #ifndef __FBMATERIAL_H__
2 #define __FBMATERIAL_H__
48 #define FBSDK_DLL K_DLLIMPORT
55 #ifdef FBSDKUseNamespace
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
FBPropertyAnimatableDouble DiffuseFactor
Read Write Property: Diffuse Factor value.
FBPropertyAnimatableDouble BumpFactor
Read Write Property: Bump Factor value.
#define __FBClassDeclare(Name, Parent)
For internal use only.
FBPropertyAnimatableColor Diffuse
Read Write Property: Diffuse color.
FBPropertyAnimatableDouble AmbientFactor
Read Write Property: Ambient Factor value.
#define FB_DEFINE_COMPONENT(DllTag, Type)
Define a component and give it the ability to be a property.
FBPropertyAnimatableDouble DisplacementFactor
Read Write Property: Displacement Factor value.
class FBPropertyBaseAnimatable< double, kFBPT_double > FBPropertyAnimatableDouble
FBPropertyBaseAnimatableDouble type definition.
FBPropertyAnimatableColor Reflection
Read Write Property: Reflection color.
FBPropertyAnimatableColor Ambient
Read Write Property: Ambient color.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
Contains definitions for devices, boxes and models.
FBPropertyAnimatableColor Specular
Read Write Property: Specular color.
FBPropertyAnimatableColor Emissive
Read Write Property: Emissive color.
FBPropertyAnimatableDouble EmissiveFactor
Read Write Property: Emissive Factor value.
FBPropertyType
Property types.
FBPropertyAnimatableDouble TransparencyFactor
Read Write Property: Transparency Factor value.
PropertyList: Concrete class for PropertyList of component
FBPropertyAnimatableColor Bump
Read Write Property: Bump.
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
Property: Base property class.
#define FBSDKNamespace
FBSDKNamespace define.
FBPropertyAnimatableColor NormalMap
Read Write Property: Normal Map.
FBPropertyAnimatableColor DisplacementColor
Read Write Property: Displacement color.
A box is a fundamental building block in the application architecture.
class FBPropertyBaseAnimatable< FBColor, kFBPT_ColorRGB > FBPropertyAnimatableColor
FBPropertyAnimatableColor type definition.
FBPropertyAnimatableDouble Shininess
Read Write Property: Shininess value.
FBPropertyAnimatableColor TransparentColor
Read Write Property: Transparent color.
kFbxObjectStore
Description of the different store/retrieve passes of the FBX format.
FBPropertyAnimatableDouble SpecularFactor
Read Write Property: Specular Factor value.
FBMaterialTextureType
Various Material texture channels' type.
FBPropertyAnimatableDouble ReflectionFactor
Read Write Property: Reflection Factor value.