ShadowsSetupNode.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. // Description : CryMovie animation node for shadow settings
  9. #ifndef CRYINCLUDE_CRYMOVIE_SHADOWSSETUPNODE_H
  10. #define CRYINCLUDE_CRYMOVIE_SHADOWSSETUPNODE_H
  11. #pragma once
  12. #include "AnimNode.h"
  13. class CShadowsSetupNode
  14. : public CAnimNode
  15. {
  16. public:
  17. AZ_CLASS_ALLOCATOR(CShadowsSetupNode, AZ::SystemAllocator);
  18. AZ_RTTI(CShadowsSetupNode, "{419F9F77-FC64-43D1-ABCF-E78E90889DF8}", CAnimNode);
  19. CShadowsSetupNode();
  20. CShadowsSetupNode(const int id);
  21. static void Initialize();
  22. //-----------------------------------------------------------------------------
  23. //! Overrides from CAnimNode
  24. virtual void Animate(SAnimContext& ac);
  25. virtual void CreateDefaultTracks();
  26. virtual void OnReset();
  27. //-----------------------------------------------------------------------------
  28. //! Overrides from IAnimNode
  29. virtual unsigned int GetParamCount() const;
  30. virtual CAnimParamType GetParamType(unsigned int nIndex) const;
  31. static void Reflect(AZ::ReflectContext* context);
  32. protected:
  33. virtual bool GetParamInfoFromType(const CAnimParamType& paramId, SParamInfo& info) const;
  34. };
  35. #endif // CRYINCLUDE_CRYMOVIE_SHADOWSSETUPNODE_H