fbxcollectionexclusive.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 fbxcollectionexclusive.h
  9. #ifndef _FBXSDK_SCENE_COLLECTION_EXCLUSIVE_H_
  10. #define _FBXSDK_SCENE_COLLECTION_EXCLUSIVE_H_
  11. #include <fbxsdk/fbxsdk_def.h>
  12. #include <fbxsdk/scene/fbxcollection.h>
  13. #include <fbxsdk/fbxsdk_nsbegin.h>
  14. /** Class for exclusive collections. An object (FbxObject) should belong to only one exclusive collection at most.
  15. * \nosubgrouping
  16. */
  17. class FBXSDK_DLL FbxCollectionExclusive : public FbxCollection
  18. {
  19. FBXSDK_OBJECT_DECLARE(FbxCollectionExclusive, FbxCollection);
  20. public:
  21. /** Add a member if it's not a member of any other FbxCollectionExclusive objects.
  22. * \param pMember Object to be added
  23. */
  24. bool AddMember(FbxObject* pMember);
  25. };
  26. #include <fbxsdk/fbxsdk_nsend.h>
  27. #endif /* _FBXSDK_SCENE_COLLECTION_EXCLUSIVE_H_ */