WwiseUEFeatures.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. // Defines which features of the Wwise-Unreal integration are supported in which version of UE.
  16. #pragma once
  17. #include "WwiseUnrealDefines.h"
  18. #include "Containers/Ticker.h"
  19. // Styling naming changed between UE4 and UE5.
  20. #if WITH_EDITOR
  21. #if UE_5_0_OR_LATER
  22. #include "Styling/AppStyle.h"
  23. using FAkAppStyle = FAppStyle;
  24. #else
  25. #include "EditorStyleSet.h"
  26. using FAkAppStyle = FEditorStyle;
  27. #endif
  28. #endif
  29. // UE 5.0 typedefs
  30. #if UE_5_0_OR_LATER
  31. using FUnrealFloatVector = FVector3f;
  32. using FUnrealFloatVector2D = FVector2f;
  33. using FUnrealFloatPlane = FPlane4f;
  34. using FTickerDelegateHandle = FTSTicker::FDelegateHandle;
  35. using FCoreTickerType = FTSTicker;
  36. #else
  37. using FUnrealFloatVector = FVector;
  38. using FUnrealFloatVector2D = FVector2D;
  39. using FCoreTickerType = FTicker;
  40. using FUnrealFloatPlane = FPlane;
  41. using FTickerDelegateHandle = FDelegateHandle;
  42. #endif