Space Plunder
Loading...
Searching...
No Matches
ALSAnimNotifyFootstep.h
Go to the documentation of this file.
1// Copyright: Copyright (C) 2022 Doğa Can Yanıkoğlu
2// Source Code: https://github.com/dyanikoglu/ALS-Community
3
4
5#pragma once
6
7#include "CoreMinimal.h"
8#include "Animation/AnimNotifies/AnimNotify.h"
10#include "Kismet/GameplayStatics.h"
11
12#include "ALSAnimNotifyFootstep.generated.h"
13
14class UDataTable;
15
19UCLASS()
20class ALSV4_CPP_API UALSAnimNotifyFootstep : public UAnimNotify
21{
22 GENERATED_BODY()
23
24 virtual void Notify(USkeletalMeshComponent* MeshComp, UAnimSequenceBase* Animation, const FAnimNotifyEventReference& EventReference) override;
25
26 virtual FString GetNotifyName_Implementation() const override;
27
28public:
29 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Settings")
30 TObjectPtr<UDataTable> HitDataTable;
31
32 static FName NAME_Foot_R;
33 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Socket")
34 FName FootSocketName = NAME_Foot_R;
35
36 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Trace")
37 TEnumAsByte<ETraceTypeQuery> TraceChannel;
38
39 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Trace")
40 TEnumAsByte<EDrawDebugTrace::Type> DrawDebugType;
41
42 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Trace")
43 float TraceLength = 50.0f;
44
45 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Decal")
46 bool bSpawnDecal = false;
47
48 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Decal")
49 bool bMirrorDecalX = false;
50
51 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Decal")
52 bool bMirrorDecalY = false;
53
54 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Decal")
55 bool bMirrorDecalZ = false;
56
57 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Sound")
58 bool bSpawnSound = true;
59
60 static FName NAME_FootstepType;
61 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Sound")
62 FName SoundParameterName = NAME_FootstepType;
63
64 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Sound")
66
67 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Sound")
68 bool bOverrideMaskCurve = false;
69
70 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Sound")
71 float VolumeMultiplier = 1.0f;
72
73 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Sound")
74 float PitchMultiplier = 1.0f;
75
76 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Niagara")
77 bool bSpawnNiagara = false;
78};
EALSFootstepType
Definition ALSCharacterEnumLibrary.h:134
UCLASS(Blueprintable, BlueprintType, ClassGroup=(BucciGames), meta=(BlueprintSpawnableComponent)) class CHATSYSTEM_API UChatSystemComponent
Definition ChatSystemComponent.h:13
Definition ALSAnimNotifyFootstep.h:21