00001 /**************************************************************************************** 00002 00003 Copyright (C) 2012 Autodesk, Inc. 00004 All rights reserved. 00005 00006 Use of this software is subject to the terms of the Autodesk license agreement 00007 provided at the time of installation or download, or which otherwise accompanies 00008 this software in either electronic or hard copy form. 00009 00010 ****************************************************************************************/ 00011 00013 #ifndef _FBXSDK_SCENE_SHADING_SURFACE_LAMBERT_H_ 00014 #define _FBXSDK_SCENE_SHADING_SURFACE_LAMBERT_H_ 00015 00016 #include <fbxsdk/fbxsdk_def.h> 00017 00018 #include <fbxsdk/scene/shading/fbxsurfacematerial.h> 00019 #include <fbxsdk/scene/fbxgroupname.h> 00020 00021 #include <fbxsdk/core/base/fbxerror.h> 00022 00023 #include <fbxsdk/fbxsdk_nsbegin.h> 00024 00028 class FBXSDK_DLL FbxSurfaceLambert : public FbxSurfaceMaterial 00029 { 00030 FBXSDK_OBJECT_DECLARE(FbxSurfaceLambert,FbxSurfaceMaterial); 00031 00032 public: 00037 00039 FbxPropertyT<FbxDouble3> Emissive; 00040 00044 FbxPropertyT<FbxDouble> EmissiveFactor; 00045 00047 FbxPropertyT<FbxDouble3> Ambient; 00048 00052 FbxPropertyT<FbxDouble> AmbientFactor; 00053 00055 FbxPropertyT<FbxDouble3> Diffuse; 00056 00060 FbxPropertyT<FbxDouble> DiffuseFactor; 00061 00065 FbxPropertyT<FbxDouble3> NormalMap; 00066 00070 FbxPropertyT<FbxDouble3> Bump; 00071 00075 FbxPropertyT<FbxDouble> BumpFactor; 00076 00078 FbxPropertyT<FbxDouble3> TransparentColor; 00079 00083 FbxPropertyT<FbxDouble> TransparencyFactor; 00084 00086 FbxPropertyT<FbxDouble3> DisplacementColor; 00087 00089 FbxPropertyT<FbxDouble> DisplacementFactor; 00090 00092 FbxPropertyT<FbxDouble3> VectorDisplacementColor; 00093 00095 FbxPropertyT<FbxDouble> VectorDisplacementFactor; 00096 00098 00100 // Static values 00102 00107 00108 static const FbxDouble3 sEmissiveDefault; 00109 static const FbxDouble sEmissiveFactorDefault; 00110 00111 static const FbxDouble3 sAmbientDefault; 00112 static const FbxDouble sAmbientFactorDefault; 00113 00114 static const FbxDouble3 sDiffuseDefault; 00115 static const FbxDouble sDiffuseFactorDefault; 00116 00117 static const FbxDouble3 sBumpDefault; 00118 static const FbxDouble3 sNormalMapDefault; 00119 static const FbxDouble sBumpFactorDefault; 00120 00121 static const FbxDouble3 sTransparentDefault; 00122 static const FbxDouble sTransparencyFactorDefault; 00123 00124 static const FbxDouble3 sDisplacementDefault; 00125 static const FbxDouble sDisplacementFactorDefault; 00126 00127 static const FbxDouble3 sVectorDisplacementDefault; 00128 static const FbxDouble sVectorDisplacementFactorDefault; 00129 00131 00133 // 00134 // WARNING! 00135 // 00136 // Anything beyond these lines may not be documented accurately and is 00137 // subject to change without notice. 00138 // 00140 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00141 protected: 00142 FbxSurfaceLambert(FbxManager& pManager, char const* pName); 00143 00144 virtual bool ConstructProperties(bool pForceSet); 00145 00146 // Local 00147 void Init(); 00148 00149 #endif // #ifndef DOXYGEN_SHOULD_SKIP_THIS 00150 00151 }; 00152 00153 #include <fbxsdk/fbxsdk_nsend.h> 00154 00155 #endif /* _FBXSDK_SCENE_SHADING_SURFACE_LAMBERT_H_ */