A character class representing a character in the viewport world.
More...
#include "ViewportWorldCharacter.h"
|
static void | SetPlayerInput (APlayerController *PlayerController) |
|
static bool | UpdatePlayerInputImpl (UObject *Caller, const APlayerController *PlayerController, UInputMappingContext *MappingContext, bool bApplyImmediately) |
|
void | OnPlayerInputUpdated (UInputMappingContext *InputMappingContext) |
|
A character class representing a character in the viewport world.
◆ AViewportWorldCharacter()
AViewportWorldCharacter::AViewportWorldCharacter |
( |
| ) |
|
◆ SetupPlayerInputComponent()
void AViewportWorldCharacter::SetupPlayerInputComponent |
( |
class UInputComponent * | PlayerInputComponent | ) |
|
|
overridevirtual |
◆ UpdatePlayerInput()
bool AViewportWorldCharacter::UpdatePlayerInput |
( |
UInputMappingContext * | NewInputMapping, |
|
|
const bool | bApplyImmediately = true ) |
Updates the player input for the character.
This method updates the player input for the character using the provided input mapping context.
- Parameters
-
NewInputMapping | The input mapping context to be applied. |
bApplyImmediately | Whether to apply the mapping context immediately or not. Default value is true. |
- Returns
- Returns true if the player input was updated successfully, false otherwise.
The documentation for this class was generated from the following files: