/Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraSystemInstance.h
Only call from within the script execution states. Value is nullptr if not capturing a frame.
[TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< struct [FNiagaraScriptDebuggerInfo](API\Plugins\Niagara\FNiagaraScriptDebuggerInfo), ESPMode::ThreadSafe > GetActiveCaptureWrite ( const [FName](API\Runtime\Core\UObject\FName) & InHandleName, [ENiagaraScriptUsage](API\Plugins\Niagara\ENiagaraScriptUsage) InUsage, const [FGuid](API\Runtime\Core\Misc\FGuid) & InUsageId )