UNiagaraScriptConversionContext

Wrapper for programmatically adding scripts to a [UNiagaraEmitter](API\Plugins\Niagara\UNiagaraEmitter) through a [UNiagaraEmitterConversionContext](API\Plugins\CascadeToNiagaraConverter\UNiagaraEmitterConversionContext).

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UNiagaraScriptConversionContext

References

Module

CascadeToNiagaraConverter

Header

/Engine/Plugins/FX/CascadeToNiagaraConverter/Source/CascadeToNiagaraConverter/Public/NiagaraStackGraphUtilitiesAdapterLibrary.h

Include

#include "NiagaraStackGraphUtilitiesAdapterLibrary.h"

Syntax

UCLASS(BlueprintInternalUseOnly)
class UNiagaraScriptConversionContext : public UObject

Remarks

Wrapper for programmatically adding scripts to a UNiagaraEmitter through a UNiagaraEmitterConversionContext.

Constructors

Functions

Name Description

Public function

const TArray...

 

GetClipboardFunctionInputs()

Public function Const UFunction BlueprintCallable, Category

bool

 

GetModuleEnabled()

Public function

UNiagaraScri...

 

GetScript()

Public function Const

const TArray...

 

GetStackMessages()

Public function

void

 

Init

(
    const FAssetData& InNiagaraScriptA...
)

Init the Niagara Script Conversion Context with the assetdata to a UNiagaraScript.

Public function UFunction BlueprintCallable, Category

void

 

Log

(
    FString Message,
    ENiagaraMessageSeverity Severity,
    bool bIsVerbose
)

Log a message to the stack and the niagara message log for the module associated with this script.

Public function UFunction BlueprintCallable, Category

void

 

SetModuleEnabled

(
    bool bInModuleEnabled
)

Public function UFunction BlueprintCallable, Category

bool

 

SetParameter

(
    FString ParameterName,
    UNiagaraScriptConversionContextInpu...,
    bool bInHasEditCondition,
    bool bInEditConditionValue
)

Set a parameter on the Script this Script Conversion Context holds.