Payback 0.0.1
CK Graduation Project
로딩중...
검색중...
일치하는것 없음
PatternWarningDecalData.h
이 파일의 문서화 페이지로 가기
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "PatternWarningDecalData.generated.h"
6
7class UMaterialInterface;
8
9USTRUCT(BlueprintType)
11{
12 GENERATED_BODY()
13
14public:
15 UPROPERTY(EditAnywhere, Category = "Warning")
16 TObjectPtr<UMaterialInterface> MaxRangeDecalMaterial;
17
18 UPROPERTY(EditAnywhere, Category = "Warning")
19 TObjectPtr<UMaterialInterface> FillDecalMaterial;
20
21 UPROPERTY(EditAnywhere, Category = "Warning", meta = (ClampMin = "0.0"))
22 float DecalDepth = 128.0f;
23
24 UPROPERTY(EditAnywhere, Category = "Warning", meta = (ClampMin = "0.0"))
25 float FadeInDuration = 0.15f;
26
27 UPROPERTY(EditAnywhere, Category = "Warning", meta = (ClampMin = "0.0"))
28 float FadeOutDuration = 0.15f;
29};
30
31USTRUCT(BlueprintType)
33{
34 GENERATED_BODY()
35
36public:
37 UPROPERTY(EditAnywhere, Category = "Warning", meta = (ClampMin = "0.0"))
38 float StartRadius = 10.0f;
39};
40
41USTRUCT(BlueprintType)
43{
44 GENERATED_BODY()
45
46public:
47 void SetLineDecalSettings(const FVector& InLocalStartLocation, const float InLength, const float InWidth)
48 {
49 LocalStartLocation = InLocalStartLocation;
50 Length = InLength;
51 Width = InWidth;
52 }
53
54 FORCEINLINE const FVector& GetLocalStartLocation() const { return LocalStartLocation; }
55 FORCEINLINE float GetLength() const { return Length; }
56 FORCEINLINE float GetWidth() const { return Width; }
57
58private:
59 // 런타임에 계산된다.
60 FVector LocalStartLocation = FVector::ZeroVector;
61 float Length = 0.0f;
62 float Width = 0.0f;
63};
Definition PatternWarningDecalData.h:43
FORCEINLINE float GetLength() const
Definition PatternWarningDecalData.h:55
void SetLineDecalSettings(const FVector &InLocalStartLocation, const float InLength, const float InWidth)
Definition PatternWarningDecalData.h:47
FORCEINLINE const FVector & GetLocalStartLocation() const
Definition PatternWarningDecalData.h:54
FORCEINLINE float GetWidth() const
Definition PatternWarningDecalData.h:56
Definition PatternWarningDecalData.h:11
Definition PatternWarningDecalData.h:33