UnrealEngine:Pawn类
Posted 言午
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了UnrealEngine:Pawn类相关的知识,希望对你有一定的参考价值。
DefaultPawn
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "GameFramework/Pawn.h"
#include "DefaultPawn.generated.h"
class UInputComponent;
class UPawnMovementComponent;
class USphereComponent;
class UStaticMeshComponent;
UCLASS(config=Game, Blueprintable, BlueprintType)
class ENGINE_APU ADefaultPawn : public APwan
GENERATED_UCLASS_BODY()
virtual UPawnMovementComponent* GetMovementComponent() const override;
virtual void SetupPlayerInputComponent(UInputComponent* InInputComponent) overrie;
virtual void UpdateNavigationRelevance() override;
UFUNCTION(BlueprintCallable, Category="Pawn")
virtual void MoveForward(float Val);
UFUNCTION(BlueprintCallable, Category="Pawn")
virtual void MoveRight(float Val);
UFUNCTION(BlueprintCallable, Category="Pawn")
virtual void MoveUp_World(float Val);
UFUNCTION(BlueprintCallable, Category="Pawn")
virtual void TurnAtRate(float Rate);
UFUNCTION(BlueprintCallablem Category="Pawn")
virtual void LookUpAtRate(float Rate);
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="Pawn")
float BaseTurnRate;
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="Pawn");
以上是关于UnrealEngine:Pawn类的主要内容,如果未能解决你的问题,请参考以下文章
JavaSE基础(十 三 )---<内部类>成员内部类,静态内部类,局部内部类,匿名内部类,内部类的意义