DefaultPawn
标签:Category,Pawn,UnrealEngine,void,float,UFUNCTION,virtual From: https://www.cnblogs.com/k5bg/p/17494347.html#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");
}