2019-12-26 15:33:43 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
#pragma once
|
2016-11-23 15:48:37 -05:00
|
|
|
|
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
|
#include "UObject/ObjectMacros.h"
|
2014-04-24 08:49:31 -04:00
|
|
|
#include "AnimGraphNode_Base.h"
|
2019-05-22 12:00:20 -04:00
|
|
|
#include "Animation/AnimNode_Root.h"
|
2014-03-14 14:13:41 -04:00
|
|
|
#include "AnimGraphNode_Root.generated.h"
|
|
|
|
|
|
2016-11-23 15:48:37 -05:00
|
|
|
class FBlueprintActionDatabaseRegistrar;
|
|
|
|
|
|
2014-03-14 14:13:41 -04:00
|
|
|
UCLASS(MinimalAPI)
|
|
|
|
|
class UAnimGraphNode_Root : public UAnimGraphNode_Base
|
|
|
|
|
{
|
2015-03-17 05:38:32 -04:00
|
|
|
GENERATED_UCLASS_BODY()
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
UPROPERTY(EditAnywhere, Category=Settings)
|
|
|
|
|
FAnimNode_Root Node;
|
|
|
|
|
|
2015-09-14 09:25:39 -04:00
|
|
|
//~ Begin UEdGraphNode Interface.
|
2014-06-13 06:14:46 -04:00
|
|
|
virtual FLinearColor GetNodeTitleColor() const override;
|
2014-09-03 18:14:09 -04:00
|
|
|
virtual FText GetTooltipText() const override;
|
2014-06-13 06:14:46 -04:00
|
|
|
virtual FText GetNodeTitle(ENodeTitleType::Type TitleType) const override;
|
|
|
|
|
virtual bool CanUserDeleteNode() const override { return false; }
|
|
|
|
|
virtual bool CanDuplicateNode() const override { return false; }
|
2014-08-23 20:16:29 -04:00
|
|
|
virtual void GetMenuActions(FBlueprintActionDatabaseRegistrar& ActionRegistrar) const override;
|
2020-09-01 14:07:48 -04:00
|
|
|
virtual bool IsNodeRootSet() const override { return true; }
|
2015-09-14 09:25:39 -04:00
|
|
|
//~ End UEdGraphNode Interface.
|
2014-03-14 14:13:41 -04:00
|
|
|
|
2015-09-14 09:25:39 -04:00
|
|
|
//~ Begin UAnimGraphNode_Base Interface
|
2014-06-13 06:14:46 -04:00
|
|
|
virtual bool IsSinkNode() const override;
|
2020-09-09 08:32:25 -04:00
|
|
|
virtual void OnProcessDuringCompilation(IAnimBlueprintCompilationContext& InCompilationContext, IAnimBlueprintGeneratedClassCompiledData& OutCompiledData) override;
|
2021-01-25 08:43:19 -04:00
|
|
|
virtual void OnCopyTermDefaultsToDefaultObject(IAnimBlueprintCopyTermDefaultsContext& InCompilationContext, IAnimBlueprintNodeCopyTermDefaultsContext& InPerNodeContext, IAnimBlueprintGeneratedClassCompiledData& OutCompiledData) override;
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
// Get the link to the documentation
|
2014-06-13 06:14:46 -04:00
|
|
|
virtual FString GetDocumentationLink() const override;
|
2014-03-14 14:13:41 -04:00
|
|
|
|
2015-09-14 09:25:39 -04:00
|
|
|
//~ End UAnimGraphNode_Base Interface
|
2014-03-14 14:13:41 -04:00
|
|
|
};
|