fbxdisplaylayer.h 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /****************************************************************************************
  2. Copyright (C) 2015 Autodesk, Inc.
  3. All rights reserved.
  4. Use of this software is subject to the terms of the Autodesk license agreement
  5. provided at the time of installation or download, or which otherwise accompanies
  6. this software in either electronic or hard copy form.
  7. ****************************************************************************************/
  8. //! \file fbxdisplaylayer.h
  9. #ifndef _FBXSDK_SCENE_DISPLAY_LAYER_H_
  10. #define _FBXSDK_SCENE_DISPLAY_LAYER_H_
  11. #include <fbxsdk/fbxsdk_def.h>
  12. #include <fbxsdk/scene/fbxcollectionexclusive.h>
  13. #include <fbxsdk/fbxsdk_nsbegin.h>
  14. /** Class for display layers.
  15. * \nosubgrouping
  16. * Display layers are overlapping views of your scene that contain a list of members.
  17. * The members are exclusive. Members cannot be part of multiple display layers.
  18. * Display layers enables user to organize elements of scene and affect visibility and manipulation attributes of multiple objects at once.
  19. */
  20. class FBXSDK_DLL FbxDisplayLayer : public FbxCollectionExclusive
  21. {
  22. FBXSDK_OBJECT_DECLARE(FbxDisplayLayer, FbxCollectionExclusive);
  23. public:
  24. //////////////////////////////////////////////////////////////////////////
  25. //
  26. // Properties
  27. //
  28. //////////////////////////////////////////////////////////////////////////
  29. /** This property stores the color of this display layer.
  30. *
  31. * Default value is FbxDouble3(0.8,0.8,0.8).
  32. */
  33. FbxPropertyT<FbxDouble3> Color;
  34. /** This property stores the visibility of this display layer.
  35. *
  36. * Default value is true.
  37. */
  38. FbxPropertyT<FbxBool> Show;
  39. /** This property stores the manipulation state of this display layer.
  40. *
  41. * Default value is false.
  42. */
  43. FbxPropertyT<FbxBool> Freeze;
  44. /** This property stores the level of detail mode of this display layer.
  45. *
  46. * Default value is false.
  47. */
  48. FbxPropertyT<FbxBool> LODBox;
  49. //////////////////////////////////////////////////////////////////////////
  50. // Static values
  51. //////////////////////////////////////////////////////////////////////////
  52. // Default property values
  53. static const FbxDouble3 sColorDefault;
  54. /*****************************************************************************************************************************
  55. ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
  56. *****************************************************************************************************************************/
  57. #ifndef DOXYGEN_SHOULD_SKIP_THIS
  58. protected:
  59. virtual void ConstructProperties(bool pForceSet);
  60. #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
  61. };
  62. #include <fbxsdk/fbxsdk_nsend.h>
  63. #endif /* _FBXSDK_SCENE_DISPLAY_LAYER_H_ */