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类的主要内容,如果未能解决你的问题,请参考以下文章

Java 静态成员类 非静态的成员类 局部类 匿名类

JavaSE基础(十 三 )---<内部类>成员内部类,静态内部类,局部内部类,匿名内部类,内部类的意义

Kotlin基础(十三) 嵌套类内部类和匿名内部类

java 内部类和外部类的关系

19-Java-核心类库2-包装类Integer类String类StringBuffer类StringBuilder类

Kotlin基础(十三) 嵌套类内部类和匿名内部类