Navigation
Unreal Engine C++ API Reference > Plugins > VariantManagerContent
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPropertyValue
- UPropertyValueColor
- UPropertyValueMaterial
- UPropertyValueOption
- UPropertyValueSoftObject
- UPropertyValueTransform
- UPropertyValueVisibility
References
Module | VariantManagerContent |
Header | /Engine/Plugins/Enterprise/VariantManagerContent/Source/VariantManagerContent/Public/PropertyValue.h |
Include | #include "PropertyValue.h" |
Syntax
UCLASS&40;BlueprintType&41;
class UPropertyValue : public UObject
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | bHasRecordedData | |
![]() ![]() |
TArray< FCapturedPropSegment > | CapturedPropSegments | |
![]() |
TArray< uint8 > | DefaultValue | |
![]() ![]() |
uint32 | DisplayOrder | |
![]() ![]() |
FString | FullDisplayString | |
![]() |
FProperty * | LeafProperty | Temp data cached from last resolve. |
![]() |
FFieldClass * | LeafPropertyClass | |
![]() |
FOnPropertyApplied | OnPropertyApplied | |
![]() |
FOnPropertyRecorded | OnPropertyRecorded | |
![]() |
void * | ParentContainerAddress | |
![]() |
UStruct * | ParentContainerClass | |
![]() |
UObject * | ParentContainerObject | |
![]() ![]() |
EPropertyValueCategory | PropCategory | |
![]() |
UFunction * | PropertySetter | |
![]() ![]() |
FName | PropertySetterName | |
![]() ![]() |
TMap< FString, FString > | PropertySetterParameterDefaults | |
![]() |
uint8 * | PropertyValuePtr | |
![]() |
FName | TempName | |
![]() |
TSoftObjectPtr< UObject > | TempObjPtr | |
![]() |
FString | TempStr | |
![]() |
FText | TempText | |
![]() ![]() |
TArray< uint8 > | ValueBytes |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UPropertyValue
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Applies our recorded data to the PropertyValuePtr for the resolved object. | |
![]() ![]() |
void | ApplyViaFunctionSetter
(
UObject* TargetObject |
Applies the recorded data to the TargetObject via the PropertySetter function (e.g. SetIntensity instead of setting the Intensity UPROPERTY directly) |
![]() |
void | ||
![]() |
void | Tries to resolve the property value on the passed object, or the parent binding's bound object if the argument is nullptr. | |
![]() ![]() ![]() |
bool | ContainsProperty
(
const FProperty* Prop |
|
![]() ![]() |
const TArray< FCapturedPropSegment > & | Returns an array of link segments that together describe the full property path. | |
![]() ![]() ![]() |
TArray< uint8 > | Fetches the value bytes for this property from the resolved object. | |
![]() ![]() |
const TArray< uint8 > & | ||
![]() ![]() |
uint32 | Get the order with which the VariantManager should display this in a property list. | |
![]() |
FString | ||
![]() ![]() |
UEnum * | ||
![]() ![]() ![]() ![]() |
const FString & | ||
![]() ![]() |
FString | ||
![]() ![]() |
const FName & | Utility functions for string properties. | |
![]() ![]() ![]() |
UClass * | ||
![]() |
FOnPropertyApplied & | ||
![]() |
FOnPropertyRecorded & | ||
![]() ![]() |
UVariantObjectBinding * | GetParent () |
|
![]() ![]() |
EPropertyValueCategory | ||
![]() ![]() |
FProperty * | GetProperty () |
|
![]() ![]() ![]() |
FFieldClass * | 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 | |
![]() ![]() |
FName | ||
![]() ![]() |
int32 | ||
![]() ![]() |
void * | ||
![]() ![]() ![]() |
UStruct * | ||
![]() |
uint32 | Combined hash of this property and its indices We don't use GetTypeHash for this because almost always we want to hash UPropertyValues by the pointer instead, for complete uniqueness even with the same propertypath This is mostly just used for grouping UPropertyValues together for editing multiple at once | |
![]() ![]() ![]() ![]() |
FText | ||
![]() |
const TArray< uint8 > & | ||
![]() |
int32 | Used RecordedData as an enum value and gets the corresponding index for our Enum. | |
![]() ![]() |
const FString & | ||
![]() ![]() ![]() |
UScriptStruct * | ||
![]() ![]() |
const FText & | ||
![]() |
TArray< FName > | Utility functions for UEnumProperties. | |
![]() ![]() ![]() |
int32 | ||
![]() ![]() ![]() ![]() |
bool | ||
![]() ![]() |
bool | Tries to resolve the property value on the passed object, or the parent binding's bound object if the argument is nullptr. | |
![]() |
void | Init
(
const TArray< FCapturedPropSegment >& InCapturedPropSegments, |
|
![]() |
bool | ||
![]() |
bool | ||
![]() |
bool | ||
![]() ![]() |
bool | Returns true if our recorded data would remain the same if we called RecordDataFromResolvedObject right now | |
![]() |
void | OnPIEEnded
(
const bool bIsSimulatingInEditor |
|
![]() ![]() |
void | Uses GetDataFromResolvedObject to update our recorded data. | |
![]() ![]() |
bool | Tries to resolve the property value on the passed object, or the parent binding's bound object if the argument is nullptr. | |
![]() |
bool | ResolvePropertiesRecursive
(
UStruct* ContainerClass, |
|
![]() |
bool | ResolveUSCSNodeRecursive
(
const USCS_Node* Node, |
Recursively navigate the component/USCS_Node hierarchy trying to resolve our property path. |
![]() |
void | Makes sure RecordedData data is a valid Enum index for our Enum (_MAX is not allowed) | |
![]() |
void | SetDisplayOrder
(
uint32 InDisplayOrder |
Set the order with which the VariantManager should display this in a property list. |
![]() ![]() |
void | SetRecordedData
(
const uint8* NewDataBytes, |
|
![]() |
void | SetRecordedDataFromEnumIndex
(
int32 Index |
Sets our RecordedData with the value that matches Index, for our Enum. |
![]() |
void | SetRecordedDataInternal
(
const uint8* NewDataBytes, |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | BeginDestroy () |
Called before destroying the object. |
![]() ![]() |
void | Handles reading, writing, and reference collecting using FArchive. |
Deprecated Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
TObjectPtr< UClass > | LeafPropertyClass_DEPRECATED | We use these mainly to know how to serialize/deserialize the values of properties that need special care (e.g. UObjectProperties, name properties, text properties, etc) |
![]() ![]() |
TArray< TFieldPath< FProperty > > | Properties_DEPRECATED | Properties were previously stored like this. |
![]() ![]() |
TArray< int32 > | PropertyIndices_DEPRECATED |