Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseBehaviors > API/Runtime/InteractiveToolsFramework/BaseBehaviors/UKeyAsModifierInputBehavior > API/Runtime/InteractiveToolsFramework/BaseBehaviors/UKeyAsModifierInputBehavior/Initialize
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseBehaviors/KeyAsModifierInputBehavior.h |
| Include | #include "BaseBehaviors/KeyAsModifierInputBehavior.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/BaseBehaviors/KeyAsModifierInputBehavior.cpp |
void Initialize
(
IModifierToggleBehaviorTarget * TargetIn,
int ModifierID,
TFunction< bool &)> ModifierCheckFunc
)
Remarks
Initialize this behavior with the given Target
Parameters
| Name | Description |
|---|---|
| Target | implementor of modifier-toggle behavior |
| ModifierID | integer ID that identifiers the modifier toggle |
| ModifierCheckFunc | the function that will be checked to set the the modifier. |