Payback 0.0.1
CK Graduation Project
로딩중...
검색중...
일치하는것 없음
AnimNotifyState_OverlayMaterial.h
이 파일의 문서화 페이지로 가기
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "Animation/AnimNotifies/AnimNotifyState.h"
6#include "AnimNotifyState_OverlayMaterial.generated.h"
7
8class UMaterialInterface;
9
10UCLASS()
11class CK_UE_API UAnimNotifyState_OverlayMaterial : public UAnimNotifyState
12{
13 GENERATED_BODY()
14
15public:
16 virtual void NotifyBegin(USkeletalMeshComponent* MeshComp, UAnimSequenceBase* Animation, float TotalDuration, const FAnimNotifyEventReference& EventReference) override;
17 virtual void NotifyTick(USkeletalMeshComponent* MeshComp, UAnimSequenceBase* Animation, float FrameDeltaTime, const FAnimNotifyEventReference& EventReference) override;
18 virtual void NotifyEnd(USkeletalMeshComponent* MeshComp, UAnimSequenceBase* Animation, const FAnimNotifyEventReference& EventReference) override;
19
20protected:
21 UPROPERTY(EditAnywhere, Category = "Overlay")
22 TObjectPtr<UMaterialInterface> OverlayMaterial = nullptr;
23
24 UPROPERTY(EditAnywhere, Category = "Overlay")
25 FName IntensityParameterName = TEXT("OutlineIntensity");
26
27 UPROPERTY(EditAnywhere, Category = "Overlay", meta = (ClampMin = "0.0"))
28 float TargetIntensity = 500.0f;
29
30 UPROPERTY(EditAnywhere, Category = "Overlay", meta = (ClampMin = "0.0", Units = "s"))
31 float FadeInDuration = 0.15f;
32
33 UPROPERTY(EditAnywhere, Category = "Overlay", meta = (ClampMin = "0.0", Units = "s"))
34 float FadeOutDuration = 0.15f;
35};
Definition AnimNotifyState_OverlayMaterial.h:12