00001
00003 #ifndef FBXFILESDK_KFBXPLUGINS_KFBXLAYEREDTEXTURE_H
00004 #define FBXFILESDK_KFBXPLUGINS_KFBXLAYEREDTEXTURE_H
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041 #include <fbxfilesdk/components/kbaselib/kaydaradef_h.h>
00042 #include <fbxfilesdk/components/kbaselib/kaydara.h>
00043 #include <fbxfilesdk/kfbxplugins/kfbxgroupname.h>
00044 #include <fbxfilesdk/kfbxplugins/kfbxtexture.h>
00045
00046 #include <fbxfilesdk/fbxfilesdk_nsbegin.h>
00047
00051 class KFBX_DLL KFbxLayeredTexture : public KFbxTexture
00052 {
00053 public:
00054
00055 KFBXOBJECT_DECLARE(KFbxLayeredTexture,KFbxTexture);
00056
00064 typedef enum
00065 {
00066 eTRANSLUCENT,
00067 eADDITIVE,
00068 eMODULATE,
00069 eMODULATE2,
00070 eOVER
00071 } EBlendMode;
00072
00077 bool operator==( const KFbxLayeredTexture& pOther ) const;
00078
00084 bool SetTextureBlendMode( int pIndex, EBlendMode pMode );
00085
00091 bool GetTextureBlendMode( int pIndex, EBlendMode& pMode ) const;
00092
00094
00095
00096
00097
00098
00099
00101 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00102
00103 protected:
00104
00105 struct InputData
00106 {
00107 EBlendMode mBlendMode;
00108 };
00109
00110 public:
00111 KArrayTemplate<InputData> mInputData;
00112
00113 protected:
00114 KFbxLayeredTexture(KFbxSdkManager& pManager, char const* pName);
00115
00116 virtual KFbxObject* Clone(KFbxObject* pContainer, KFbxObject::ECloneType pCloneType) const;
00117 virtual bool ConstructProperties(bool pForceSet);
00118 virtual KFbxLayeredTexture& operator = (KFbxLayeredTexture const& pSrc);
00119
00120 virtual bool ConnecNotify (KFbxConnectEvent const &pEvent);
00121
00122 bool RemoveInputData( int pIndex );
00123 #endif // #ifndef DOXYGEN_SHOULD_SKIP_THIS
00124 };
00125
00126 inline EFbxType FbxTypeOf( KFbxLayeredTexture::EBlendMode const &pItem ) { return eENUM; }
00127
00128 #include <fbxfilesdk/fbxfilesdk_nsend.h>
00129
00130 #endif // FBXFILESDK_KFBXPLUGINS_KFBXLAYEREDTEXTURE_H
00131