JPSvisUE/Source/JPSvisUE/Camera/CameraCenterPawn.cpp
// Called to bind functionality to input
Called to bind functionality to input
Called to bind functionality to input
void ACameraCenterPawn::SetupPlayerInputComponent(UInputComponent* PlayerInputComponent)
{
	Super::SetupPlayerInputComponent(PlayerInputComponent);
	InputComponent->BindAxis("Yaw", this, &ACameraCenterPawn::Yaw);
	InputComponent->BindAxis("Pitch", this, &ACameraCenterPawn::Pitch);
	InputComponent->BindAxis("ForwardBackward", this, &ACameraCenterPawn::ForwardBackward);
	InputComponent->BindAxis("LeftRight", this, &ACameraCenterPawn::LeftRight);
	InputComponent->BindAxis("Zoom", this, &ACameraCenterPawn::Zoom);
}
void ACameraCenterPawn :: SetupPlayerInputComponent ( UInputComponent * PlayerInputComponent ) { Super :: SetupPlayerInputComponent ( PlayerInputComponent ) ; InputComponent -> BindAxis ( " " , this , & ACameraCenterPawn :: Yaw ) ; InputComponent -> BindAxis ( " " , this , & ACameraCenterPawn :: Pitch ) ; InputComponent -> BindAxis ( " " , this , & ACameraCenterPawn :: ForwardBackward ) ; InputComponent -> BindAxis ( " " , this , & ACameraCenterPawn :: LeftRight ) ; InputComponent -> BindAxis ( " " , this , & ACameraCenterPawn :: Zoom ) ; }
Called to bind functionality to input
Called to bind functionality to input