[TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [FNiagaraScratchPadScriptViewModel](API\Plugins\NiagaraEditor\ViewModels\FNiagaraScratchPadScriptViewMode-) > CreateNewScript ( [ENiagaraScriptUsage](API\Plugins\Niagara\ENiagaraScriptUsage) InScriptUsage, [ENiagaraScriptUsage](API\Plugins\Niagara\ENiagaraScriptUsage) InTargetSupportedUsage, [FNiagaraTypeDefinition](API\Plugins\Niagara\FNiagaraTypeDefinition) InOutputType )