Navigation
API > API/Editor > API/Editor/StructUtilsEditor
Filter used by the instanced struct struct picker.
| Name | FInstancedStructFilter |
| Type | class |
| Header File | /Engine/Source/Editor/StructUtilsEditor/Public/SInstancedStructPicker.h |
| Include Path | #include "SInstancedStructPicker.h" |
Syntax
class FInstancedStructFilter : public IStructViewerFilter
Implements Interfaces
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AllowedStructs | TArray< TSoftObjectPtr< const UScriptStruct > > | The array of allowed structs | SInstancedStructPicker.h | |
| AssetReferenceFilter | TSharedPtr< IAssetReferenceFilter > | Optional filter to prevent selection of some structs e.g. ones in a plugin that is inaccessible from the object being edited. | SInstancedStructPicker.h | |
| bAllowBaseStruct | bool | A flag controlling whether we allow to select the BaseStruct. | SInstancedStructPicker.h | |
| bAllowUserDefinedStructs | bool | A flag controlling whether we allow UserDefinedStructs. | SInstancedStructPicker.h | |
| BaseStruct | TWeakObjectPtr< const UScriptStruct > | The base struct for the property that classes must be a child-of. | SInstancedStructPicker.h | |
| DisallowedStructs | TArray< TSoftObjectPtr< const UScriptStruct > > | The array of disallowed structs | SInstancedStructPicker.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool IsStructAllowed
(
const FStructViewerInitializationOptions& InInitOptions, |
SInstancedStructPicker.h | ||
virtual bool IsUnloadedStructAllowed
(
const FStructViewerInitializationOptions& InInitOptions, |
SInstancedStructPicker.h |