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