Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseBehaviors > API/Runtime/InteractiveToolsFramework/BaseBehaviors/USingleKeyCaptureBehavior
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseBehaviors/SingleKeyCaptureBehavior.h |
| Include | #include "BaseBehaviors/SingleKeyCaptureBehavior.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/BaseBehaviors/SingleKeyCaptureBehavior.cpp |
virtual void Initialize
(
IModifierToggleBehaviorTarget * Target,
int ModifierID,
const FKey & ModifierKey
)
Remarks
Initialize this behavior with the given Target. Note that though it interacts through the IModifierToggleBehaviorTarget interface, the modifier here captures keyboard input, unlike the modifiers in UKeyAsMOdifierInputBehavior and other places.
Parameters
| Name | Description |
|---|---|
| Target | implementor of IModifierToggleBehaviorTarget |
| ModifierID | integer ID that identifiers the modifier toggle |
| ModifierKey | the key that will be used as the modifier toggle |