UEdGraphSchema_Niagara

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

NiagaraEditor

Header

/Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/EdGraphSchema_Niagara.h

Include

#include "EdGraphSchema_Niagara.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UEdGraphSchema_Niagara : public UEdGraphSchema

Constructors

Name Description

Public function

UEdGraphSchema_Niagara

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Static

bool

 

CanPromoteSinglePinToParameter

(
    const UEdGraphPin* SourcePin
)

Public function Const

TArray< TSha...

 

GetGraphActions

(
    const UEdGraph* CurrentGraph,
    const UEdGraphPin* FromPin,
    UEdGraph* OwnerOfTemporaries
)

Public function Static

FLinearColor

 

GetTypeColor

(
    const FNiagaraTypeDefinition& Type
)

Public function Const

FNiagaraType...

 

GetTypeDefForProperty

(
    const FProperty* Property
)

Public function Static

FPinConnecti...

 

GetWildcardConnectionResponse

(
    const UEdGraphPin* PinA,
    const UEdGraphPin* PinB
)

Public function Static

bool

 

IsPinWildcard

(
    const UEdGraphPin* Pin
)

Public function Const

bool

 

IsSystemConstant

(
    const FNiagaraVariable& Variable
)

Public function Const

FNiagaraVari...

 

PinToNiagaraVariable

(
    const UEdGraphPin* Pin,
    bool bNeedsValue
)

Creates a niagara variable using the name, type, and default value stored on an ed graph pin.

Public function Static

FNiagaraType...

 

PinToTypeDefinition

(
    const UEdGraphPin* Pin
)

Public function Static

FNiagaraType...

 

PinTypeToTypeDefinition

(
    const FEdGraphPinType& PinType
)

Public function

void

 

PromoteSinglePinToParameter

(
    UEdGraphPin* SourcePin
)

Public function Const

void

 

RefreshNode

(
    UNiagaraNode* InNode
)

Public function Const

void

 

ToggleNodeEnabledState

(
    UNiagaraNode* InNode
)

Public function Const

bool

 

TryGetPinDefaultValueFromNiagaraVariable

(
    const FNiagaraVariable& Variable,
    FString& OutPinDefaultValue
)

Tries to get a default value string for a graph pin from a niagara variable.

Public function Static

FEdGraphPinT...

 

TypeDefinitionToPinType

(
    FNiagaraTypeDefinition TypeDef
)

Public function Const

UNiagaraPara...

 

VariableIsFromParameterCollection

(
    const FNiagaraVariable& Var
)

Public function Const

UNiagaraPara...

 

VariableIsFromParameterCollection

(
    const FString& VarName,
    bool bAllowPartialMatch,
    FNiagaraVariable& OutVar
)

Overridden from UEdGraphSchema

Name Description

Public function Virtual Const

void

 

BreakPinLinks

(
    UEdGraphPin& TargetPin,
    bool bSendsNodeNotifcation
)

Breaks all links from/to a single pin

Public function Virtual Const

void

 

BreakSinglePinLink

(
    UEdGraphPin* SourcePin,
    UEdGraphPin* TargetPin
)

Breaks the link between two nodes.

Public function Virtual Const

const FPinCo...

 

CanCreateConnection

(
    const UEdGraphPin* A,
    const UEdGraphPin* B
)

Determine if a connection can be created between two pins.

Public function Virtual Const

FConnectionD...

 

CreateConnectionDrawingPolicy

(
    int32 InBackLayerID,
    int32 InFrontLayerID,
    float InZoomFactor,
    const FSlateRect& InClippingRect,
    FSlateWindowElementList& InDrawEle...,
    UEdGraph* InGraphObj
)

Returns new FConnectionDrawingPolicy from this schema

Public function Virtual Const

void

 

DroppedAssetsOnGraph

(
    const TArray< FAssetData >& Assets,
    const FVector2D& GraphPosition,
    UEdGraph* Graph
)

Called when asset(s) are dropped onto a graph background.

Public function Virtual Const

void

 

GetAssetsGraphHoverMessage

(
    const TArray< FAssetData >& Assets,
    const UEdGraph* HoverGraph,
    FString& OutTooltipText,
    bool& OutOkIcon
)

Allows schema to generate a tooltip (icon & message) when the specified asset(s) are dragged over the specified graph

Public function Virtual Const

void

 

GetContextMenuActions

(
    UToolMenu* Menu,
    UGraphNodeContextMenuContext* ...
)

Gets actions that should be added to the right-click context menu for a node or pin

Public function Virtual Const

FLinearColor

 

GetPinTypeColor

(
    const FEdGraphPinType& PinType
)

Gets the draw color of a pin based on it's type.

Public function Virtual Const

void

 

OnPinConnectionDoubleCicked

(
    UEdGraphPin* PinA,
    UEdGraphPin* PinB,
    const FVector2D& GraphPosition
)

Handles double-clicking on a pin<->pin connection

Public function Virtual Const

void

 

ResetPinToAutogeneratedDefaultValue

(
    UEdGraphPin* Pin,
    bool bCallModifyCallbacks
)

Resets a pin back to it's autogenerated default value, optionally calling the default value change callbacks

Public function Virtual Const

bool

 

ShouldAlwaysPurgeOnModification()

When a node is removed, this method determines whether we should remove it immediately or use the old (slower) code path that results in all node being recreated:

Public function Virtual Const

bool

 

ShouldHidePinDefaultValue

(
    UEdGraphPin* Pin
)

If we should disallow viewing and editing of the supplied pin

Public function Virtual Const

bool

 

TryCreateConnection

(
    UEdGraphPin* A,
    UEdGraphPin* B
)

Try to make a connection between two pins.

Public function Virtual Const

void

 

TrySetDefaultValue

(
    UEdGraphPin& Pin,
    const FString& NewDefaultValue,
    bool bMarkAsModified
)

Sets the string to the specified pin; even if it is invalid it is still set.

Constants

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss