MovieSceneAkAudioRTPCTrack.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. #if UE_4_26_OR_LATER
  20. #include "Compilation/IMovieSceneTrackTemplateProducer.h"
  21. #else
  22. #include "MovieSceneBackwardsCompatibility.h"
  23. #endif
  24. #include "MovieSceneAkAudioRTPCTrack.generated.h"
  25. /**
  26. * Handles manipulation of float properties in a movie scene
  27. */
  28. UCLASS(MinimalAPI)
  29. class UMovieSceneAkAudioRTPCTrack
  30. : public UMovieSceneAkTrack
  31. , public IMovieSceneTrackTemplateProducer
  32. {
  33. GENERATED_BODY()
  34. public:
  35. UMovieSceneAkAudioRTPCTrack()
  36. {
  37. #if WITH_EDITORONLY_DATA
  38. SetColorTint(FColor(58, 111, 143, 65));
  39. #endif
  40. }
  41. AKAUDIO_API virtual FMovieSceneEvalTemplatePtr CreateTemplateForSection(const UMovieSceneSection& InSection) const override;
  42. AKAUDIO_API virtual UMovieSceneSection* CreateNewSection() override;
  43. AKAUDIO_API virtual FName GetTrackName() const override;
  44. virtual bool SupportsType(TSubclassOf<UMovieSceneSection> SectionClass) const override;
  45. #if WITH_EDITORONLY_DATA
  46. AKAUDIO_API virtual FText GetDisplayName() const override;
  47. #endif
  48. };