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 fbxdisplaylayer.h |
13 | #ifndef _FBXSDK_SCENE_DISPLAY_LAYER_H_ |
14 | #define _FBXSDK_SCENE_DISPLAY_LAYER_H_ |
15 | |
16 | #include <fbxsdk/fbxsdk_def.h> |
17 | |
18 | #include <fbxsdk/scene/fbxcollectionexclusive.h> |
19 | |
20 | #include <fbxsdk/fbxsdk_nsbegin.h> |
21 | |
22 | /** Class for display layers. |
23 | * \nosubgrouping |
24 | * Display layers are overlapping views of your scene that contain a list of members. |
25 | * The members are exclusive. Members cannot be part of multiple display layers. |
26 | * Display layers enables user to organize elements of scene and affect visibility and manipulation attributes of multiple objects at once. |
27 | */ |
28 | class FBXSDK_DLL FbxDisplayLayer : public FbxCollectionExclusive |
29 | { |
30 | FBXSDK_OBJECT_DECLARE(FbxDisplayLayer, FbxCollectionExclusive); |
31 | |
32 | public: |
33 | ////////////////////////////////////////////////////////////////////////// |
34 | // |
35 | // Properties |
36 | // |
37 | ////////////////////////////////////////////////////////////////////////// |
38 | /** This property stores the color of this display layer. |
39 | * |
40 | * Default value is FbxDouble3(0.8,0.8,0.8). |
41 | */ |
42 | FbxPropertyT<FbxDouble3> Color; |
43 | /** This property stores the visibility of this display layer. |
44 | * |
45 | * Default value is true. |
46 | */ |
47 | FbxPropertyT<FbxBool> Show; |
48 | /** This property stores the manipulation state of this display layer. |
49 | * |
50 | * Default value is false. |
51 | */ |
52 | FbxPropertyT<FbxBool> Freeze; |
53 | /** This property stores the level of detail mode of this display layer. |
54 | * |
55 | * Default value is false. |
56 | */ |
57 | FbxPropertyT<FbxBool> LODBox; |
58 | |
59 | ////////////////////////////////////////////////////////////////////////// |
60 | // Static values |
61 | ////////////////////////////////////////////////////////////////////////// |
62 | |
63 | // Default property values |
64 | static const FbxDouble3 sColorDefault; |
65 | |
66 | /***************************************************************************************************************************** |
67 | ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! ** |
68 | *****************************************************************************************************************************/ |
69 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
70 | protected: |
71 | virtual void ConstructProperties(bool pForceSet); |
72 | #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/ |
73 | }; |
74 | |
75 | #include <fbxsdk/fbxsdk_nsend.h> |
76 | |
77 | #endif /* _FBXSDK_SCENE_DISPLAY_LAYER_H_ */ |
78 | |