Navigation
API > API/Plugins > API/Plugins/ToolsetRegistry > API/Plugins/ToolsetRegistry/UToolsetLibrary
Description
Returns the properties of a struct as JSON Schema. By default only returns user-visible (Blueprint-accessible) properties.
WARNING: bUserVisiblePropertiesOnly=false bypasses all visibility filtering and returns every non-deprecated property on the struct. Only use this when you know that all struct properties should be exposed. For example, DataTable row structs where every field is a data column regardless of its Blueprint visibility flags.
| Name | ListStructProperties |
| Type | function |
| Header File | /Engine/Plugins/Experimental/ToolsetRegistry/Source/ToolsetRegistry/Public/ToolsetRegistry/ToolsetLibrary.h |
| Include Path | #include "ToolsetRegistry/ToolsetLibrary.h" |
| Source | /Engine/Plugins/Experimental/ToolsetRegistry/Source/ToolsetRegistry/Private/ToolsetRegistry/ToolsetLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Toolset Library")
static FString ListStructProperties
(
const UStruct * Struct,
bool bUserVisiblePropertiesOnly
)
A JSON Schema formatted string that describes the properties.
Parameters
| Name | Remarks |
|---|---|
| Struct | The struct to extract properties from. |
| bUserVisiblePropertiesOnly | When true (default), only Blueprint-accessible properties are included. When false, all non-deprecated properties are returned. |