UPropertyValueSoftObject::GetPropertyClass

Returns the type of [FProperty](API\Runtime\CoreUObject\UObject\FProperty) ([FObjectProperty](API\Runtime\CoreUObject\UObject\FObjectProperty), [FFloatProperty](API\Runtime\CoreUObject\UObject\FFloatProperty), etc) If checking for Enums, prefer checking if [GetEnumPropertyEnum()](API\Plugins\VariantManagerContent\UPropertyValue\GetEnumPropertyEnum) != nullptr, as it may be that we received a [FNumericProperty](API\Runtime\CoreUObject\UObject\FNumericProperty) that actually represents an enum, which wouldn't be reflected here

Windows
MacOS
Linux

Override Hierarchy

UPropertyValue::GetPropertyClass()

UPropertyValueSoftObject::GetPropertyClass()

References

Module

VariantManagerContent

Header

/Engine/Plugins/Enterprise/VariantManagerContent/Source/VariantManagerContent/Public/PropertyValueSoftObject.h

Include

#include "PropertyValueSoftObject.h"

Source

/Engine/Plugins/Enterprise/VariantManagerContent/Source/VariantManagerContent/Private/PropertyValueSoftObject.cpp

Syntax

virtual FFieldClass * GetPropertyClass() const

Remarks

Returns the type of FProperty (FObjectProperty, FFloatProperty, etc) If checking for Enums, prefer checking if GetEnumPropertyEnum() != nullptr, as it may be that we received a FNumericProperty that actually represents an enum, which wouldn't be reflected here

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss