You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-13391 - Delete old BP menu system (is causing confusion) #codereview Mike.Beach [CL 2514361 by Michael Schoell in Main branch]
26 lines
1.1 KiB
C++
26 lines
1.1 KiB
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
#include "AnimationTransitionSchema.generated.h"
|
|
|
|
// This class is the schema for transition rule graphs in animation state machines
|
|
UCLASS(MinimalAPI)
|
|
class UAnimationTransitionSchema : public UEdGraphSchema_K2
|
|
{
|
|
GENERATED_UCLASS_BODY()
|
|
|
|
// Begin UEdGraphSchema interface.
|
|
virtual void CreateDefaultNodesForGraph(UEdGraph& Graph) const override;
|
|
virtual bool CanDuplicateGraph(UEdGraph* InSourceGraph) const override { return false; }
|
|
virtual void GetGraphDisplayInformation(const UEdGraph& Graph, /*out*/ FGraphDisplayInfo& DisplayInfo) const override;
|
|
virtual bool DoesSupportEventDispatcher() const override { return false; }
|
|
virtual bool ShouldAlwaysPurgeOnModification() const override { return true; }
|
|
// End UEdGraphSchema interface.
|
|
|
|
private:
|
|
static UAnimStateTransitionNode* GetTransitionNodeFromGraph(const FAnimBlueprintDebugData& DebugData, const UEdGraph* Graph);
|
|
|
|
static UAnimStateNode* GetStateNodeFromGraph(const FAnimBlueprintDebugData& DebugData, const UEdGraph* Graph);
|
|
|
|
};
|