Add PHY character framework
This commit is contained in:
25
Source/PHY/Public/Player/PHYPlayerCameraManager.h
Normal file
25
Source/PHY/Public/Player/PHYPlayerCameraManager.h
Normal file
@@ -0,0 +1,25 @@
|
||||
// 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;
|
||||
};
|
||||
Reference in New Issue
Block a user