|
Payback 0.0.1
CK Graduation Project
|
#include <CharacterGhostEffectComponent.h>


Public 멤버 함수 | |
| UCharacterGhostEffectComponent () | |
| void | InitializeGhostEffect (USkeletalMeshComponent *InSourceMeshComponent) |
| void | PlayGhostEffect () |
| void | StopGhostEffect () |
| void | RemoveGhostEffect (float InFadeOutDuration) |
| void | ForceEndGhostEffect () |
| bool | StartTravelGhost (const FVector &Direction) |
| void | StopTravelGhost (bool bImmediate=false) |
| void | SetGhostOpacity (float Value) |
| void | SetGhostEmissiveIntensity (float Value) |
| void | SetGhostFresnelPower (float Value) |
| void | SetGhostFresnelIntensity (float Value) |
| void | SetGhostColor (FLinearColor Color) |
| void | SetGhostHoldDuration (float Value) |
| void | SetGhostFadeInDuration (float Value) |
| void | SetGhostFadeOutDuration (float Value) |
| void | SetHideOriginalMeshWhileActive (bool bShouldHide) |
| FORCEINLINE EGhostEffectState | GetGhostEffectState () const |
| FORCEINLINE UPoseableMeshComponent * | GetGhostMeshComponent () const |
Protected 멤버 함수 | |
| virtual void | BeginPlay () override |
| virtual void | EndPlay (const EEndPlayReason::Type EndPlayReason) override |
Protected 속성 | |
| TObjectPtr< UMaterialInterface > | GhostMaterial = nullptr |
| float | FadeInDuration = 0.35f |
| float | HoldDuration = 0.25f |
| float | FadeOutDuration = 0.35f |
| float | MaxOpacity = 0.5f |
| bool | bHideOriginalMeshWhileActive = false |
Private 멤버 함수 | |
| bool | ResolveSourceMeshComponent () |
| bool | EnsureGhostMeshComponent () |
| bool | PrepareGhostMeshComponent () |
| void | CaptureGhostProjectionPose () |
| void | ApplyGhostMaterial () |
| void | SetGhostMeshVisible (bool bVisible) |
| void | SetOriginalMeshHidden (bool bHidden) |
| void | RestoreOriginalMeshVisibility () |
| USkeletalMeshComponent * | GetPlayerWeaponMeshComponent () const |
| void | SetCurrentState (EGhostEffectState NewState) |
| void | StartFadeIn () |
| void | StartFadeOut (float InStartOpacity) |
| void | UpdateFade () |
| void | StartHolding () |
| void | FinishHolding () |
| void | ClearHoldTimer () |
| void | ClearFadeTimer () |
| void | ClearEffectTimers () |
| void | CaptureTrailSample (const FVector &Direction) |
| void | UpdateTravelGhost () |
Private 속성 | |
| const FName | GhostColor = TEXT("GhostColor") |
| const FName | Opacity = TEXT("Opacity") |
| const FName | EmissiveIntensity = TEXT("EmissiveIntensity") |
| const FName | FresnelPower = TEXT("FresnelPower") |
| const FName | FresnelIntensity = TEXT("FresnelIntensity") |
| TObjectPtr< USkeletalMeshComponent > | SourceMeshComponent = nullptr |
| TObjectPtr< UPoseableMeshComponent > | GhostMeshComponent = nullptr |
| TArray< TObjectPtr< UMaterialInstanceDynamic > > | GhostMaterialInstances |
| TArray< FGhostTrailSample > | TrailSamples |
| EGhostEffectState | CurrentState = EGhostEffectState::Inactive |
| double | StateStartTime = 0.0 |
| float | CurrentOpacity = 0.0f |
| float | FadeOutStartOpacity = 0.0f |
| float | FadeStartOpacity = 0.0f |
| float | FadeTargetOpacity = 0.0f |
| float | FadeDuration = 0.0f |
| FTimerHandle | HoldTimerHandle |
| FTimerHandle | FadeTimerHandle |
| bool | bOriginalVisibility = true |
| bool | bOriginalHiddenInGame = false |
| bool | bOriginalWeaponVisibility = true |
| bool | bOriginalWeaponHiddenInGame = false |
| bool | bHasStoredOriginalVisibility = false |
| bool | bHasStoredWeaponVisibility = false |
| FTimerHandle | TrailTimerHandle |
| FVector | LastTrailLocation = FVector::ZeroVector |
| double | LastTrailTime = 0.0 |
| int32 | NextTrailIndex = 0 |
| bool | bTravelActive = false |
| EVisibilityBasedAnimTickOption | OriginalAnimTickOption {} |
정적 Private 속성 | |
| static constexpr int32 | MaxTrailSamples = 4 |
| static constexpr float | TrailLifetime = 0.12f |
| static constexpr float | TrailInterval = 0.03f |
단일 잔상과 이동 경로 잔상의 수명 및 원본 메시 표시를 관리합니다.
| UCharacterGhostEffectComponent::UCharacterGhostEffectComponent | ( | ) |
|
private |
다음을 참조함 : GhostMaterial, GhostMaterialInstances, GhostMeshComponent, SourceMeshComponent.
다음에 의해서 참조됨 : PlayGhostEffect().

|
overrideprotectedvirtual |
다음을 참조함 : EnsureGhostMeshComponent(), ResolveSourceMeshComponent(), SetGhostMeshVisible().

|
private |
다음을 참조함 : GhostMeshComponent, SourceMeshComponent.
다음에 의해서 참조됨 : PrepareGhostMeshComponent().

|
private |
이동한 위치에서 포즈를 복사하며, 이전 포즈의 월드 위치는 유지합니다.
다음을 참조함 : LastTrailLocation, LastTrailTime, FGhostTrailSample::Material, MaxOpacity, MaxTrailSamples, FGhostTrailSample::Mesh, NextTrailIndex, Opacity, SourceMeshComponent, FGhostTrailSample::SpawnTime, TrailSamples.
다음에 의해서 참조됨 : StartTravelGhost(), UpdateTravelGhost().

|
private |
다음을 참조함 : ClearFadeTimer(), ClearHoldTimer().
다음에 의해서 참조됨 : ForceEndGhostEffect(), PlayGhostEffect(), RemoveGhostEffect().


|
private |
다음을 참조함 : FadeTimerHandle.
다음에 의해서 참조됨 : ClearEffectTimers(), UpdateFade().

|
private |
다음을 참조함 : HoldTimerHandle.
다음에 의해서 참조됨 : ClearEffectTimers().

|
overrideprotectedvirtual |
다음을 참조함 : ForceEndGhostEffect().

|
private |
다음을 참조함 : GhostMeshComponent.
다음에 의해서 참조됨 : BeginPlay(), PrepareGhostMeshComponent().

|
private |
다음을 참조함 : StopGhostEffect().

| void UCharacterGhostEffectComponent::ForceEndGhostEffect | ( | ) |
다음을 참조함 : ClearEffectTimers(), Inactive, RestoreOriginalMeshVisibility(), SetCurrentState(), SetGhostMeshVisible(), SetGhostOpacity(), StopTravelGhost().
다음에 의해서 참조됨 : EndPlay(), UAnimNotify_GhostEffect::Notify(), PlayGhostEffect(), RemoveGhostEffect(), StartFadeOut(), StartTravelGhost(), UpdateFade(), UpdateTravelGhost().


|
inline |
|
inline |
|
private |
다음을 참조함 : Player.
다음에 의해서 참조됨 : RestoreOriginalMeshVisibility(), SetOriginalMeshHidden().

| void UCharacterGhostEffectComponent::InitializeGhostEffect | ( | USkeletalMeshComponent * | InSourceMeshComponent | ) |
다음을 참조함 : GhostMeshComponent, PrepareGhostMeshComponent(), SourceMeshComponent.
다음에 의해서 참조됨 : UAnimNotify_GhostEffect::Notify(), UGA_Skill_StrikeBase::StartStrikeTravelPresentation().


| void UCharacterGhostEffectComponent::PlayGhostEffect | ( | ) |
다음을 참조함 : ApplyGhostMaterial(), bHideOriginalMeshWhileActive, ClearEffectTimers(), FadeInDuration, ForceEndGhostEffect(), GhostMaterial, LOG_WARNING, MaxOpacity, PrepareGhostMeshComponent(), RestoreOriginalMeshVisibility(), SetGhostMeshVisible(), SetGhostOpacity(), SetOriginalMeshHidden(), StartFadeIn(), StartHolding().
다음에 의해서 참조됨 : UAnimNotify_GhostEffect::Notify().


|
private |
다음을 참조함 : CaptureGhostProjectionPose(), EnsureGhostMeshComponent(), GhostMeshComponent, ResolveSourceMeshComponent(), SourceMeshComponent.
다음에 의해서 참조됨 : InitializeGhostEffect(), PlayGhostEffect().


| void UCharacterGhostEffectComponent::RemoveGhostEffect | ( | float | InFadeOutDuration | ) |
다음을 참조함 : ClearEffectTimers(), CurrentOpacity, CurrentState, FadeOutDuration, FadeOutStartOpacity, ForceEndGhostEffect(), GhostMeshComponent, Inactive, SetGhostFadeOutDuration(), StartFadeOut().
다음에 의해서 참조됨 : UAnimNotify_GhostEffect::Notify(), StopGhostEffect().


|
private |
다음을 참조함 : SourceMeshComponent.
다음에 의해서 참조됨 : BeginPlay(), PrepareGhostMeshComponent(), StartTravelGhost().

|
private |
다음을 참조함 : bHasStoredOriginalVisibility, bHasStoredWeaponVisibility, bOriginalHiddenInGame, bOriginalVisibility, GetPlayerWeaponMeshComponent(), SourceMeshComponent.
다음에 의해서 참조됨 : ForceEndGhostEffect(), PlayGhostEffect(), StopTravelGhost().


|
private |
다음을 참조함 : CurrentState, StateStartTime.
다음에 의해서 참조됨 : ForceEndGhostEffect(), StartFadeIn(), StartFadeOut(), StartHolding(), StartTravelGhost(), StopTravelGhost(), UpdateTravelGhost().

| void UCharacterGhostEffectComponent::SetGhostColor | ( | FLinearColor | Color | ) |
다음을 참조함 : GhostColor, GhostMaterialInstances.
| void UCharacterGhostEffectComponent::SetGhostEmissiveIntensity | ( | float | Value | ) |
다음을 참조함 : EmissiveIntensity, GhostMaterialInstances.
| void UCharacterGhostEffectComponent::SetGhostFadeInDuration | ( | float | Value | ) |
다음을 참조함 : FadeInDuration.
다음에 의해서 참조됨 : UAnimNotify_GhostEffect::Notify().

| void UCharacterGhostEffectComponent::SetGhostFadeOutDuration | ( | float | Value | ) |
| void UCharacterGhostEffectComponent::SetGhostFresnelIntensity | ( | float | Value | ) |
다음을 참조함 : FresnelIntensity, GhostMaterialInstances.
| void UCharacterGhostEffectComponent::SetGhostFresnelPower | ( | float | Value | ) |
다음을 참조함 : FresnelPower, GhostMaterialInstances.
| void UCharacterGhostEffectComponent::SetGhostHoldDuration | ( | float | Value | ) |
다음을 참조함 : HoldDuration.
다음에 의해서 참조됨 : UAnimNotify_GhostEffect::Notify().

|
private |
다음을 참조함 : GhostMeshComponent.
다음에 의해서 참조됨 : BeginPlay(), ForceEndGhostEffect(), PlayGhostEffect().

| void UCharacterGhostEffectComponent::SetGhostOpacity | ( | float | Value | ) |
다음을 참조함 : CurrentOpacity, GhostMaterialInstances, Opacity.
다음에 의해서 참조됨 : ForceEndGhostEffect(), PlayGhostEffect(), StartFadeIn(), UpdateFade().

| void UCharacterGhostEffectComponent::SetHideOriginalMeshWhileActive | ( | bool | bShouldHide | ) |
다음을 참조함 : bHideOriginalMeshWhileActive.
다음에 의해서 참조됨 : UAnimNotify_GhostEffect::Notify().

|
private |
다음을 참조함 : bHasStoredOriginalVisibility, bHasStoredWeaponVisibility, bOriginalHiddenInGame, bOriginalVisibility, bOriginalWeaponHiddenInGame, bOriginalWeaponVisibility, GetPlayerWeaponMeshComponent(), SourceMeshComponent.
다음에 의해서 참조됨 : PlayGhostEffect(), StartTravelGhost().


|
private |
다음을 참조함 : FadeDuration, FadeInDuration, FadeStartOpacity, FadeTargetOpacity, FadeTimerHandle, CharacterGhostEffect::FadeUpdateInterval, FadingIn, MaxOpacity, SetCurrentState(), SetGhostOpacity(), StartHolding().
다음에 의해서 참조됨 : PlayGhostEffect().


|
private |
다음을 참조함 : FadeDuration, FadeOutDuration, FadeStartOpacity, FadeTargetOpacity, FadeTimerHandle, CharacterGhostEffect::FadeUpdateInterval, FadingOut, ForceEndGhostEffect(), SetCurrentState().
다음에 의해서 참조됨 : RemoveGhostEffect().


|
private |
다음을 참조함 : HoldDuration, Holding, HoldTimerHandle, SetCurrentState(), StopGhostEffect().
다음에 의해서 참조됨 : PlayGhostEffect(), StartFadeIn(), UpdateFade().


| bool UCharacterGhostEffectComponent::StartTravelGhost | ( | const FVector & | Direction | ) |
이동 시작 즉시 출발 포즈를 남기고 실제 경로에서 최대 네 개의 잔상을 재사용합니다.
다음을 참조함 : bTravelActive, CaptureTrailSample(), CharacterGhostEffect::FadeUpdateInterval, ForceEndGhostEffect(), GhostMaterial, Holding, MaxTrailSamples, NextTrailIndex, OriginalAnimTickOption, ResolveSourceMeshComponent(), SetCurrentState(), SetOriginalMeshHidden(), SourceMeshComponent, TrailLifetime, TrailSamples, TrailTimerHandle.
다음에 의해서 참조됨 : UGA_Skill_StrikeBase::StartStrikeTravelPresentation().


| void UCharacterGhostEffectComponent::StopGhostEffect | ( | ) |
다음을 참조함 : FadeOutDuration, RemoveGhostEffect().
다음에 의해서 참조됨 : FinishHolding(), StartHolding().


| void UCharacterGhostEffectComponent::StopTravelGhost | ( | bool | bImmediate = false | ) |
도착 시 원본을 복원하고 잔상을 감쇠합니다. 취소 시에는 즉시 제거합니다.
다음을 참조함 : bTravelActive, FadingOut, Inactive, OriginalAnimTickOption, RestoreOriginalMeshVisibility(), SetCurrentState(), SourceMeshComponent, TrailSamples, TrailTimerHandle.
다음에 의해서 참조됨 : ForceEndGhostEffect().


|
private |
다음을 참조함 : ClearFadeTimer(), CurrentState, FadeDuration, FadeStartOpacity, FadeTargetOpacity, FadingIn, ForceEndGhostEffect(), MaxOpacity, SetGhostOpacity(), StartHolding(), StateStartTime.

|
private |
월드 시각을 기준으로 잔상 수명과 다음 생성 시점을 갱신합니다.
다음을 참조함 : bTravelActive, CaptureTrailSample(), ForceEndGhostEffect(), Inactive, LastTrailLocation, LastTrailTime, MaxOpacity, Opacity, SetCurrentState(), SourceMeshComponent, TrailInterval, TrailLifetime, TrailSamples, TrailTimerHandle.

|
private |
다음에 의해서 참조됨 : RestoreOriginalMeshVisibility(), SetOriginalMeshHidden().
|
private |
다음에 의해서 참조됨 : RestoreOriginalMeshVisibility(), SetOriginalMeshHidden().
|
protected |
다음에 의해서 참조됨 : PlayGhostEffect(), SetHideOriginalMeshWhileActive().
|
private |
다음에 의해서 참조됨 : RestoreOriginalMeshVisibility(), SetOriginalMeshHidden().
|
private |
다음에 의해서 참조됨 : RestoreOriginalMeshVisibility(), SetOriginalMeshHidden().
|
private |
다음에 의해서 참조됨 : SetOriginalMeshHidden().
|
private |
다음에 의해서 참조됨 : SetOriginalMeshHidden().
|
private |
다음에 의해서 참조됨 : StartTravelGhost(), StopTravelGhost(), UpdateTravelGhost().
|
private |
다음에 의해서 참조됨 : RemoveGhostEffect(), SetGhostOpacity().
|
private |
다음에 의해서 참조됨 : RemoveGhostEffect(), SetCurrentState(), UpdateFade().
|
private |
다음에 의해서 참조됨 : SetGhostEmissiveIntensity().
|
private |
다음에 의해서 참조됨 : StartFadeIn(), StartFadeOut(), UpdateFade().
|
protected |
다음에 의해서 참조됨 : PlayGhostEffect(), SetGhostFadeInDuration(), StartFadeIn().
|
protected |
다음에 의해서 참조됨 : RemoveGhostEffect(), SetGhostFadeOutDuration(), StartFadeOut(), StopGhostEffect().
|
private |
다음에 의해서 참조됨 : RemoveGhostEffect().
|
private |
다음에 의해서 참조됨 : StartFadeIn(), StartFadeOut(), UpdateFade().
|
private |
다음에 의해서 참조됨 : StartFadeIn(), StartFadeOut(), UpdateFade().
|
private |
다음에 의해서 참조됨 : ClearFadeTimer(), StartFadeIn(), StartFadeOut().
|
private |
다음에 의해서 참조됨 : SetGhostFresnelIntensity().
|
private |
다음에 의해서 참조됨 : SetGhostFresnelPower().
|
private |
다음에 의해서 참조됨 : SetGhostColor().
|
protected |
다음에 의해서 참조됨 : ApplyGhostMaterial(), PlayGhostEffect(), StartTravelGhost().
|
private |
|
private |
|
protected |
다음에 의해서 참조됨 : SetGhostHoldDuration(), StartHolding().
|
private |
다음에 의해서 참조됨 : ClearHoldTimer(), StartHolding().
|
private |
다음에 의해서 참조됨 : CaptureTrailSample(), UpdateTravelGhost().
|
private |
다음에 의해서 참조됨 : CaptureTrailSample(), UpdateTravelGhost().
|
protected |
다음에 의해서 참조됨 : CaptureTrailSample(), PlayGhostEffect(), StartFadeIn(), UpdateFade(), UpdateTravelGhost().
|
staticconstexprprivate |
다음에 의해서 참조됨 : CaptureTrailSample(), StartTravelGhost().
|
private |
다음에 의해서 참조됨 : CaptureTrailSample(), StartTravelGhost().
|
private |
다음에 의해서 참조됨 : CaptureTrailSample(), SetGhostOpacity(), UpdateTravelGhost().
|
private |
다음에 의해서 참조됨 : StartTravelGhost(), StopTravelGhost().
|
private |
|
private |
다음에 의해서 참조됨 : SetCurrentState(), UpdateFade().
|
staticconstexprprivate |
다음에 의해서 참조됨 : UpdateTravelGhost().
|
staticconstexprprivate |
다음에 의해서 참조됨 : StartTravelGhost(), UpdateTravelGhost().
|
private |
다음에 의해서 참조됨 : CaptureTrailSample(), StartTravelGhost(), StopTravelGhost(), UpdateTravelGhost().
|
private |
다음에 의해서 참조됨 : StartTravelGhost(), StopTravelGhost(), UpdateTravelGhost().