UGameViewportClient::InputChar

Check a character input received by the viewport.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

FViewportClient::InputChar()

UGameViewportClient::InputChar()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/GameViewportClient.h

Include

#include "Engine/GameViewportClient.h"

Source

/Engine/Source/Runtime/Engine/Private/GameViewportClient.cpp

Syntax

virtual bool InputChar
(
    FViewport * Viewport,
    int32 ControllerId,
    TCHAR Character
)

Remarks

Check a character input received by the viewport. If the viewport client uses the character, it should return true to consume it.

Returns

True to consume the character, false to pass it on.

Parameters

Parameter

Description

Viewport

The viewport which the axis movement is from.

ControllerId

The controller which the axis movement is from.

Character

The character.