unreal.NiagaraSystemConversionContext¶
- class unreal.NiagaraSystemConversionContext(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ObjectWrapper 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:
- 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:
- Return type:
- 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.