UInteractiveTool::AddInputBehavior

Input Behaviors support Add an input behavior for this Tool.

Choose your operating system:

Windows

macOS

Linux

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/InteractiveToolsFramework/Public/InteractiveTool.h

Include

#include "InteractiveTool.h"

Source

/Engine/Source/Runtime/InteractiveToolsFramework/Private/InteractiveTool.cpp

Syntax

virtual void AddInputBehavior
(
    UInputBehavior * Behavior,
    void * Source
)

Remarks

Input Behaviors support Add an input behavior for this Tool. Typically only effective when called during tool Setup(), as the behavior set gets submitted to the input router after that call.

Parameters

Parameter

Description

Behavior

behavior to add

Source

Optional pointer that could be used to identify the behavior for removal later.