fbxsurfacematerial.h

Go to the documentation of this file.
00001 /****************************************************************************************
00002  
00003    Copyright (C) 2013 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_MATERIAL_H_
00014 #define _FBXSDK_SCENE_SHADING_SURFACE_MATERIAL_H_
00015 
00016 #include <fbxsdk/fbxsdk_def.h>
00017 
00018 #include <fbxsdk/core/fbxobject.h>
00019 
00020 #include <fbxsdk/fbxsdk_nsbegin.h>
00021 
00025 class FBXSDK_DLL FbxSurfaceMaterial : public FbxObject
00026 {
00027     FBXSDK_OBJECT_DECLARE(FbxSurfaceMaterial, FbxObject);
00028 
00029 public:
00034 
00035     static char const* sShadingModel;
00036     static char const* sMultiLayer;
00037     
00038     static char const* sEmissive;
00039     static char const* sEmissiveFactor;
00040     
00041     static char const* sAmbient;
00042     static char const* sAmbientFactor;
00043     
00044     static char const* sDiffuse;
00045     static char const* sDiffuseFactor;
00046     
00047     static char const* sSpecular;
00048     static char const* sSpecularFactor;
00049     static char const* sShininess;
00050     
00051     static char const* sBump;
00052     static char const* sNormalMap;
00053     static char const* sBumpFactor;
00054 
00055     static char const* sTransparentColor;
00056     static char const* sTransparencyFactor;
00057     
00058     static char const* sReflection;
00059     static char const* sReflectionFactor;
00060 
00061     static char const* sDisplacementColor;
00062     static char const* sDisplacementFactor;
00063 
00064     static char const* sVectorDisplacementColor;
00065     static char const* sVectorDisplacementFactor;
00067 
00072     FbxPropertyT<FbxString> ShadingModel;
00073     FbxPropertyT<FbxBool> MultiLayer;
00075 
00077     // Static values
00079 
00084 
00085     static const FbxBool sMultiLayerDefault;
00086     static char const*  sShadingModelDefault;
00087 
00089 
00090 /*****************************************************************************************************************************
00091 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
00092 *****************************************************************************************************************************/
00093 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00094 protected:
00095     bool SetColorParameter(FbxProperty pProperty, FbxColor const& pColor);
00096     bool GetColorParameter(FbxProperty pProperty, FbxColor& pColor) const;
00097     bool SetDoubleParameter(FbxProperty pProperty, double pDouble);
00098     bool GetDoubleParameter(FbxProperty pProperty, double pDouble) const;
00099     
00100     virtual void ConstructProperties(bool pForceSet);
00101 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
00102 };
00103 
00104 #include <fbxsdk/fbxsdk_nsend.h>
00105 
00106 #endif /* _FBXSDK_SCENE_SHADING_SURFACE_MATERIAL_H_ */