fbxsdk/scene/shading/fbxsurfacematerial.h Source File
 
 
 
fbxsdk/scene/shading/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 const char* sShadingModel;
00036         static const char* sMultiLayer;
00037         
00038         static const char* sEmissive;
00039         static const char* sEmissiveFactor;
00040         
00041         static const char* sAmbient;
00042         static const char* sAmbientFactor;
00043         
00044         static const char* sDiffuse;
00045         static const char* sDiffuseFactor;
00046         
00047         static const char* sSpecular;
00048         static const char* sSpecularFactor;
00049         static const char* sShininess;
00050         
00051         static const char* sBump;
00052         static const char* sNormalMap;
00053     static const char* sBumpFactor;
00054 
00055         static const char* sTransparentColor;
00056         static const char* sTransparencyFactor;
00057         
00058         static const char* sReflection;
00059         static const char* sReflectionFactor;
00060 
00061     static const char* sDisplacementColor;
00062     static const char* sDisplacementFactor;
00063 
00064     static const char* sVectorDisplacementColor;
00065     static const char* sVectorDisplacementFactor;
00067 
00072         FbxPropertyT<FbxString> ShadingModel;
00073         FbxPropertyT<FbxBool> MultiLayer;
00075 
00077         // Static values
00079 
00084 
00085         static const FbxBool sMultiLayerDefault;
00086         static const char*      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_ */