UNiagaraNodeAssignment

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

NiagaraEditor

Header

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

Include

#include "NiagaraNodeAssignment.h"

Syntax

UCLASS()
class UNiagaraNodeAssignment : public UNiagaraNodeFunctionCall

Variables

Name Description

Protected variable UProperty

TArray< FString...

 

AssignmentDefaultValues

Protected variable UProperty

TArray< FNiagar...

 

AssignmentTargets

Protected variable

FSimpleMulticas...

 

AssignmentTargetsChangedDelegate

Protected variable UProperty

FString

 

OldFunctionCallName

Protected variable

FText

 

Title

Functions

Name Description

Public function

int32

 

AddAssignmentTarget

(
    const FNiagaraVariable& InVar,
    const FString* InDefaultValue
)

Public function

void

 

AddParameter

(
    FNiagaraVariable InVar,
    FString InDefaultValue
)

Public function

TSharedRef< ...

 

CreateAddParameterMenu

(
    const TSharedPtr< SComboButton >& ...
)

Public function

int32

 

FindAssignmentTarget

(
    const FName& InName
)

Public function

int32

 

FindAssignmentTarget

(
    const FName& InName,
    const FNiagaraTypeDefinition& Type...
)

Public function Const

const TArray...

 

GetAssignmentDefaults()

Public function Const

const FNiaga...

 

GetAssignmentTarget

(
    int32 Idx
)

Public function Const

const TArray...

 

GetAssignmentTargets()

Public function Const

int32

 

NumTargets()

Public function

FSimpleMulti...

 

OnAssignmentTargetsChanged()

Public function

void

 

RemoveParameter

(
    const FNiagaraVariable& InVar
)

Public function

bool

 

RenameAssignmentTarget

(
    FName OldName,
    FName NewName
)

This will rename an existing input but will not refresh the underlying script.

Public function

bool

 

SetAssignmentTarget

(
    int32 Idx,
    const FNiagaraVariable& InVar,
    const FString* InDefaultValue
)

Set the assignment target and default value.

Public function

void

 

UpdateUsageBitmaskFromOwningScript()

Overridden from UNiagaraNode

Name Description

Public function Virtual Const

void

 

BuildParameterMapHistory

(
    FNiagaraParameterMapHistoryBuilder ...,
    bool bRecursive,
    bool bFilterForCompilation
)

Adds the current node information to the parameter map history

Public function Virtual Const

void

 

GatherExternalDependencyData

(
    ENiagaraScriptUsage InMasterUsage,
    const FGuid& InMasterUsageId,
    TArray< FNiagaraCompileHash >& InR...,
    TArray< FString >& InReferencedObj...
)

Go through all the external dependencies of this node in isolation and add them to the reference id list.

Public function Virtual

bool

 

RefreshFromExternalChanges()

Refreshes the node due to external changes, e.g. the underlying function changed for a function call node.

Overridden from UEdGraphNode

Name Description

Public function Virtual

void

 

AllocateDefaultPins()

Allocate default pins for a given node, based only the NodeType, which should already be filled in.

Public function Virtual Const

FText

 

GetNodeTitle

(
    ENodeTitleType::Type TitleType
)

Gets the name of this node, shown in title bar

Public function Virtual Const

FText

 

GetTooltipText()

Gets the tooltip to display when over the node

Overridden from UObject

Name Description

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Deprecated Variables

Name Description

Protected variable UProperty

FString

 

AssignmentDefaultValue_DEPRECATED

Protected variable UProperty

FNiagaraVariabl...

 

AssignmentTarget_DEPRECATED