2014-03-14 14:13:41 -04:00
|
|
|
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
#pragma once
|
2014-04-24 08:49:31 -04:00
|
|
|
#include "AnimGraphNode_Base.h"
|
2014-05-29 17:24:15 -04:00
|
|
|
#include "Animation/AnimNode_Root.h"
|
2014-03-14 14:13:41 -04:00
|
|
|
#include "AnimGraphNode_Root.generated.h"
|
|
|
|
|
|
|
|
|
|
UCLASS(MinimalAPI)
|
|
|
|
|
class UAnimGraphNode_Root : public UAnimGraphNode_Base
|
|
|
|
|
{
|
|
|
|
|
GENERATED_UCLASS_BODY()
|
|
|
|
|
|
|
|
|
|
UPROPERTY(EditAnywhere, Category=Settings)
|
|
|
|
|
FAnimNode_Root Node;
|
|
|
|
|
|
|
|
|
|
// Begin UEdGraphNode interface.
|
|
|
|
|
virtual FLinearColor GetNodeTitleColor() const OVERRIDE;
|
|
|
|
|
virtual FString GetTooltip() const OVERRIDE;
|
2014-04-23 18:30:37 -04:00
|
|
|
virtual FText GetNodeTitle(ENodeTitleType::Type TitleType) const OVERRIDE;
|
2014-03-14 14:13:41 -04:00
|
|
|
virtual bool CanUserDeleteNode() const OVERRIDE { return false; }
|
|
|
|
|
virtual bool CanDuplicateNode() const OVERRIDE { return false; }
|
|
|
|
|
virtual void GetMenuEntries(FGraphContextMenuBuilder& ContextMenuBuilder) const OVERRIDE;
|
|
|
|
|
// End UEdGraphNode interface.
|
|
|
|
|
|
|
|
|
|
// UAnimGraphNode_Base interface
|
|
|
|
|
virtual bool IsSinkNode() const OVERRIDE;
|
|
|
|
|
|
|
|
|
|
// Get the link to the documentation
|
|
|
|
|
virtual FString GetDocumentationLink() const OVERRIDE;
|
|
|
|
|
|
|
|
|
|
// End of UAnimGraphNode_Base interface
|
|
|
|
|
};
|