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

add_template_emitter(new_emitter_name_string, template) NiagaraEmitterConversionContext

Add an emitter based on the specified template to the system and return an emitter conversion context.

Parameters:
  • new_emitter_name_string (str)

  • template (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.

set_warmup_tick_delta(warmup_tick_delta) None

Set Warmup Tick Delta

Parameters:

warmup_tick_delta (float)

set_warmup_time(warmup_time) None

Set Warmup Time

Parameters:

warmup_time (float)