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_StateMachine.h"
|
2014-03-14 14:13:41 -04:00
|
|
|
#include "AnimGraphNode_StateMachineBase.generated.h"
|
|
|
|
|
|
|
|
|
|
UCLASS(Abstract)
|
|
|
|
|
class ANIMGRAPH_API UAnimGraphNode_StateMachineBase : public UAnimGraphNode_Base
|
|
|
|
|
{
|
|
|
|
|
GENERATED_UCLASS_BODY()
|
|
|
|
|
|
|
|
|
|
// Editor state machine representation
|
|
|
|
|
UPROPERTY()
|
|
|
|
|
class UAnimationStateMachineGraph* EditorStateMachineGraph;
|
|
|
|
|
|
|
|
|
|
// 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;
|
|
|
|
|
virtual FString GetNodeNativeTitle(ENodeTitleType::Type TitleType) const OVERRIDE;
|
2014-03-14 14:13:41 -04:00
|
|
|
virtual void PostPlacedNewNode() OVERRIDE;
|
|
|
|
|
virtual UObject* GetJumpTargetForDoubleClick() const OVERRIDE;
|
|
|
|
|
virtual void DestroyNode() OVERRIDE;
|
|
|
|
|
virtual void PostPasteNode() OVERRIDE;
|
|
|
|
|
virtual TSharedPtr<class INameValidatorInterface> MakeNameValidator() const OVERRIDE;
|
|
|
|
|
virtual FString GetDocumentationLink() const OVERRIDE;
|
|
|
|
|
virtual void OnRenameNode(const FString& NewName) OVERRIDE;
|
|
|
|
|
// End of UEdGraphNode interface
|
|
|
|
|
|
|
|
|
|
// UAnimGraphNode_Base interface
|
|
|
|
|
virtual FString GetNodeCategory() const OVERRIDE;
|
|
|
|
|
virtual void GetMenuEntries(FGraphContextMenuBuilder& ContextMenuBuilder) const OVERRIDE;
|
|
|
|
|
// End of UAnimGraphNode_Base interface
|
|
|
|
|
|
|
|
|
|
// @return the name of this state machine
|
|
|
|
|
FString GetStateMachineName();
|
|
|
|
|
|
|
|
|
|
// Interface for derived classes to implement
|
|
|
|
|
virtual FAnimNode_StateMachine& GetNode() PURE_VIRTUAL(UAnimGraphNode_StateMachineBase::GetNode, static FAnimNode_StateMachine Dummy; return Dummy;);
|
|
|
|
|
// End of my interface
|
|
|
|
|
};
|