Navigation
API > API/Plugins > API/Plugins/NiagaraEditor
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UEdGraphNode
- UNiagaraNode
- UNiagaraNodeWithDynamicPins
- UNiagaraNodeFunctionCall
- UNiagaraNodeCustomHlsl
References
| Module | NiagaraEditor |
| Header | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/NiagaraNodeCustomHlsl.h |
| Include | #include "NiagaraNodeCustomHlsl.h" |
Syntax
UCLASS&40;MinimalAPI&41;
class UNiagaraNodeCustomHlsl : public UNiagaraNodeFunctionCall
Variables
| Type | Name | Description | |
|---|---|---|---|
| UEdGraphPin * | PinPendingRename | ||
| ENiagaraScriptUsage | ScriptUsage |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UNiagaraNodeCustomHlsl
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FString & | |||
| FText | GetHlslText () |
||
| void | GetIncludeFilePaths
(
TArray< FNiagaraCustomHlslInclude >& OutCustomHlslIncludeFilePaths |
||
| bool | |||
| bool | GetTokensFromString
(
const FString& InHlsl, |
||
| void | InitAsCustomHlslDynamicInput
(
const FNiagaraTypeDefinition& OutputType |
||
| bool | |||
| void | OnCustomHlslTextCommitted
(
const FText& InText, |
||
| void | |||
| bool | ReferencesVariable
(
const FNiagaraVariableBase& InVar |
||
| uint32 | ReplaceExactMatchTokens
(
TArray< FString >& Tokens, |
Replace items in the tokens array if they start with the src string or optionally src string and a namespace delimiter. | |
| void | SetCustomHlsl
(
const FString& InCustomHlsl |
||
| void | SetShaderCodeShown
(
bool bInShown |
Overridden from UNiagaraNodeFunctionCall
| Type | Name | Description | |
|---|---|---|---|
| bool |
Overridden from UNiagaraNodeWithDynamicPins
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| bool | AllowNiagaraTypeForAddPin
(
const FNiagaraTypeDefinition& InType |
Determine whether or not a Niagara type is supported for an Add Pin possibility. | |
| bool | AllowNiagaraTypeForAddPin
(
const FNiagaraTypeDefinition& InType, |
||
| bool | CanModifyPin
(
const UEdGraphPin* Pin |
Called to determine if this node can modify a given pin at all. | |
| bool | CanMovePin
(
const UEdGraphPin* Pin, |
Called to determine if a pin can be moved by the user. Negative values for up, positive for down. | |
| bool | CanRemovePin
(
const UEdGraphPin* Pin |
Called to determine if a pin can be removed by the user. | |
| bool | CanRenamePin
(
const UEdGraphPin* Pin |
Called to determine if a pin can be renamed by the user. | |
| void | MoveDynamicPin
(
UEdGraphPin* Pin, |
Moves a pin among the pins of the same direction. Negative values for up, positive for down. | |
| void | OnNewTypedPinAdded
(
UEdGraphPin*& NewPin |
Called when a new typed pin is added by the user. | |
| void | OnPinRenamed
(
UEdGraphPin* RenamedPin, |
Called when a pin is renamed. | |
| void | RemoveDynamicPin
(
UEdGraphPin* Pin |
Removes a pin from this node with a transaction. |
Overridden from UNiagaraNode
| Type | Name | Description | |
|---|---|---|---|
| void | BuildParameterMapHistory
(
FNiagaraParameterMapHistoryBuilder& OutHistory, |
Adds the current node information to the parameter map history | |
| bool | CancelEditablePinName
(
const FText& InName, |
Notify the rename was cancelled. | |
| bool | CommitEditablePinName
(
const FText& InName, |
Verify that the potential rename has produced acceptable results for a pin. | |
| void | GatherExternalDependencyData
(
ENiagaraScriptUsage InUsage, |
Go through all the external dependencies of this node in isolation and add them to the reference id list. | |
| bool | IsPinNameEditable
(
const UEdGraphPin* GraphPinObj |
Determine whether or not a pin should be renamable. | |
| bool | IsPinNameEditableUponCreation
(
const UEdGraphPin* GraphPinObj |
Determine whether or not a specific pin should immediately be opened for rename. | |
| bool | VerifyEditablePinName
(
const FText& InName, |
Called in subclasses to restrict renaming. |
Overridden from UEdGraphNode
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< SGraphNode > | Create a visual widget to represent this node in a graph editor or graph panel. | ||
| FLinearColor | Gets the draw color of a node's title bar | ||
| FText | Gets the tooltip to display when over the node | ||
| void | OnRenameNode
(
const FString& NewName |
Called when this node is being renamed after a successful name validation |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |