UNiagaraEmitterConversionContext

Wrapper for modifying a [UNiagaraEmitter](API\Plugins\Niagara\UNiagaraEmitter) by adding Scripts and Renderers through UNiagaraScriptConversionContexts and [UNiagaraRendererProperties](API\Plugins\Niagara\UNiagaraRendererProperties), respectively.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UNiagaraEmitterConversionContext

References

Module

CascadeToNiagaraConverter

Header

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

Include

#include "NiagaraStackGraphUtilitiesAdapterLibrary.h"

Syntax

UCLASS(BlueprintInternalUseOnly)
class UNiagaraEmitterConversionContext : public UObject

Remarks

Wrapper for modifying a UNiagaraEmitter by adding Scripts and Renderers through UNiagaraScriptConversionContexts and UNiagaraRendererProperties, respectively.

Constructors

Functions

Name Description

Public function UFunction BlueprintCallable, Category

void

 

AddEventHandler

(
    FNiagaraEventHandlerAddAction Event...
)

Public function UFunction BlueprintCallable, Category

void

 

AddModuleEventScript

(
    FString ScriptNameString,
    UNiagaraScriptConversionContext...,
    FNiagaraEventHandlerAddAction Event...
)

Public function UFunction BlueprintCallable, Category

void

 

AddModuleScript

(
    FString ScriptNameString,
    UNiagaraScriptConversionContext...,
    EScriptExecutionCategory ModuleScri...
)

Public function UFunction BlueprintCallable, Category

void

 

AddRenderer

(
    FString RendererNameString,
    UNiagaraRendererProperties* Ne...
)

Add a renderer to this emitter conversion context through renderer properties.

Public function UFunction BlueprintCallable, Category

void

 

Cleanup()

Public function UFunction BlueprintCallable, Category

void

 

Finalize()

Apply all pending UNiagaraScriptConversionContexts and UNiagaraRendererProperties to this UNiagaraEmitterContext by creating clipboard inputs and pasting them onto the emitter conversion context's Emitter.

Public function UFunction BlueprintCallable, Category

UNiagaraScri...

 

FindModuleScript

(
    FString ScriptNameString
)

Public function UFunction BlueprintCallable, Category

UNiagaraScri...

 

FindOrAddModuleEventScript

(
    FString ScriptNameString,
    FAssetData NiagaraScriptAssetData,
    FNiagaraEventHandlerAddAction Event...
)

Find a module script conversion context or add a module script conversion context to this emitter conversion context for an event category.

Public function UFunction BlueprintCallable, Category

UNiagaraScri...

 

FindOrAddModuleScript

(
    FString ScriptNameString,
    FAssetData NiagaraScriptAssetData,
    EScriptExecutionCategory ModuleScri...
)

Find or add a script conversion context to this emitter conversion context.

Public function UFunction BlueprintCallable, Category

UNiagaraRend...

 

FindRenderer

(
    FString RendererNameString
)

Find an added renderer properties by name string.

Public function UFunction BlueprintCallable, Category

TArray< UNia...

 

GetAllRenderers()

Public function UFunction BlueprintCallable, Category

UNiagaraEmit...

 

GetEmitter()

Public function Const

FGuid

 

GetEmitterHandleId()

Public function Const UFunction BlueprintCallable, Category

bool

 

GetEnabled()

Public function

void

 

Init

(
    UNiagaraEmitter* InEmitter,
    const TSharedPtr< FNiagaraEmitterHa...
)

Init the Emitter Conversion Context.

Public function

void

 

InternalFinalizeEvents

Public function

void

 

InternalFinalizeStackEntryAddActions()

Public function UFunction BlueprintCallable, Category

void

 

Log

(
    FString Message,
    ENiagaraMessageSeverity Severity,
    bool bIsVerbose
)

Log a message to the niagara message log for the emitter.

Public function UFunction BlueprintCallable, Category

void

 

RemoveModuleScriptsForAssets

(
    TArray< FAssetData > ScriptsToRemov...
)

Public function UFunction BlueprintCallable, Category

void

 

SetEnabled

(
    bool bInEnabled
)

Public function UFunction BlueprintCallable, Category

void

 

SetParameterDirectly

(
    FString ParameterNameString,
    UNiagaraScriptConversionContextInpu...,
    EScriptExecutionCategory SetParamet...
)

Add a set parameter module to the emitter handled by this emitter conversion context.

Public function UFunction BlueprintCallable, Category

void

 

SetRendererBinding

(
    UNiagaraRendererProperties* In...,
    FName BindingName,
    FName VariableToBindName,
    ENiagaraRendererSourceDataMode Sour...
)