You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
30 lines
864 B
C++
30 lines
864 B
C++
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "EnvironmentQueryGraphNode.h"
|
|
#include "EdGraphSchema_EnvironmentQuery.h"
|
|
#include "EnvironmentQueryGraph.h"
|
|
|
|
UEnvironmentQueryGraphNode::UEnvironmentQueryGraphNode(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer)
|
|
{
|
|
}
|
|
|
|
FText UEnvironmentQueryGraphNode::GetNodeTitle(ENodeTitleType::Type TitleType) const
|
|
{
|
|
return FText::GetEmpty();
|
|
}
|
|
|
|
FText UEnvironmentQueryGraphNode::GetDescription() const
|
|
{
|
|
return FText::GetEmpty();
|
|
}
|
|
|
|
UEnvironmentQueryGraph* UEnvironmentQueryGraphNode::GetEnvironmentQueryGraph()
|
|
{
|
|
return CastChecked<UEnvironmentQueryGraph>(GetGraph());
|
|
}
|
|
|
|
bool UEnvironmentQueryGraphNode::CanCreateUnderSpecifiedSchema(const UEdGraphSchema* DesiredSchema) const
|
|
{
|
|
return DesiredSchema->GetClass()->IsChildOf(UEdGraphSchema_EnvironmentQuery::StaticClass());
|
|
}
|