모바일 캐릭터 이동을 위한 가상 조이스틱 위젯입니다.
More...
#include <VirtualJoystickWidget.h>
|
|
| UVirtualJoystickWidget (const FObjectInitializer &ObjectInitializer) |
|
FVector2D | GetInputVector () const |
| | 현재 조이스틱의 정규화된 입력 벡터를 반환합니다.
|
| void | SetMovementLocked (bool bLocked) |
| | 어빌리티 시전 중 이동 입력을 차단하거나 해제합니다.
|
|
|
FOnJoystickInput | OnJoystickInput |
| | 매 프레임 입력 값을 전송하는 델리게이트
|
|
|
virtual void | NativeConstruct () override |
|
virtual void | NativeTick (const FGeometry &MyGeometry, float InDeltaTime) override |
|
virtual FReply | NativeOnTouchStarted (const FGeometry &InGeometry, const FPointerEvent &InGestureEvent) override |
|
virtual FReply | NativeOnTouchMoved (const FGeometry &InGeometry, const FPointerEvent &InGestureEvent) override |
|
virtual FReply | NativeOnTouchEnded (const FGeometry &InGeometry, const FPointerEvent &InGestureEvent) override |
|
virtual FReply | NativeOnMouseButtonDown (const FGeometry &InGeometry, const FPointerEvent &InMouseEvent) override |
|
virtual FReply | NativeOnMouseButtonUp (const FGeometry &InGeometry, const FPointerEvent &InMouseEvent) override |
|
virtual FReply | NativeOnMouseMove (const FGeometry &InGeometry, const FPointerEvent &InMouseEvent) override |
|
virtual void | NativeOnMouseCaptureLost (const FCaptureLostEvent &CaptureLostEvent) override |
모바일 캐릭터 이동을 위한 가상 조이스틱 위젯입니다.
터치 및 마우스 입력을 캡처하여 시각적 피드백(Thumb 이동)과 논리적 입력(Vector Output)을 처리합니다.
◆ SetMovementLocked()
| void UVirtualJoystickWidget::SetMovementLocked |
( |
bool | bLocked | ) |
|
어빌리티 시전 중 이동 입력을 차단하거나 해제합니다.
BaseGameplayAbility의 ActivateAbility/EndAbility에서 호출됩니다.
- Parameters
-
| bLocked | true면 이동 차단, false면 이동 재개 |
The documentation for this class was generated from the following files:
- Source/Paradise/Public/UI/Widgets/Ingame/VirtualJoystickWidget.h
- Source/Paradise/Private/UI/Widgets/Ingame/VirtualJoystickWidget.cpp