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_PHONG_H_ 00014 #define _FBXSDK_SCENE_SHADING_SURFACE_PHONG_H_ 00015 00016 #include <fbxsdk/fbxsdk_def.h> 00017 00018 #include <fbxsdk/scene/shading/fbxsurfacelambert.h> 00019 #include <fbxsdk/scene/fbxgroupname.h> 00020 #include <fbxsdk/core/base/fbxerror.h> 00021 00022 #include <fbxsdk/fbxsdk_nsbegin.h> 00023 00027 class FBXSDK_DLL FbxSurfacePhong : public FbxSurfaceLambert 00028 { 00029 FBXSDK_OBJECT_DECLARE(FbxSurfacePhong, FbxSurfaceLambert); 00030 00031 public: 00036 00037 FbxPropertyT<FbxDouble3> Specular; 00038 00042 FbxPropertyT<FbxDouble> SpecularFactor; 00043 00048 FbxPropertyT<FbxDouble> Shininess; 00049 00053 FbxPropertyT<FbxDouble3> Reflection; 00054 00058 FbxPropertyT<FbxDouble> ReflectionFactor; 00060 00062 // Static values 00064 00069 00070 static const FbxDouble3 sSpecularDefault; 00071 static const FbxDouble sSpecularFactorDefault; 00072 00073 static const FbxDouble sShininessDefault; 00074 00075 static const FbxDouble3 sReflectionDefault; 00076 static const FbxDouble sReflectionFactorDefault; 00077 00079 00081 // 00082 // WARNING! 00083 // 00084 // Anything beyond these lines may not be documented accurately and is 00085 // subject to change without notice. 00086 // 00088 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00089 protected: 00090 FbxSurfacePhong(FbxManager& pManager, char const* pName); 00091 00092 virtual bool ConstructProperties(bool pForceSet); 00093 00094 // Local 00095 void Init(); 00096 00097 #endif // #ifndef DOXYGEN_SHOULD_SKIP_THIS 00098 00099 }; 00100 00101 #include <fbxsdk/fbxsdk_nsend.h> 00102 00103 #endif /* _FBXSDK_SCENE_SHADING_SURFACE_PHONG_H_ */