ULimenGameViewportClient
Overview
ULimenGameViewportClient extends UGameViewportClient and overrides methods to handle character and key input. It broadcasts these events through multicast delegates, allowing other systems to react to user inputs.
Properties
Type | Name | Access | Description |
|---|---|---|---|
FCharInputEvent | OnCharInput | Public | A delegate that is broadcast when a character is input. |
FKeyInputEvent | OnKeyInput | Public | A delegate that is broadcast when a key is pressed or released. |
Functions
Return Type | Signature | Description |
|---|---|---|
bool | InputKey(const FInputKeyEventArgs& EventArgs) | Overrides the base class method to handle input keys and broadcasts the event through |
bool | InputChar(FViewport* InViewport, const int32 ControllerId, const TCHAR Character) | Overrides the base class method to handle character inputs and broadcasts the event through |
Usage & Implementation Notes
Threading Constraints: This class does not introduce any specific threading constraints.
Replication Requirements: No replication is required for this class as it operates on client-side input handling.
Memory Lifetime Management: The lifecycle of this class is managed by Unreal Engine's subsystems. It should be created and destroyed through the appropriate Unreal Engine mechanisms.
Initialization Dependencies: This class depends on
UGameViewportClientfor its base functionality. Ensure that the viewport client is properly initialized within your game or editor module.