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...

 

GetGraphContextActions

(
    const UEdGraph* CurrentGraph,
    TArray< UObject* >& SelectedO...,
    const UEdGraphPin* FromPin,
    UEdGraph* OwnerOfTemporaries
)

Public function Static

FLinearColor

 

GetTypeColor

(
    const FNiagaraTypeDefinition& Type
)

Public function Const

FNiagaraType...

 

GetTypeDefForProperty

(
    const FProperty* Property
)

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 Const

FNiagaraType...

 

PinToTypeDefinition

(
    const UEdGraphPin* Pin
)

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 Const

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

 

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

void

 

GetGraphContextActions

(
    FGraphContextMenuBuilder& ContextM...
)

Get all actions that can be performed when right clicking on a graph or drag-releasing on a graph from a 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.

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