2014-12-07 19:09:38 -05:00
|
|
|
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
#pragma once
|
2014-11-12 04:43:54 -05:00
|
|
|
#include "EdGraph/EdGraphNode.h"
|
2014-03-14 14:13:41 -04:00
|
|
|
#include "SoundCueGraphNode_Base.generated.h"
|
|
|
|
|
|
|
|
|
|
UCLASS(MinimalAPI)
|
|
|
|
|
class USoundCueGraphNode_Base : public UEdGraphNode
|
|
|
|
|
{
|
2015-03-17 05:38:32 -04:00
|
|
|
GENERATED_UCLASS_BODY()
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
/** Create all of the input pins required */
|
|
|
|
|
virtual void CreateInputPins() {};
|
|
|
|
|
/** Is this the undeletable root node */
|
|
|
|
|
virtual bool IsRootNode() const {return false;}
|
|
|
|
|
|
|
|
|
|
/** Get the Output Pin (should only ever be one) */
|
|
|
|
|
UNREALED_API class UEdGraphPin* GetOutputPin();
|
|
|
|
|
/** Get all of the Input Pins */
|
|
|
|
|
UNREALED_API void GetInputPins(TArray<class UEdGraphPin*>& OutInputPins);
|
|
|
|
|
/** Get a single Input Pin via its index */
|
|
|
|
|
UNREALED_API class UEdGraphPin* GetInputPin(int32 InputIndex);
|
|
|
|
|
/** Get the current Input Pin count */
|
|
|
|
|
UNREALED_API int32 GetInputCount() const;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Handles inserting the node between the FromPin and what the FromPin was original connected to
|
|
|
|
|
*
|
|
|
|
|
* @param FromPin The pin this node is being spawned from
|
|
|
|
|
* @param NewLinkPin The new pin the FromPin will connect to
|
|
|
|
|
* @param OutNodeList Any nodes that are modified will get added to this list for notification purposes
|
|
|
|
|
*/
|
|
|
|
|
void InsertNewNode(UEdGraphPin* FromPin, UEdGraphPin* NewLinkPin, TSet<UEdGraphNode*>& OutNodeList);
|
|
|
|
|
|
|
|
|
|
// UEdGraphNode interface.
|
2014-06-13 06:14:46 -04:00
|
|
|
virtual void AllocateDefaultPins() override;
|
|
|
|
|
virtual void ReconstructNode() override;
|
|
|
|
|
virtual void AutowireNewNode(UEdGraphPin* FromPin) override;
|
|
|
|
|
virtual bool CanCreateUnderSpecifiedSchema(const UEdGraphSchema* Schema) const override;
|
|
|
|
|
virtual FString GetDocumentationLink() const override;
|
2014-03-14 14:13:41 -04:00
|
|
|
// End of UEdGraphNode interface.
|
|
|
|
|
};
|