Files
UnrealEngineUWP/Engine/Source/Editor/AnimGraph/Public/AnimGraphNode_Root.h
jose villarroel 0403d0b457 Blend Stack:
-Added initial support for blend stack graphs.
-Changed Max Active Blends to be a compile time fixed value for blend stack.
-review-25906631 [at]Aaron.Cox, [at]Thomas.Sarkanen, [at]Samuele.Rigamonti

[CL 26167901 by jose villarroel in ue5-main branch]
2023-06-21 18:41:47 -04:00

42 lines
1.8 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "AnimGraphNode_Base.h"
#include "Animation/AnimNode_Root.h"
#include "AnimGraphNode_Root.generated.h"
class FBlueprintActionDatabaseRegistrar;
UCLASS(MinimalAPI)
class UAnimGraphNode_Root : public UAnimGraphNode_Base
{
GENERATED_UCLASS_BODY()
UPROPERTY(EditAnywhere, Category=Settings)
FAnimNode_Root Node;
//~ Begin UEdGraphNode Interface.
ANIMGRAPH_API virtual FLinearColor GetNodeTitleColor() const override;
ANIMGRAPH_API virtual FText GetTooltipText() const override;
ANIMGRAPH_API virtual FText GetNodeTitle(ENodeTitleType::Type TitleType) const override;
ANIMGRAPH_API virtual bool CanUserDeleteNode() const override { return false; }
ANIMGRAPH_API virtual bool CanDuplicateNode() const override { return false; }
ANIMGRAPH_API virtual void GetMenuActions(FBlueprintActionDatabaseRegistrar& ActionRegistrar) const override;
ANIMGRAPH_API virtual bool IsNodeRootSet() const override { return true; }
//~ End UEdGraphNode Interface.
//~ Begin UAnimGraphNode_Base Interface
ANIMGRAPH_API virtual bool IsPoseWatchable() const override;
ANIMGRAPH_API virtual bool IsSinkNode() const override;
ANIMGRAPH_API virtual void OnProcessDuringCompilation(IAnimBlueprintCompilationContext& InCompilationContext, IAnimBlueprintGeneratedClassCompiledData& OutCompiledData) override;
ANIMGRAPH_API virtual void OnCopyTermDefaultsToDefaultObject(IAnimBlueprintCopyTermDefaultsContext& InCompilationContext, IAnimBlueprintNodeCopyTermDefaultsContext& InPerNodeContext, IAnimBlueprintGeneratedClassCompiledData& OutCompiledData) override;
// Get the link to the documentation
ANIMGRAPH_API virtual FString GetDocumentationLink() const override;
//~ End UAnimGraphNode_Base Interface
};