fbxproceduraltexture.h 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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 fbxproceduraltexture.h
  9. #ifndef _FBXSDK_SCENE_SHADING_TEXTURE_PROCEDURAL_H_
  10. #define _FBXSDK_SCENE_SHADING_TEXTURE_PROCEDURAL_H_
  11. #include <fbxsdk/fbxsdk_def.h>
  12. #include <fbxsdk/scene/shading/fbxtexture.h>
  13. #include <fbxsdk/fbxsdk_nsbegin.h>
  14. /** Contains the information to generate a texture procedurally. Data information for the texture
  15. * generation is contained in a blob property.
  16. * \see FbxTexture
  17. * \nosubgrouping
  18. */
  19. class FBXSDK_DLL FbxProceduralTexture : public FbxTexture
  20. {
  21. FBXSDK_OBJECT_DECLARE(FbxProceduralTexture, FbxTexture);
  22. public:
  23. /**
  24. * \name Procedural Texture Properties
  25. */
  26. //@{
  27. /** This property handles the raw data for generating procedural texture.
  28. */
  29. FbxPropertyT<FbxBlob> BlobProp;
  30. /** Resets the default procedural texture values.
  31. */
  32. void Reset();
  33. //@}
  34. /**
  35. * \name Property Access Methods
  36. */
  37. //@{
  38. /** Sets the blob.
  39. * \param pBlob Blob containing information for the procedural texture
  40. */
  41. void SetBlob(FbxBlob& pBlob);
  42. /** Get the blob.
  43. * \return Blob containing information for the procedural texture
  44. */
  45. FbxBlob GetBlob() const;
  46. //@}
  47. /*****************************************************************************************************************************
  48. ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
  49. *****************************************************************************************************************************/
  50. #ifndef DOXYGEN_SHOULD_SKIP_THIS
  51. virtual FbxObject& Copy(const FbxObject& pObject);
  52. bool operator==(FbxProceduralTexture const& pTexture) const;
  53. protected:
  54. virtual void Construct(const FbxObject* pFrom);
  55. virtual void ConstructProperties(bool pForceSet);
  56. void Init();
  57. #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
  58. };
  59. #include <fbxsdk/fbxsdk_nsend.h>
  60. #endif /* _FBXSDK_SCENE_SHADING_TEXTURE_PROCEDURAL_H_ */