Navigation
API > API/Runtime > API/Runtime/HeadMountedDisplay > API/Runtime/HeadMountedDisplay/IMotionController
Description
Add input mapping contexts to the motion controller. This allows the motion controller to support Enhanced Input actions.
| Name | AttachInputMappingContexts |
| Type | function |
| Header File | /Engine/Source/Runtime/HeadMountedDisplay/Public/IMotionController.h |
| Include Path | #include "IMotionController.h" |
virtual bool AttachInputMappingContexts
(
const TSet< TObjectPtr< class UInputMappingContext > > & InputMappingContexts
)
False if the input mapping contexts can't be attached to the session, true otherwise
Parameters
| Name | Remarks |
|---|---|
| MappingContexts | The set of input mapping contexts used with motion controllers |