UNiagaraStackFunctionInput

Represents a single module input in the module stack view model.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

NiagaraEditor

Header

/Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/ViewModels/Stack/NiagaraStackFunctionInput.h

Include

#include "ViewModels/Stack/NiagaraStackFunctionInput.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UNiagaraStackFunctionInput : public UNiagaraStackItemContent

Remarks

Represents a single module input in the module stack view model.

Variables

Name Description

Public variable

bool

 

bIsVisible

If false then the stack parameter is not visible

Constructors

Name Description

Public function

UNiagaraStackFunctionInput()

Functions

Name Description

Public function Const

bool

 

CanDeleteInput()

Returns whether or not this input can be deleted.

Public function Const

bool

 

CanReset()

Returns whether or not the value or handle of this input has been overridden and can be reset.

Public function Const

bool

 

CanResetToBase()

Whether or not this input can be reset to a base value.

Public function

void

 

DeleteInput()

Deletes this input

Public function Const

bool

 

EmitterHasBase()

Whether or not this input has a base value. This is true for emitter instances in systems.

Public function

void

 

GetAvailableDynamicInputs

(
    TArray< UNiagaraScript* >& Av...,
    bool bIncludeNonLibraryInputs
)

Gets the dynamic inputs available for this input.

Public function Const

void

 

GetAvailableParameterHandles

(
    TArray< FNiagaraParameterHandle >&...
)

Gets the current set of available parameter handles which can be assigned to this input.

Public function Const

FText

 

GetCustomExpressionText()

Gets the expression providing the value for this input, if one is available.

Public function

UNiagaraData...

 

GetDataValueObject()

Gets the current data object value of this input is there is one.

Public function Const

UNiagaraNode...

 

GetDefaultFunctionNode()

Gets the function node form the script graph if the current value mode is DefaultFunction.

Public function Const

UNiagaraNode...

 

GetDynamicInputNode()

Gets the dynamic input node providing the value for this input, if one is available.

Public function Const

bool

 

GetEditConditionEnabled()

Gets the enabled value of the edit condition input associated with this input.

Public function Const

bool

 

GetHasEditCondition()

Gets whether or not this input has an associated edit condition input.

Public function Const

bool

 

GetHasVisibleCondition()

Gets whether or not this input has an associated visible condition input.

Public function Const

UNiagaraScri...

 

GetInputFunctionCallInitialScript()

Gets the script that the function call node was referencing when this input was initialized.

Public function Const

const UNiaga...

 

GetInputFunctionCallNode()

Gets the function call node which owns this input.

Public function Const

const FNiaga...

 

GetInputParameterHandle()

Gets the parameter handle which defined this input in the module.

Public function Const

const TArray...

 

GetInputParameterHandlePath()

Gets the path of parameter handles from the owning module to the function call which owns this input.

Public function Const

const FNiaga...

 

GetInputType()

Gets the type of this input.

Public function Const

bool

 

GetIsDynamicInputScriptReassignmentPending()

Gets whether or not a dynamic input script reassignment is pending.

Public function Const

bool

 

GetIsInlineEditConditionToggle()

Gets whether or not this input is used as an edit condition for another input and should be hidden.

Public function Const

const FNiaga...

 

GetLinkedValueHandle()

Gets the handle to the linked value for this input if there is one.

Public function

TSharedPtr< ...

 

GetLocalValueStruct()

Gets the current struct value of this input is there is one.

Public function Const

void

 

GetNamespacesForNewReadParameters

(
    TArray< FName >& OutNamespacesForN...
)

Gets the namespaces which new parameters for this input can be read from.

Public function Const

void

 

GetNamespacesForNewWriteParameters

(
    TArray< FName >& OutNamespacesForN...
)

Gets the namespaces which new parameters for this input can write to.

Public function Const

bool

 

GetShouldPassFilterForVisibleCondition()

Gets whether or not this input is filtered from search results and appearing in stack due to visibility metadata

Public function Const

bool

 

GetShowEditConditionInline()

Gets whether or not to show a control inline for the edit condition input associated with this input.

Public function

EValueMode

 

GetValueMode()

Gets the current value mode

Public function Const

FText

 

GetValueToolTip()

Gets the tooltip that should be shown for the value of this input.

Public function Const

bool

 

GetVisibleConditionEnabled()

Gets the enabled value of the visible condition input associated with this input.

Public function

void

 

Initialize

(
    FRequiredEntryData InRequiredEntryD...,
    UNiagaraNodeFunctionCall& InModule...,
    UNiagaraNodeFunctionCall& InInputF...,
    FName InInputParameterHandle,
    FNiagaraTypeDefinition InInputType,
    EStackParameterBehavior InParameter...,
    FString InOwnerStackItemEditorDataK...
)

Sets the input data for this entry.

Public function Const

bool

 

IsEditable()

Determine if this field is editable

Public function Const

bool

 

IsEnabled()

Is this pin editable or should it show as disabled?

Public function Const

bool

 

IsScratchDynamicInput()

Public function Const

bool

 

IsStaticParameter()

If true the parameter can only be set to local constant values

Public function

void

 

NotifyBeginLocalValueChange()

Called to notify the input that an ongoing change to it's value has begun.

Public function

void

 

NotifyEndLocalValueChange()

Called to notify the input that an ongoing change to it's value has ended.

Public function

FOnValueChan...

 

OnValueChanged()

Gets a multicast delegate which is called whenever the value on this input changes.

Public function

void

 

ReassignDynamicInputScript

(
    UNiagaraScript* DynamicInputSc...
)

Reassigns the function script for the current dynamic input without resetting the sub-inputs.

Protected function

bool

 

RemoveRapidIterationParametersForAffectedScripts()

Public function

void

 

Reset()

Resets the value and handle of this input to the value and handle defined in the module.

Public function

void

 

ResetToBase()

Resets this input to its base value.

Protected function Const

FString

 

ResolveDisplayNameArgument

(
    const FString& InArg
)

Public function

void

 

SetCustomExpression

(
    const FString& InCustomExpression
)

Sets the dynamic custom expression script for this input.

Public function

void

 

SetDynamicInput

(
    UNiagaraScript* DynamicInput,
    FString SuggestedName
)

Sets the dynamic input script for this input.

Public function

void

 

SetEditConditionEnabled

(
    bool bIsEnabled
)

Sets the enabled value of the edit condition input associated with this input.

Public function

void

 

SetIsDynamicInputScriptReassignmentPending

(
    bool bIsPending
)

Gets whether or not a dynamic input script reassignment should be be pending.

Public function

void

 

SetLinkedValueHandle

(
    const FNiagaraParameterHandle& InP...
)

Sets the value of this input to a linked parameter handle.

Public function

void

 

SetLocalValue

(
    TSharedRef< FStructOnScope > InLoca...
)

Sets this input's local value.

Public function

void

 

SetScratch()

Create a new scratch pad dynamic inputs and set this input to use it.

Public function

void

 

SetValueFromClipboardFunctionInput

(
    const UNiagaraClipboardFunctionInpu...
)

Public function Const

const UNiaga...

 

ToClipboardFunctionInput

(
    UObject* InOuter
)

Protected function

bool

 

UpdateRapidIterationParametersForAffectedScripts

(
    const uint8* Data
)

Overridden from UNiagaraStackEntry

Name Description

Public function Virtual Const

void

 

Copy

(
    UNiagaraClipboardContent* Clip...
)

Public function Virtual Const

void

 

CopyForCut

(
    UNiagaraClipboardContent* Clip...
)

Protected function Virtual

void

 

FinalizeInternal()

Public function Virtual Const

FText

 

GetCutTransactionText()

Public function Virtual Const

FText

 

GetDisplayName()

Public function Virtual Const

UObject *...

 

GetExternalAsset()

Public function Virtual Const

bool

 

GetIsEnabled()

Public function Virtual Const

FText

 

GetPasteTransactionText

(
    const UNiagaraClipboardContent*...
)

Public function Virtual Const

void

 

GetSearchItems

(
    TArray< FStackSearchItem >& Search...
)

Public function Virtual Const

FText

 

GetTooltipText()

Public function Virtual

void

 

OnRenamed

(
    FText NewName
)

Renames this input to the name specified.

Public function Virtual

void

 

Paste

(
    const UNiagaraClipboardContent*...,
    FText& OutPasteWarning
)

Protected function Virtual

void

 

RefreshChildrenInternal

(
    const TArray< UNiagaraStackEntry&#...,
    TArray< UNiagaraStackEntry* > ...,
    TArray< FStackIssue >& NewIssues
)

Public function Virtual

void

 

RemoveForCut()

Public function Virtual Const

bool

 

SupportsCopy()

Public function Virtual Const

bool

 

SupportsCut()

Public function Virtual Const

bool

 

SupportsPaste()

Public function Virtual Const

bool

 

SupportsRename()

Returns whether or not this input can be renamed.

Public function Virtual Const

bool

 

TestCanCopyWithMessage

(
    FText& OutMessage
)

Public function Virtual Const

bool

 

TestCanCutWithMessage

(
    FText& OutMessage
)

Public function Virtual Const

bool

 

TestCanPasteWithMessage

(
    const UNiagaraClipboardContent*...,
    FText& OutMessage
)

Enums

Name

Description

Public enum

EValueMode

Defines different modes which are used to provide the value for this function input.

Typedefs

Name

Description

FOnValueChanged

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