You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Rob asked me to back out GENERATED_*_BODY -> GENERATED_BODY change for now until the "_Validate and _Implementation auto-generation" discussion is over. #codereview Robert.Manuszewski [CL 2481343 by Jaroslaw Palczynski in Main branch]
32 lines
1.1 KiB
C++
32 lines
1.1 KiB
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "MaterialGraphNode_Root.generated.h"
|
|
|
|
UCLASS(MinimalAPI)
|
|
class UMaterialGraphNode_Root : public UMaterialGraphNode_Base
|
|
{
|
|
GENERATED_UCLASS_BODY()
|
|
|
|
/** Material whose inputs this root node represents */
|
|
UPROPERTY()
|
|
class UMaterial* Material;
|
|
|
|
// Begin UEdGraphNode interface.
|
|
virtual FText GetNodeTitle(ENodeTitleType::Type TitleType) const override;
|
|
virtual FLinearColor GetNodeTitleColor() const override;
|
|
virtual FText GetTooltipText() const override;
|
|
virtual bool CanUserDeleteNode() const override { return false; }
|
|
virtual bool CanDuplicateNode() const override { return false; }
|
|
virtual void PostPlacedNewNode() override;
|
|
// End UEdGraphNode interface.
|
|
|
|
// UMaterialGraphNode_Base interface
|
|
virtual void CreateInputPins() override;
|
|
virtual bool IsRootNode() const override {return true;}
|
|
virtual int32 GetInputIndex(const UEdGraphPin* InputPin) const override;
|
|
virtual uint32 GetInputType(const UEdGraphPin* InputPin) const override;
|
|
// End of UMaterialGraphNode_Base interface
|
|
};
|