fbxsdk/scene/geometry/fbxlight.h Source File

fbxlight.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_SCENE_GEOMETRY_LIGHT_H_
14 #define _FBXSDK_SCENE_GEOMETRY_LIGHT_H_
15 
16 #include <fbxsdk/fbxsdk_def.h>
17 
19 
20 #include <fbxsdk/fbxsdk_nsbegin.h>
21 
22 class FbxTexture;
23 
28 {
30 
31 public:
43  enum EType
44  {
49  eVolume
50  };
51 
60  {
64  eCubic
65  };
66 
72  {
74  eSphere
75  };
76 
80  void SetShadowTexture(FbxTexture* pTexture);
81 
85  FbxTexture* GetShadowTexture() const;
87 
97 
103 
109 
115 
121 
127 
133 
139 
145 
151 
157 
163 
169 
175 
181 
187 
193 
199 
205 
211 
217 
223 
229 
235 
241 
247 
254 
255 /*****************************************************************************************************************************
256 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
257 *****************************************************************************************************************************/
258 #ifndef DOXYGEN_SHOULD_SKIP_THIS
260 
261 protected:
262  virtual void ConstructProperties(bool pForceSet);
263  virtual FbxStringList GetTypeFlags() const;
264 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
265 };
266 
267 inline EFbxType FbxTypeOf(const FbxLight::EType&){ return eFbxEnum; }
270 
271 #include <fbxsdk/fbxsdk_nsend.h>
272 
273 #endif /* _FBXSDK_SCENE_GEOMETRY_LIGHT_H_ */
FbxPropertyT< FbxFloat > RightBarnDoor
This property handles the right barn door angle.
Definition: fbxlight.h:234
#define FBXSDK_OBJECT_DECLARE(Class, Parent)
Macro used to declare a new class derived from FbxObject.
Definition: fbxobject.h:61
FbxPropertyT< FbxDouble > FarAttenuationEnd
This property handles the attenuation end distance.
Definition: fbxlight.h:204
FBX SDK environment definition.
FbxPropertyT< FbxDouble3 > ShadowColor
This property handles the shadow color.
Definition: fbxlight.h:216
FbxPropertyT< FbxDouble > OuterAngle
This property handles the light outer cone angle (in degrees).
Definition: fbxlight.h:144
FbxPropertyT< FbxBool > DrawVolumetricLight
This property handles the draw volumetric light flag.
Definition: fbxlight.h:108
Array that stores pairs of FbxString and a pointer.
FbxPropertyT< FbxBool > EnableNearAttenuation
This property handles the enable near attenuation flag.
Definition: fbxlight.h:174
FbxPropertyT< FbxDouble > NearAttenuationStart
This property handles the near attenuation start distance.
Definition: fbxlight.h:180
EAreaLightShape
Supported area light types.
Definition: fbxlight.h:71
FbxPropertyT< FbxBool > DrawFrontFacingVolumetricLight
This property handles the draw facing volumetric projection flag.
Definition: fbxlight.h:120
FbxPropertyT< FbxString > FileName
This property handles the gobo file name.
Definition: fbxlight.h:168
This class is the base class for textures, ie classes FbxFileTexture, FbxLayeredTexture and FbxProced...
Definition: fbxtexture.h:26
EType
Node attribute types.
EDecayType
Decay types.
Definition: fbxlight.h:59
FbxPropertyT< FbxDouble3 > Color
This property handles the light color.
Definition: fbxlight.h:126
FbxPropertyT< FbxBool > EnableFarAttenuation
This property handles the enable far attenuation flag.
Definition: fbxlight.h:192
FbxPropertyT< FbxDouble > DecayStart
This property handles the decay start distance.
Definition: fbxlight.h:162
FbxPropertyT< FbxDouble > Intensity
This property handles the light intensity.
Definition: fbxlight.h:132
FbxPropertyT< FbxDouble > Fog
This property handles the light fog intensity.
Definition: fbxlight.h:150
EFbxType
Type identifier constants.
FbxPropertyT< EDecayType > DecayType
This property handles the decay type.
Definition: fbxlight.h:156
FbxPropertyT< FbxFloat > BottomBarnDoor
This property handles the bottom barn door angle.
Definition: fbxlight.h:246
FbxPropertyT< EAreaLightShape > AreaLightShape
This property handles type when LightType is eArea.
Definition: fbxlight.h:222
This node attribute contains methods for accessing the properties of a light.
Definition: fbxlight.h:27
EFbxType FbxTypeOf(const FbxLight::EType &)
Definition: fbxlight.h:267
FbxPropertyT< FbxDouble > FarAttenuationStart
This property handles the far attenuation start distance.
Definition: fbxlight.h:198
FbxPropertyT< FbxDouble > InnerAngle
This property handles the light inner cone angle (in degrees).
Definition: fbxlight.h:138
Enumeration.
FbxPropertyT< FbxBool > EnableBarnDoor
This property handles active status of barn doors.
Definition: fbxlight.h:252
EType
Light types.
Definition: fbxlight.h:43
FbxPropertyT< FbxFloat > LeftBarnDoor
This property handles the left barn door angle.
Definition: fbxlight.h:228
virtual FbxNodeAttribute::EType GetAttributeType() const
Return the type of node attribute.
#define FBXSDK_DLL
Definition: fbxarch.h:173
FbxPropertyT< FbxBool > DrawGroundProjection
This property handles the draw ground projection flag.
Definition: fbxlight.h:114
FbxPropertyT< FbxFloat > TopBarnDoor
This property handles the top barn door angle.
Definition: fbxlight.h:240
FbxPropertyT< FbxBool > CastShadows
This property handles the cast shadow flag.
Definition: fbxlight.h:210
FbxPropertyT< FbxBool > CastLight
This property handles the cast light on object flag.
Definition: fbxlight.h:102
This class is the base class to all types of node attributes.
FbxPropertyT< FbxDouble > NearAttenuationEnd
This property handles the near end attenuation.
Definition: fbxlight.h:186
FbxPropertyT< EType > LightType
This property handles the light type.
Definition: fbxlight.h:96
virtual void ConstructProperties(bool pForceSet)
Optional property constructor override, automatically called by default constructor.