UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::PropertyViewer::FFieldExpander_Default Class Reference

#include <IFieldExpander.h>

+ Inheritance diagram for UE::PropertyViewer::FFieldExpander_Default:

Public Types

enum class  EObjectExpandFlag : uint8 { None = 0 , UseInstanceClass = 1 << 1 , RequireValidInstance = 1 << 2 }
 
enum class  EFunctionExpand : uint8 { None = 0 , FunctionProperties , FunctionReturnProperty }
 

Public Member Functions

 FFieldExpander_Default ()=default
 
virtual TOptional< const UClass * > CanExpandObject (const FObjectPropertyBase *Property, const UObject *Instance) const override
 
virtual bool CanExpandScriptStruct (const FStructProperty *) const override
 
virtual TOptional< const UStruct * > GetExpandedFunction (const UFunction *Function) const override
 
void SetExpandObject (EObjectExpandFlag InExpandObject)
 
void SetExpandScriptStruct (bool bInExpandScriptStruct)
 
void SetExpandFunction (bool bInExpandFunction)
 
void SetExpandFunction (EFunctionExpand InExpandFunction)
 
- Public Member Functions inherited from UE::PropertyViewer::IFieldExpander
virtual ~IFieldExpander ()=default
 
virtual bool CanExpandFunction (const UFunction *Function) const
 

Member Enumeration Documentation

◆ EFunctionExpand

Enumerator
None 
FunctionProperties 
FunctionReturnProperty 

◆ EObjectExpandFlag

Enumerator
None 
UseInstanceClass 
RequireValidInstance 

Constructor & Destructor Documentation

◆ FFieldExpander_Default()

UE::PropertyViewer::FFieldExpander_Default::FFieldExpander_Default ( )
default

Member Function Documentation

◆ CanExpandObject()

virtual TOptional< const UClass * > UE::PropertyViewer::FFieldExpander_Default::CanExpandObject ( const FObjectPropertyBase Property,
const UObject Instance 
) const
inlineoverridevirtual
Returns
the class that should be expended for this instance. The instance can be null.

Implements UE::PropertyViewer::IFieldExpander.

◆ CanExpandScriptStruct()

virtual bool UE::PropertyViewer::FFieldExpander_Default::CanExpandScriptStruct ( const FStructProperty StructProperty) const
inlineoverridevirtual
Returns
true if the struct property can be expended.

Implements UE::PropertyViewer::IFieldExpander.

◆ GetExpandedFunction()

virtual TOptional< const UStruct * > UE::PropertyViewer::FFieldExpander_Default::GetExpandedFunction ( const UFunction Function) const
inlineoverridevirtual
Returns
the struct that can be expanded from the function. ie. This can be the function itself (to see the arguments) or a return property.

Implements UE::PropertyViewer::IFieldExpander.

◆ SetExpandFunction() [1/2]

void UE::PropertyViewer::FFieldExpander_Default::SetExpandFunction ( bool  bInExpandFunction)
inline

◆ SetExpandFunction() [2/2]

void UE::PropertyViewer::FFieldExpander_Default::SetExpandFunction ( EFunctionExpand  InExpandFunction)
inline

◆ SetExpandObject()

void UE::PropertyViewer::FFieldExpander_Default::SetExpandObject ( EObjectExpandFlag  InExpandObject)
inline

◆ SetExpandScriptStruct()

void UE::PropertyViewer::FFieldExpander_Default::SetExpandScriptStruct ( bool  bInExpandScriptStruct)
inline

The documentation for this class was generated from the following file: