#include <CK_BPFunctionLibrary.h>
◆ Activate()
| void UCK_DelayedForLoopAction::Activate |
( |
| ) |
|
|
overridevirtual |
84{
86 {
88 SetReadyToDestroy();
89 return;
90 }
91
95}
void ScheduleNext()
Definition CK_BPFunctionLibrary.cpp:98
int32 CurrentIndex
Definition CK_BPFunctionLibrary.h:88
int32 Count
Definition CK_BPFunctionLibrary.h:87
FDelayedForLoopOutputPin OnLoop
Definition CK_BPFunctionLibrary.h:68
FDelayedForLoopOutputPin OnCompleted
Definition CK_BPFunctionLibrary.h:71
다음을 참조함 : Count, CurrentIndex, OnCompleted, OnLoop, ScheduleNext().
◆ DelayedForLoop()
| UCK_DelayedForLoopAction * UCK_DelayedForLoopAction::DelayedForLoop |
( |
UObject * |
WorldContextObject, |
|
|
int32 |
Count, |
|
|
float |
Delay |
|
) |
| |
|
static |
Count 횟수만큼 Delay 간격으로 반복함.
- 매개변수
-
| Count | 반복 횟수 |
| Delay | 각 반복 사이 대기 시간 (초) |
72{
78 Action->RegisterWithGameInstance(WorldContextObject);
79 return Action;
80}
Definition CK_BPFunctionLibrary.h:63
float Delay
Definition CK_BPFunctionLibrary.h:89
TWeakObjectPtr< UObject > CachedWorldContext
Definition CK_BPFunctionLibrary.h:93
다음을 참조함 : CachedWorldContext, Count, CurrentIndex, Delay.
◆ ScheduleNext()
| void UCK_DelayedForLoopAction::ScheduleNext |
( |
| ) |
|
|
private |
99{
100 auto Function = [this](float) -> bool
101 {
103 {
105 SetReadyToDestroy();
106 return false;
107 }
108
111 return true;
112 };
113
114 auto DelyedLambda = FTickerDelegate::CreateWeakLambda(this, Function);
116}
FTSTicker::FDelegateHandle TickerHandle
Definition CK_BPFunctionLibrary.h:95
다음을 참조함 : Count, CurrentIndex, Delay, OnCompleted, OnLoop, TickerHandle.
다음에 의해서 참조됨 : Activate().
◆ CachedWorldContext
| TWeakObjectPtr<UObject> UCK_DelayedForLoopAction::CachedWorldContext |
|
private |
◆ Count
| int32 UCK_DelayedForLoopAction::Count = 0 |
|
private |
◆ CurrentIndex
| int32 UCK_DelayedForLoopAction::CurrentIndex = 0 |
|
private |
◆ Delay
| float UCK_DelayedForLoopAction::Delay = 0.f |
|
private |
◆ OnCompleted
| FDelayedForLoopOutputPin UCK_DelayedForLoopAction::OnCompleted |
◆ OnLoop
| FDelayedForLoopOutputPin UCK_DelayedForLoopAction::OnLoop |
◆ TickerHandle
| FTSTicker::FDelegateHandle UCK_DelayedForLoopAction::TickerHandle |
|
private |
이 클래스에 대한 문서화 페이지는 다음의 파일들로부터 생성되었습니다.: