FClassViewerFilter::IsNodeAllowed

This function checks whether a node passes the filter defined by IsClassAllowed/IsUnloadedClassAllowed.

Unreal Engine C++ API Reference > Editor > ClassViewer > FClassViewerFilter

References

   
Module ClassViewer
Header /Engine/Source/Editor/ClassViewer/Public/ClassViewerFilter.h
Include #include "ClassViewerFilter.h"
Source /Engine/Source/Editor/ClassViewer/Private/ClassViewerFilter.cpp
virtual bool IsNodeAllowed
(
    const [FClassViewerInitializationOptions](API\Editor\ClassViewer\FClassViewerInitializationOption-) & InInitOptions,
    const [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< FClassViewerNode > & Node,
    const bool bCheckTextFilter
)

Remarks

This function checks whether a node passes the filter defined by IsClassAllowed/IsUnloadedClassAllowed.

Parameters

Name Description
InInitOptions The Class Viewer/Picker options.
Node The Node to check.
bCheckTextFilter Whether to check the TextFilter. Disabling it could be useful e.g., to verify that the parent class of a IsNodeAllowed() object is also valid (regardless of the TextFilter, which will likely fail to pass).

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library