26 lines
725 B
C++
26 lines
725 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Camera/UGC_PlayerCameraManager.h"
|
|
#include "PHYPlayerCameraManager.generated.h"
|
|
|
|
/**
|
|
* @brief PHY 玩家相机管理器。
|
|
*
|
|
* 该类型从 PlayerController 的 C++ 缓存读取输入,不把 UGC 蓝图 Pawn Interface 作为主路径。
|
|
*/
|
|
UCLASS(BlueprintType, Blueprintable)
|
|
class PHY_API APHYPlayerCameraManager : public AUGC_PlayerCameraManager
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
protected:
|
|
/** @brief 返回玩家视角输入。 */
|
|
virtual FRotator GetRotationInput_Implementation() const override;
|
|
|
|
/** @brief 返回玩家移动控制输入。 */
|
|
virtual FVector GetMovementControlInput_Implementation() const override;
|
|
};
|