#include <ChargeStateComponent.h>
◆ UChargeStateComponent()
| UChargeStateComponent::UChargeStateComponent |
( |
| ) |
|
10{
11 PrimaryComponentTick.bCanEverTick = false;
13}
uint8 bIsCharging
Definition ChargeStateComponent.h:60
다음을 참조함 : bIsCharging.
◆ BeginCharge()
| void UChargeStateComponent::BeginCharge |
( |
const TArray< float > & |
InPhaseDurations | ) |
|
◆ ChangePhase()
| void UChargeStateComponent::ChangePhase |
( |
int32 |
InNewPhase | ) |
|
◆ EndCharge()
| void UChargeStateComponent::EndCharge |
( |
| ) |
|
◆ GetCurrentPhase()
| FORCEINLINE int32 UChargeStateComponent::GetCurrentPhase |
( |
| ) |
const |
|
inline |
◆ GetMaxPhase()
| FORCEINLINE int32 UChargeStateComponent::GetMaxPhase |
( |
| ) |
const |
|
inline |
◆ GetProgressValue()
| float UChargeStateComponent::GetProgressValue |
( |
| ) |
const |
75{
77 {
78 return 0.0f;
79 }
80
81
83 {
84 return 1.0f;
85 }
86
88 {
89 return 0.0f;
90 }
91
92 const UWorld* World = GetWorld();
93 if (!World)
94 {
95 return 0.0f;
96 }
97
98 const float Now = World->GetTimeSeconds();
100}
FORCEINLINE int32 GetMaxPhase() const
Definition ChargeStateComponent.h:34
다음을 참조함 : bIsCharging, CurrentPhase, CurrentPhaseDuration, GetMaxPhase(), PhaseStartWorldTime.
◆ IsCharging()
| FORCEINLINE bool UChargeStateComponent::IsCharging |
( |
| ) |
const |
|
inline |
◆ bIsCharging
| uint8 UChargeStateComponent::bIsCharging |
|
protected |
◆ CurrentPhase
| int32 UChargeStateComponent::CurrentPhase = 0 |
|
protected |
◆ CurrentPhaseDuration
| float UChargeStateComponent::CurrentPhaseDuration = 0.0f |
|
protected |
◆ OnChargeBegin
| FOnChargeBeginDelegate UChargeStateComponent::OnChargeBegin |
◆ OnChargeEnd
| FOnChargeEndDelegate UChargeStateComponent::OnChargeEnd |
◆ OnChargePhaseChanged
| FOnChargePhaseChangedDelegate UChargeStateComponent::OnChargePhaseChanged |
◆ PhaseDurations
| TArray<float> UChargeStateComponent::PhaseDurations |
|
protected |
◆ PhaseStartWorldTime
| float UChargeStateComponent::PhaseStartWorldTime = 0.0f |
|
protected |
이 클래스에 대한 문서화 페이지는 다음의 파일들로부터 생성되었습니다.: