Navigation
API > API/Plugins > API/Plugins/NiagaraEditor > API/Plugins/NiagaraEditor/ViewModels > API/Plugins/NiagaraEditor/ViewModels/Stack
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UNiagaraStackEntry
- UNiagaraStackItemContent
- UNiagaraStackFunctionInput
References
| Module | NiagaraEditor |
| Header | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/ViewModels/Stack/NiagaraStackFunctionInput.h |
| Include | #include "ViewModels/Stack/NiagaraStackFunctionInput.h" |
Syntax
UCLASS&40;MinimalAPI&41;
class UNiagaraStackFunctionInput : public UNiagaraStackItemContent
Remarks
Represents a single module input in the module stack view model.
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Returns whether or not this input can be deleted. | ||
| bool | CanReset () |
Returns whether or not the value or handle of this input has been overridden and can be reset. | |
| bool | Whether or not this input can be reset to a base value. | ||
| void | ChangeScriptVersion
(
FGuid NewScriptVersion |
||
| void | DeleteInput () |
Deletes this input | |
| bool | Whether or not this input has a base value. This is true for emitter instances in systems. | ||
| void | GetAvailableDynamicInputs
(
TArray< UNiagaraScript* >& AvailableDynamicInputs, |
Gets the dynamic inputs available for this input. | |
| void | GetAvailableParameterHandles
(
TArray< FNiagaraParameterHandle >& AvailableParameterHandles, |
Gets the current set of available parameter handles which can be assigned to this input. | |
| UNiagaraStackObject * | |||
| TArray< UNiagaraStackFunctionInput * > | |||
| FText | Gets the tooltip that should be shown for the value of this input. | ||
| FText | Gets the expression providing the value for this input, if one is available. | ||
| UNiagaraDataInterface * | Gets the current data object value of this input is there is one. | ||
| UNiagaraNodeFunctionCall * | Gets the function node form the script graph if the current value mode is DefaultFunction. | ||
| UNiagaraNodeFunctionCall * | Gets the dynamic input node providing the value for this input, if one is available. | ||
| bool | Gets the enabled value of the edit condition input associated with this input. | ||
| TOptional< FNiagaraVariable > | Gets the variable that serves as an edit condition for this input. | ||
| void | GetFilteredChildInputs
(
TArray< UNiagaraStackFunctionInput* >& OutFilteredChildInputs |
||
| bool | Gets whether or not this input has an associated edit condition input. | ||
| bool | Gets whether or not this input has an associated visible condition input. | ||
| ENiagaraStackEntryInlineDisplayMode | |||
| EUnit | Gets the unit of this input. | ||
| UNiagaraScript * | Gets the script that the function call node was referencing when this input was initialized. | ||
| const UNiagaraNodeFunctionCall & | Gets the function call node which owns this input. | ||
| TOptional< FNiagaraVariableMetaData > | |||
| const FNiagaraParameterHandle & | Gets the parameter handle which defined this input in the module. | ||
| const TArray< FNiagaraParameterHandle > & | Gets the path of parameter handles from the owning module to the function call which owns this input. | ||
| const FNiagaraTypeDefinition & | GetInputType () |
Gets the type of this input. | |
| FNiagaraInputParameterCustomization | |||
| bool | Gets whether or not a dynamic input script reassignment is pending. | ||
| bool | Gets whether or not this input is used as an edit condition for another input and should be hidden. | ||
| const FNiagaraParameterHandle & | Gets the handle to the linked value for this input if there is one. | ||
| TSharedPtr< const FStructOnScope > | Gets the current struct value of this input is there is one. | ||
| void | GetNamespacesForNewReadParameters
(
TArray< FName >& OutNamespacesForNewParameters |
Gets the namespaces which new parameters for this input can be read from. | |
| void | GetNamespacesForNewWriteParameters
(
TArray< FName >& OutNamespacesForNewParameters |
Gets the namespaces which new parameters for this input can write to. | |
| UObject * | Gets the current object Asset value of this input is there is one. | ||
| TArray< UNiagaraScript * > | GetPossibleConversionScripts
(
const FNiagaraTypeDefinition& FromType, |
||
| TArray< UNiagaraScript * > | GetPossibleConversionScripts
(
const FNiagaraTypeDefinition& FromType |
||
| bool | Gets whether or not this input is filtered from search results and appearing in stack due to visibility metadata | ||
| bool | Gets whether or not to show a control inline for the edit condition input associated with this input. | ||
| FStackIssueFixDelegate | |||
| EValueMode | GetValueMode () |
Gets the current value mode | |
| FText | Gets the tooltip that should be shown for the value of this input. | ||
| bool | Gets the enabled value of the visible condition input associated with this input. | ||
| void | Initialize
(
FRequiredEntryData InRequiredEntryData, |
Sets the input data for this entry. | |
| bool | IsEditable () |
Determine if this field is editable | |
| bool | IsEnabled () |
Is this pin editable or should it show as disabled? | |
| bool | |||
| bool | If true the parameter can only be set to local constant values | ||
| void | Called to notify the input that an ongoing change to it's value has begun. | ||
| void | Called to notify the input that an ongoing change to it's value has ended. | ||
| FOnValueChanged & | Gets a multicast delegate which is called whenever the value on this input changes. | ||
| bool | |||
| void | ReassignDynamicInputScript
(
UNiagaraScript* DynamicInputScript |
Reassigns the function script for the current dynamic input without resetting the sub-inputs. | |
| bool | RemoveRapidIterationParametersForAffectedScripts
(
bool bUpdateGraphGuidsForAffected |
||
| void | Reset () |
Resets the value and handle of this input to the value and handle defined in the module. | |
| void | ResetToBase () |
Resets this input to its base value. | |
| FString | ResolveDisplayNameArgument
(
const FString& InArg |
||
| void | SetClipboardContentViaConversionScript
(
const UNiagaraClipboardFunctionInput& ClipboardFunctionInput |
||
| void | SetCustomExpression
(
const FString& InCustomExpression |
Sets the dynamic custom expression script for this input. | |
| void | SetDynamicInput
(
UNiagaraScript* DynamicInput, |
Sets the dynamic input script for this input. | |
| void | SetEditConditionEnabled
(
bool bIsEnabled |
Sets the enabled value of the edit condition input associated with this input. | |
| void | SetInlineDisplayMode
(
ENiagaraStackEntryInlineDisplayMode InlineDisplayMode |
||
| void | SetIsDynamicInputScriptReassignmentPending
(
bool bIsPending |
Gets whether or not a dynamic input script reassignment should be be pending. | |
| void | SetLinkedInputViaConversionScript
(
const FNiagaraVariable& LinkedInput, |
||
| void | SetLinkedInputViaConversionScript
(
const FName& LinkedInputName, |
||
| void | SetLinkedValueHandle
(
const FNiagaraParameterHandle& InParameterHandle |
Sets the value of this input to a linked parameter handle. | |
| void | SetLocalValue
(
TSharedRef< FStructOnScope > InLocalValue |
Sets this input's local value. | |
| void | SetObjectAssetValue
(
UObject* NewValue |
Sets the current object Asset value of this input is there is one. | |
| void | SetScratch () |
Create a new scratch pad dynamic inputs and set this input to use it. | |
| void | SetSemanticChild
(
bool IsSemanticChild |
||
| void | SetSummaryViewDisplayName
(
TAttribute< FText > InDisplayName |
||
| void | SetSummaryViewTooltip
(
TAttribute< FText > InTooltipOverride |
||
| void | SetValueFromClipboardFunctionInput
(
const UNiagaraClipboardFunctionInput& ClipboardFunctionInput |
||
| bool | |||
| bool | |||
| const UNiagaraClipboardFunctionInput * | ToClipboardFunctionInput
(
UObject* InOuter |
||
| bool | UpdateRapidIterationParametersForAffectedScripts
(
const uint8* Data |
Overridden from UNiagaraStackItemContent
| Type | Name | Description | |
|---|---|---|---|
| bool | Returns true if this stack entry was changed by a user and differs from the default value. |
Overridden from UNiagaraStackEntry
| Type | Name | Description | |
|---|---|---|---|
| void | Copy
(
UNiagaraClipboardContent* ClipboardContent |
||
| void | CopyForCut
(
UNiagaraClipboardContent* ClipboardContent |
||
| FNiagaraHierarchyIdentity | |||
| void | |||
| const FCollectedUsageData & | |||
| FText | |||
| FText | |||
| UObject * | |||
| bool | GetIsEnabled () |
||
| FText | GetPasteTransactionText
(
const UNiagaraClipboardContent* ClipboardContent |
||
| void | GetSearchItems
(
TArray< FStackSearchItem >& SearchItems |
||
| FText | |||
| bool | Returns whether or not this entry should be treated as a child of a previous sibling for layout purposes. | ||
| void | Renames this input to the name specified. | ||
| void | Paste
(
const UNiagaraClipboardContent* ClipboardContent, |
||
| void | RefreshChildrenInternal
(
const TArray< UNiagaraStackEntry* >& CurrentChildren, |
||
| void | RemoveForCut () |
||
| bool | SupportsCopy () |
||
| bool | SupportsCut () |
||
| bool | |||
| bool | Returns whether or not this input can be renamed. | ||
| bool | |||
| bool | TestCanCopyWithMessage
(
FText& OutMessage |
||
| bool | TestCanCutWithMessage
(
FText& OutMessage |
||
| bool | TestCanPasteWithMessage
(
const UNiagaraClipboardContent* ClipboardContent, |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EValueMode | Defines different modes which are used to provide the value for this function input. |
Typedefs
| Name | Description |
|---|---|
| FOnValueChanged |