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


Public 멤버 함수 | |
| void | ShowDonation (FGameplayTag WeaponTag, UWeaponDonationPresenter *Presenter) |
| void | HideDonation () |
| void | SetWeaponShapeProgress (float Progress) |
| void | LaunchDonationWeapon () |
| bool | GetWeaponScreenPose (FVector2D &PixelCenter, float &PixelHeight, FRotator &CameraRelativeRotation) const |
| bool | GetDonationScreenBounds (FVector2D &PixelMin, FVector2D &PixelMax) const |
| bool | GetDonationScreenCenter (FVector2D &PixelCenter) const |
UUserWidgetBase(으)로부터 상속된 Public 멤버 함수 | |
| UUserPresenterBase * | RequestPresenter () |
| UUserPresenterBase * | FindPresenter () const |
| void | ReleasePresenter () |
| virtual void | BindPresenter_Implementation (UObject *Presenter) override |
| virtual void | UnbindPresenter_Implementation (UObject *Presenter) override |
| virtual void | SetAbilitySystemComponent (AActor *InOwner) |
| virtual void | ResetAbilitySystemComponent (AActor *InOwner) |
| virtual UAbilitySystemComponent * | GetAbilitySystemComponent () const override |
| virtual void | OnPushedToLayer () |
| virtual void | OnPoppedFromLayer () |
| virtual void | OnActivated () |
| virtual void | OnDeactivated () |
| void | Activate () |
| void | Deactivate () |
| bool | CanBePushedToLayer () const |
| FORCEINLINE UWaitForWidgetActivation * | GetActivationHandle () |
| FORCEINLINE TSubclassOf< UUserPresenterBase > | GetWidgetPresenterClass () const |
| FORCEINLINE FGameplayTag | GetLayerTag () const |
| FORCEINLINE void | SetLayerTag (const FGameplayTag InTag) |
| FORCEINLINE bool | IsPrimary () const |
| FORCEINLINE void | SetPrimary (const bool InPrimary) |
| FORCEINLINE EWidgetState | GetWidgetState () const |
| FORCEINLINE void | SetWidgetState (const EWidgetState InState) |
| FORCEINLINE bool | HasAppearanceAnim () const |
| FORCEINLINE bool | HasDisappearanceAnim () const |
IWidgetViewInterface(으)로부터 상속된 Public 멤버 함수 | |
| void | BindPresenter (UObject *Presenter) |
| void | UnbindPresenter (UObject *Presenter) |
추가로 상속된 멤버들 | |
UUserWidgetBase(으)로부터 상속된 Protected 멤버 함수 | |
| virtual void | OnWidgetStateChanged (EWidgetState InState) |
| virtual void | NativeConstruct () override |
| virtual void | NativeDestruct () override |
| virtual void | OnWidgetActivated () |
| virtual void | OnWidgetDeactivated () |
| void | OnPushedToLayer_Internal () |
| void | OnPoppedFromLayer_Internal () |
| void | OnActivated_Internal () |
| void | OnDeactivated_Internal () |
UUserWidgetBase(으)로부터 상속된 Protected 속성 | |
| TSubclassOf< UUserPresenterBase > | PresenterClass |
| EWidgetState | WidgetState |
| TObjectPtr< UAbilitySystemComponent > | ASC |
| FGameplayTag | LayerTag |
| bool | bPrimary = false |
| TObjectPtr< UWidgetAnimation > | AppearanceAnim |
| TObjectPtr< UWidgetAnimation > | DisappearanceAnim |
영상·레이아웃은 BP에서 구성하고, 재생 상태와 인계 시점은 Presenter가 관리합니다.
| bool UWeaponDonationHUDWidget::GetDonationScreenBounds | ( | FVector2D & | PixelMin, |
| FVector2D & | PixelMax | ||
| ) | const |
사용자 정의 영상 영역의 뷰포트 픽셀 바운드입니다. 미구현이면 DonationVideo의 실제 영역을 씁니다.
다음에 의해서 참조됨 : UWeaponDonationPresenter::ResolveVideoBounds().

| bool UWeaponDonationHUDWidget::GetDonationScreenCenter | ( | FVector2D & | PixelCenter | ) | const |
사용자 정의 영상 중심을 반환합니다. 미구현이면 Presenter가 영상 영역의 중심을 계산합니다.
| bool UWeaponDonationHUDWidget::GetWeaponScreenPose | ( | FVector2D & | PixelCenter, |
| float & | PixelHeight, | ||
| FRotator & | CameraRelativeRotation | ||
| ) | const |
사용자 정의 픽셀 자세입니다. 높이는 회전 전 무기 Y축 길이이며, 미구현이면 DonationVideo의 실제 회전·배율에 맞춥니다.
다음에 의해서 참조됨 : UWeaponDonationPresenter::ResolveScreenPose().

| void UWeaponDonationHUDWidget::HideDonation | ( | ) |
| void UWeaponDonationHUDWidget::LaunchDonationWeapon | ( | ) |
기존 Widget Animation 종료 이벤트입니다. Progress를 완성하고 Presenter.NotifyWeaponExit로 발사를 요청합니다.
| void UWeaponDonationHUDWidget::SetWeaponShapeProgress | ( | float | Progress | ) |
이미지 UV를 유지하며 외곽을 축소하고 Presenter.NotifyWeaponShapeProgress로 완료 시점을 전달합니다.
| void UWeaponDonationHUDWidget::ShowDonation | ( | FGameplayTag | WeaponTag, |
| UWeaponDonationPresenter * | Presenter | ||
| ) |
무기 마스크·색·레이아웃을 준비합니다. Progress 완료 시 생성하고 위젯 종료 시 발사합니다.