FActivateToolChange

[FActivateToolChange](API\Runtime\InteractiveToolsFramework\FActivateToolChange) is used by [UInteractiveToolManager](API\Runtime\InteractiveToolsFramework\UInteractiveToolManager) to change the active tool.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

InteractiveToolsFramework

Header

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

Include

#include "InteractiveToolManager.h"

Syntax

class FActivateToolChange : public FToolCommandChange

Remarks

FActivateToolChange is used by UInteractiveToolManager to change the active tool. This Change has two modes, either activating or deactivating.

Variables

Name Description

Public variable

bool

 

bIsDeactivate

Public variable

EToolShutdownTy...

 

ShutdownType

Public variable

EToolSide

 

Side

Public variable

FString

 

ToolType

Constructors

Name Description

Public function

FActivateToolChange

(
    EToolSide SideIn,
    FString ToolTypeIn
)

Public function

FActivateToolChange

(
    EToolSide SideIn,
    FString ToolTypeIn,
    EToolShutdownType ShutdownTypeIn
)

Overridden from FChange

Name Description

Public function Virtual

void

 

Apply

(
    UObject* Object
)

Makes the change to the object

Public function Virtual Const

bool

 

HasExpired

(
    UObject* Object
)

Public function Virtual

void

 

Revert

(
    UObject* Object
)

Reverts change to the object

Public function Virtual Const

FString

 

ToString()

Describes this change (for debugging)