fbxsdk/fileio/fbxgloballightsettings.h Source File

fbxgloballightsettings.h
Go to the documentation of this file.
1 /****************************************************************************************
2 
3  Copyright (C) 2015 Autodesk, Inc.
4  All rights reserved.
5 
6  Use of this software is subject to the terms of the Autodesk license agreement
7  provided at the time of installation or download, or which otherwise accompanies
8  this software in either electronic or hard copy form.
9 
10 ****************************************************************************************/
11 
13 #ifndef _FBXSDK_FILEIO_GLOBAL_LIGHT_SETTINGS_H_
14 #define _FBXSDK_FILEIO_GLOBAL_LIGHT_SETTINGS_H_
15 
16 #include <fbxsdk/fbxsdk_def.h>
17 
19 
20 #include <fbxsdk/fbxsdk_nsbegin.h>
21 
22 class FbxGlobalLightSettingsProperties;
23 
31 {
32 
33 public:
39 
44  void SetAmbientColor(FbxColor pAmbientColor);
45 
49  FbxColor GetAmbientColor() const;
50 
52 
57 
61  void SetFogEnable(bool pEnable);
62 
66  bool GetFogEnable() const;
67 
72  void SetFogColor(FbxColor pColor);
73 
78  FbxColor GetFogColor() const;
79 
82  enum EFogMode
83  {
86  eExponentialSquareRoot
87  };
88 
92  void SetFogMode(EFogMode pMode);
93 
97  EFogMode GetFogMode() const;
98 
104  void SetFogDensity(double pDensity);
105 
110  double GetFogDensity() const;
111 
116  void SetFogStart(double pStart);
117 
122  double GetFogStart() const;
123 
128  void SetFogEnd(double pEnd);
129 
134  double GetFogEnd() const;
135 
137 
144 
148  {
150  ShadowPlane();
151 
153  bool mEnable;
154 
157 
160  };
161 
165  void SetShadowEnable(bool pShadowEnable);
166 
170  bool GetShadowEnable() const;
171 
176  void SetShadowIntensity(double pShadowIntensity);
177 
182  double GetShadowIntensity() const;
183 
187  int GetShadowPlaneCount() const;
188 
194  ShadowPlane* GetShadowPlane(int pIndex, FbxStatus* pStatus=NULL);
195 
199  void AddShadowPlane(ShadowPlane pShadowPlane);
200 
202  void RemoveAllShadowPlanes();
203 
205 
207  void RestoreDefaultSettings();
208 
212  const FbxGlobalLightSettings& operator=(const FbxGlobalLightSettings& pGlobalLightSettings);
213 
214 
215 /*****************************************************************************************************************************
216 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
217 *****************************************************************************************************************************/
218 #ifndef DOXYGEN_SHOULD_SKIP_THIS
219 private:
222 
223  FbxGlobalLightSettingsProperties* mPH;
224 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
225 };
226 
227 #include <fbxsdk/fbxsdk_nsend.h>
228 
229 #endif /* _FBXSDK_FILEIO_GLOBAL_LIGHT_SETTINGS_H_ */
FBX SDK environment definition.
#define FBXSDK_FRIEND_NEW()
Definition: fbxnew.h:397
#define NULL
Definition: fbxarch.h:210
This class contains functions for accessing global light settings.
Class to represent colors in RGBA format using doubles.
This class facilitates the testing/reporting of errors.
Definition: fbxstatus.h:26
A four double mathematic vector class.
Definition: fbxvector4.h:25
Struct used to define the shadow plane.
#define FBXSDK_DLL
Definition: fbxarch.h:173