Navigation
Unreal Engine C++ API Reference > Runtime > ApplicationCore > GenericPlatform > IPlatformInputDeviceMapper
- IPlatformInputDeviceMapper::GetUserIndexForPlatformUser()
- FGenericPlatformInputDeviceMapper::GetUserIndexForPlatformUser()
References
Module | ApplicationCore |
Header | /Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/GenericPlatformInputDeviceMapper.h |
Include | #include "GenericPlatform/GenericPlatformInputDeviceMapper.h" |
int32 GetUserIndexForPlatformUser
&40;
FPlatformUserId UserId
&41;
Remarks
Remap a FPlatformUserId to the legacy platform LocalUserIndex (often the same as ControllerId). This is useful in cases where the input device id is not needed. A valid platform user index, or INDEX_NONE
Parameters
Name | Description |
---|---|
UserId | The platform user that should be converted |