fbxprocessorxrefuserlib.h 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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 fbxprocessorxrefuserlib.h
  9. #ifndef _FBXSDK_UTILS_PROCESSOR_XREF_USERLIB_H_
  10. #define _FBXSDK_UTILS_PROCESSOR_XREF_USERLIB_H_
  11. #include <fbxsdk/fbxsdk_def.h>
  12. #include <fbxsdk/utils/fbxprocessorxref.h>
  13. #include <fbxsdk/fbxsdk_nsbegin.h>
  14. /**
  15. * Specialized xref copy processor
  16. */
  17. class FBXSDK_DLL FbxProcessorXRefCopyUserLibrary : public FbxProcessorXRefCopy
  18. {
  19. FBXSDK_OBJECT_DECLARE(FbxProcessorXRefCopyUserLibrary, FbxProcessorXRefCopy);
  20. public:
  21. /**
  22. * \name Properties
  23. */
  24. //@{
  25. // Do we copy files even if they are in the system library?
  26. // Defaults to FALSE.
  27. FbxPropertyT<FbxBool> CopyAllAssets;
  28. // Do we copy files even if they are not within the scene? This is
  29. // the typical use case when creating a new library, and defaults to
  30. // TRUE. If you want to extract assets from a specific library you
  31. // you would set this to FALSE to ignore assets from external (user,
  32. // system) libraries.
  33. FbxPropertyT<FbxBool> CopyExternalAssets;
  34. // Do we copy assets that use absolute paths? If true, then after
  35. // the scene processor has run through the URL will be relative to
  36. // the scene document.
  37. // Defaults to TRUE.
  38. FbxPropertyT<FbxBool> CopyAbsoluteUrlAssets;
  39. //@}
  40. /*****************************************************************************************************************************
  41. ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
  42. *****************************************************************************************************************************/
  43. #ifndef DOXYGEN_SHOULD_SKIP_THIS
  44. protected:
  45. virtual void ConstructProperties(bool pForceSet);
  46. virtual bool ValidPropertyForXRefCopy(FbxObject* pObject, FbxProperty& lProperty) const;
  47. #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
  48. };
  49. #include <fbxsdk/fbxsdk_nsend.h>
  50. #endif /* _FBXSDK_UTILS_PROCESSOR_XREF_USERLIB_H_ */