UNiagaraEditorSettings::SetOnIsClassVisible

Sets a delegate that allows external code to restrict which features can be used within the niagara editor by filtering which classes are visible in various menus.