Navigation
API > API/Plugins > API/Plugins/NiagaraEditor
Description
Gets an emitter handle from a system and an owned emitter. This handle will become invalid if emitters are added or removed from the system, so in general this value should not be cached across frames.
| Name | FNiagaraEditorUtilities::GetEmitterHandleForEmitter |
| Type | function |
| Header File | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/NiagaraEditorUtilities.h |
| Include Path | #include "NiagaraEditorUtilities.h" |
| Source | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Private/NiagaraEditorUtilities.cpp |
namespace FNiagaraEditorUtilities
{
const FNiagaraEmitterHandle * FNiagaraEditorUtilities::GetEmitterHandleForEmitter
(
UNiagaraSystem & System,
const FVersionedNiagaraEmitter & Emitter
)
}
The emitter handle for the supplied emitter, or nullptr if the emitter isn't owned by this system.
Parameters
| Name | Remarks |
|---|---|
| System | The source system which owns the emitter handles. |
| The | emitter to search for in the system. |