Navigation
API > API/Runtime > API/Runtime/HeadMountedDisplay > API/Runtime/HeadMountedDisplay/IMotionController
Description
Add a player mappable input config to the motion controller. This allows the motion controller to support Enhanced Input actions.
| Name | SetPlayerMappableInputConfig |
| Type | function |
| Header File | /Engine/Source/Runtime/HeadMountedDisplay/Public/IMotionController.h |
| Include Path | #include "IMotionController.h" |
virtual PRAGMA_DISABLE_DEPRECATION_WARNINGS bool SetPlayerMappableInputConfig
(
TObjectPtr< class UPlayerMappableInputConfig > InputConfig
)
False if the input config can't be attached to the session, true otherwise
Parameters
| Name | Remarks |
|---|---|
| InputConfig | The path to the player mappable input config asset |