UNiagaraNodeCustomHlsl

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

NiagaraEditor

Header

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

Include

#include "NiagaraNodeCustomHlsl.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(MinimalAPI)
class UNiagaraNodeCustomHlsl : public UNiagaraNodeFunctionCall

Variables

Constructors

Name Description

Public function

UNiagaraNodeCustomHlsl

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

const FStrin...

 

GetCustomHlsl()

Public function Const

FText

 

GetHlslText()

Public function Const

bool

 

GetTokens

(
    TArray< FString >& OutTokens
)

Public function

void

 

InitAsCustomHlslDynamicInput

(
    const FNiagaraTypeDefinition& Outp...
)

Public function

void

 

OnCustomHlslTextCommitted

(
    const FText& InText,
    ETextCommit::Type InType
)

Protected function

void

 

RebuildSignatureFromPins()

Public function Static

uint32

 

ReplaceExactMatchTokens

(
    TArray< FString >& Tokens,
    const FString& SrcString,
    const FString& ReplaceString,
    bool bAllowNamespaceSeparation
)

Replace items in the tokens array if they start with the src string or optionally src string and a namespace delimiter.

Public function

void

 

SetCustomHlsl

(
    const FString& InCustomHlsl
)

Public function Static

FNiagaraVari...

 

StripVariableToBaseType

(
    const FNiagaraVariable& InVar
)

Overridden from UNiagaraNodeFunctionCall

Name Description

Protected function Virtual Const

bool

 

GetValidateDataInterfaces()

Overridden from UNiagaraNodeWithDynamicPins

Name Description

Protected function Virtual Const

bool

 

AllowDynamicPins()

Void AddParameterAndSetMetaData(FNiagaraVariable& Parameter, const FNiagaraVariableMetaData& ParameterMetaData, UEdGraphPin* AddPin);

Public function Virtual

bool

 

AllowNiagaraTypeForAddPin

(
    const FNiagaraTypeDefinition& InTy...
)

Determine whether or not a Niagara type is supported for an Add Pin possibility.

Protected function Virtual Const

bool

 

CanMovePin

(
    const UEdGraphPin* Pin
)

Called to determine if a pin can be moved by the user.

Protected function Virtual Const

bool

 

CanRemovePin

(
    const UEdGraphPin* Pin
)

Called to determine if a pin can be removed by the user.

Protected function Virtual Const

bool

 

CanRenamePin

(
    const UEdGraphPin* Pin
)

Called to determine if a pin can be renamed by the user.

Protected function Virtual

void

 

MoveDynamicPin

(
    UEdGraphPin* Pin,
    int32 DirectionToMove
)

Protected function Virtual

void

 

OnNewTypedPinAdded

(
    UEdGraphPin* NewPin
)

Called when a new typed pin is added by the user.

Protected function Virtual

void

 

OnPinRenamed

(
    UEdGraphPin* RenamedPin,
    const FString& OldPinName
)

Called when a pin is renamed.

Protected function Virtual

void

 

RemoveDynamicPin

(
    UEdGraphPin* Pin
)

Removes a pin from this node with a transaction.

Overridden from UNiagaraNode

Name Description

Public function Virtual Const

void

 

BuildParameterMapHistory

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

Protected function Virtual

bool

 

CancelEditablePinName

(
    const FText& InName,
    UEdGraphPin* InGraphPinObj
)

Notify the rename was cancelled.

Protected function Virtual

bool

 

CommitEditablePinName

(
    const FText& InName,
    UEdGraphPin* InGraphPinObj,
    bool bSuppressEvents
)

Verify that the potential rename has produced acceptable results for a pin.

Protected function Virtual Const

bool

 

IsPinNameEditable

(
    const UEdGraphPin* GraphPinObj
)

Determine whether or not a pin should be renamable.

Protected function Virtual Const

bool

 

IsPinNameEditableUponCreation

(
    const UEdGraphPin* GraphPinObj
)

Determine whether or not a specific pin should immediately be opened for rename.

Protected function Virtual Const

bool

 

VerifyEditablePinName

(
    const FText& InName,
    FText& OutErrorMessage,
    const UEdGraphPin* InGraphPinO...
)

Called in subclasses to restrict renaming.

Overridden from UEdGraphNode

Name Description

Public function Virtual

TSharedPtr< ...

 

CreateVisualWidget()

Create a visual widget to represent this node in a graph editor or graph panel.

Public function Virtual Const

FLinearColor

 

GetNodeTitleColor()

Gets the draw color of a node's title bar

Public function Virtual

void

 

OnRenameNode

(
    const FString& NewName
)

Called when this node is being renamed after a successful name validation

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

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