Payback 0.0.1
CK Graduation Project
로딩중...
검색중...
일치하는것 없음
MainPlayerController.h
이 파일의 문서화 페이지로 가기
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "GameFramework/PlayerController.h"
7#include "MainPlayerController.generated.h"
8
9class UHUDWidget;
10class UUIManagerComponent;
14UCLASS()
15class CK_UE_API AMainPlayerController : public APlayerController
16{
17 GENERATED_BODY()
18
19public:
21
22public:
23 bool GetMouseLocation(FVector& OutLocation) const;
24 void SetTargetFOV(float NewFOV, float Speed);
25
26
27protected:
28 virtual void BeginPlay() override;
29 virtual void PlayerTick(float DeltaTime) override;
30
31private:
32 float TargetFOV = 90.0f;
33 float FOVChangeSpeed = 2.0f;
34 bool bIsFOVChanging = false;
35};
Definition MainPlayerController.h:16