MovieSceneAkAudioRTPCTrack.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /*******************************************************************************
  2. The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
  3. Technology released in source code form as part of the game integration package.
  4. The content of this file may not be used without valid licenses to the
  5. AUDIOKINETIC Wwise Technology.
  6. Note that the use of the game engine is subject to the Unreal(R) Engine End User
  7. License Agreement at https://www.unrealengine.com/en-US/eula/unreal
  8. License Usage
  9. Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
  10. this file in accordance with the end user license agreement provided with the
  11. software or, alternatively, in accordance with the terms contained
  12. in a written agreement between you and Audiokinetic Inc.
  13. Copyright (c) 2023 Audiokinetic Inc.
  14. *******************************************************************************/
  15. #pragma once
  16. #include "MovieSceneAkTrack.h"
  17. #include "AkInclude.h"
  18. #include "AkAudioEvent.h"
  19. #include "WwiseUnrealDefines.h"
  20. #if UE_4_26_OR_LATER
  21. #include "Compilation/IMovieSceneTrackTemplateProducer.h"
  22. #else
  23. #include "MovieSceneBackwardsCompatibility.h"
  24. #endif
  25. #include "MovieSceneAkAudioRTPCTrack.generated.h"
  26. /**
  27. * Handles manipulation of float properties in a movie scene
  28. */
  29. UCLASS(MinimalAPI)
  30. class UMovieSceneAkAudioRTPCTrack
  31. : public UMovieSceneAkTrack
  32. , public IMovieSceneTrackTemplateProducer
  33. {
  34. GENERATED_BODY()
  35. public:
  36. UMovieSceneAkAudioRTPCTrack()
  37. {
  38. #if WITH_EDITORONLY_DATA
  39. SetColorTint(FColor(58, 111, 143, 65));
  40. #endif
  41. }
  42. AKAUDIO_API virtual FMovieSceneEvalTemplatePtr CreateTemplateForSection(const UMovieSceneSection& InSection) const override;
  43. AKAUDIO_API virtual UMovieSceneSection* CreateNewSection() override;
  44. AKAUDIO_API virtual FName GetTrackName() const override;
  45. virtual bool SupportsType(TSubclassOf<UMovieSceneSection> SectionClass) const override;
  46. #if WITH_EDITORONLY_DATA
  47. AKAUDIO_API virtual FText GetDisplayName() const override;
  48. #endif
  49. };