RealtimeStyleTransferRuntime/Source/LyraGame/Feedback/ContextEffects/LyraContextEffectsInterface.h

63 lines
1.3 KiB
C
Raw Normal View History

2022-05-23 18:41:30 +00:00
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
2022-09-13 07:18:28 +00:00
#include "Engine/HitResult.h"
2022-05-23 18:41:30 +00:00
#include "GameplayTagContainer.h"
2022-09-13 07:18:28 +00:00
#include "Math/MathFwd.h"
#include "Math/Rotator.h"
#include "Math/Vector.h"
#include "UObject/Interface.h"
#include "UObject/NameTypes.h"
#include "UObject/UObjectGlobals.h"
2022-05-23 18:41:30 +00:00
#include "LyraContextEffectsInterface.generated.h"
class UAnimSequenceBase;
2022-09-13 07:18:28 +00:00
class UObject;
class USceneComponent;
struct FFrame;
2022-05-23 18:41:30 +00:00
/**
*
*/
UENUM()
enum EEffectsContextMatchType
{
ExactMatch,
BestMatch
};
/**
*
*/
UINTERFACE(Blueprintable)
class LYRAGAME_API ULyraContextEffectsInterface : public UInterface
{
GENERATED_BODY()
};
class LYRAGAME_API ILyraContextEffectsInterface : public IInterface
{
GENERATED_BODY()
public:
/** */
UFUNCTION(BlueprintCallable, BlueprintNativeEvent)
void AnimMotionEffect(const FName Bone
, const FGameplayTag MotionEffect
, USceneComponent* StaticMeshComponent
, const FVector LocationOffset
, const FRotator RotationOffset
, const UAnimSequenceBase* AnimationSequence
, const bool bHitSuccess
, const FHitResult HitResult
, FGameplayTagContainer Contexts
, FVector VFXScale = FVector(1)
, float AudioVolume = 1
, float AudioPitch = 1);
};