| 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 | |
| 12 | //! \file fbxgobo.h |
| 13 | #ifndef _FBXSDK_FILEIO_GOBO_H_ |
| 14 | #define _FBXSDK_FILEIO_GOBO_H_ |
| 15 | |
| 16 | #include <fbxsdk/fbxsdk_def.h> |
| 17 | |
| 18 | #include <fbxsdk/core/base/fbxstring.h> |
| 19 | |
| 20 | #include <fbxsdk/fbxsdk_nsbegin.h> |
| 21 | |
| 22 | /** |
| 23 | * \brief A gobo is a filter placed over a spot light to project light patterns through fog on a surface. |
| 24 | * You can also use an image file as a gobo, which cause the light to project an image, much like a projector. |
| 25 | */ |
| 26 | class FbxGobo |
| 27 | { |
| 28 | public: |
| 29 | FbxGobo(char* pName) : |
| 30 | mName(pName) |
| 31 | { |
| 32 | } |
| 33 | |
| 34 | //! Gobo name. |
| 35 | FbxString mName; |
| 36 | //! path and file name of the image file. |
| 37 | FbxString mFileName; |
| 38 | //! Flag that if shows the light projected on the ground. |
| 39 | bool mDrawGroundProjection; |
| 40 | //! Flag that lets you create a volumetric lighting effect by making the light stream visible. |
| 41 | bool mVolumetricLightProjection; |
| 42 | //! Flag that front facing light occurs when the camera view is looking down or up the light stream of a Spot light, which makes the light stream look three-dimensional. |
| 43 | bool mFrontVolumetricLightProjection; |
| 44 | }; |
| 45 | |
| 46 | #include <fbxsdk/fbxsdk_nsend.h> |
| 47 | |
| 48 | #endif /* _FBXSDK_FILEIO_GOBO_H_ */ |
| 49 | |