unreal.NiagaraSystemConversionContext

class unreal.NiagaraSystemConversionContext(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

Wrapper for modifying a UNiagaraSystem by adding Emitters through UNiagaraEmitterConversionContexts.

C++ Source:

  • Plugin: CascadeToNiagaraConverter

  • Module: CascadeToNiagaraConverter

  • File: NiagaraStackGraphUtilitiesAdapterLibrary.h

add_empty_emitter(new_emitter_name_string) NiagaraEmitterConversionContext

Add an empty emitter to the system and return an emitter conversion context.

Parameters:

new_emitter_name_string (str) –

Return type:

NiagaraEmitterConversionContext

cleanup() None

Cleanup

finalize() None

Apply all pending UNiagaraScriptConversionContexts and UNiagaraRendererProperties to the owned UNiagaraEmitterContexts by creating clipboard inputs and pasting them onto the emitter conversion context’s Emitter. Afterwards compile the system so the changes take effect.