38 lines
1.0 KiB
C++
38 lines
1.0 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "ControlRigGraphNode.h"
|
|
#include "GraphEditorDragDropAction.h"
|
|
#include "RigVMModel/RigVMGraph.h"
|
|
#include "EdGraphSchema_K2_Actions.h"
|
|
#include "EdGraph/RigVMEdGraphSchema.h"
|
|
|
|
#include "ControlRigGraphSchema.generated.h"
|
|
|
|
class UControlRigBlueprint;
|
|
class UControlRigGraph;
|
|
class UControlRigGraphNode;
|
|
class UControlRigGraphNode_Unit;
|
|
class UControlRigGraphNode_Property;
|
|
|
|
UCLASS()
|
|
class CONTROLRIGDEVELOPER_API UControlRigGraphSchema : public URigVMEdGraphSchema
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
/** Name constants */
|
|
static inline const FLazyName GraphName_ControlRig = FLazyName(TEXT("Rig"));
|
|
|
|
public:
|
|
UControlRigGraphSchema();
|
|
|
|
// UEdGraphSchema interface
|
|
virtual FLinearColor GetPinTypeColor(const FEdGraphPinType& PinType) const override;
|
|
|
|
// URigVMEdGraphSchema interface
|
|
virtual const FLazyName& GetRootGraphName() const override { return GraphName_ControlRig; }
|
|
virtual bool IsRigVMDefaultEvent(const FName& InEventName) const override;
|
|
};
|