LEAP Documentation 40220
Documentation for the LEAP project
AnimNotify_PlayWeaponSound.h
Go to the documentation of this file.
1// Copyright Blue Isle Studios Inc 2018. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Animation/AnimNotifies/AnimNotify_PlaySound.h"
7#include "AnimNotify_PlayWeaponSound.generated.h"
8
13class UCurveFloat;
14
15UCLASS()
16class PROJECTX_API UAnimNotify_PlayWeaponSound : public UAnimNotify_PlaySound
17{
18 GENERATED_BODY()
19
20protected:
21 /* A curve that represents how the Heating affects the pitch */
22 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Overheating", meta = (ExposeOnSpawn = true))
23 UCurveFloat* PitchInfluenceOverHeat = nullptr;
24 /* Preview Curve evaluation to test the curve's pitch influence */
25 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Overheating", meta = (ExposeOnSpawn = true))
26 float PreviewCurveValue = 0.f;
27
28private:
29 virtual void Notify(class USkeletalMeshComponent* MeshComp, class UAnimSequenceBase* Animation) override;
30};
Definition: AnimNotify_PlayWeaponSound.h:17