Files
UnrealEngineUWP/Engine/Source/Runtime/InteractiveToolsFramework/Public/InteractiveGizmoBuilder.h
michael balzer 2b10993563 Move InteractiveToolsFramework and GeometryFramework out of Experimental
#jira UETOOL-3823
#rb brooke.hubert
#preflight 6109d1e9b4288d0001acb7ef

[CL 17055606 by michael balzer in ue5-main branch]
2021-08-04 13:58:55 -04:00

34 lines
961 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/Interface.h"
#include "InteractiveGizmo.h"
#include "InteractiveGizmoBuilder.generated.h"
/**
* A UInteractiveGizmoBuilder creates a new instance of an InteractiveGizmo (basically this is a Factory).
* These are registered with the InteractiveGizmoManager, which calls BuildGizmo().
* This is an abstract base class, you must subclass it in order to create your particular Gizmo instance
*/
UCLASS(Transient, Abstract)
class INTERACTIVETOOLSFRAMEWORK_API UInteractiveGizmoBuilder : public UObject
{
GENERATED_BODY()
public:
/**
* Create a new instance of this builder's Gizmo
* @param SceneState the current scene selection state, etc
* @return a new instance of the Gizmo, or nullptr on error/failure
*/
virtual UInteractiveGizmo* BuildGizmo(const FToolBuilderState& SceneState) const
{
unimplemented();
return nullptr;
}
};