UTransformGizmo::SetActiveTarget

Set the active target object for the Gizmo

Unreal Engine C++ API Reference > Editor > EditorInteractiveToolsFramework > EditorGizmos > UTransformGizmo

References

   
Module EditorInteractiveToolsFramework
Header /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/EditorGizmos/TransformGizmo.h
Include #include "EditorGizmos/TransformGizmo.h"
Source /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Private/EditorGizmos/TransformGizmo.cpp
virtual void SetActiveTarget
(
    [UTransformProxy](API\Runtime\InteractiveToolsFramework\BaseGizmos\UTransformProxy) * Target,
    [IToolContextTransactionProvider](API\Runtime\InteractiveToolsFramework\IToolContextTransactionProvider) * TransactionProvider,
    [IGizmoStateTarget](API\Runtime\InteractiveToolsFramework\BaseGizmos\IGizmoStateTarget) * InStateTarget
)

Remarks

Set the active target object for the Gizmo

Parameters

Name Description
Target active target
TransactionProvider optional IToolContextTransactionProvider implementation to use - by default uses GizmoManager

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library