Navigation
API > API/Plugins > API/Plugins/VariantManagerContent
| Name | UPropertyValueMaterial |
| Type | class |
| Header File | /Engine/Plugins/Enterprise/VariantManagerContent/Source/VariantManagerContent/Public/PropertyValueMaterial.h |
| Include Path | #include "PropertyValueMaterial.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType)
class UPropertyValueMaterial : public UPropertyValue
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPropertyValue → UPropertyValueMaterial
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPropertyValueMaterial
(
const FObjectInitializer& ObjectInitializer |
PropertyValueMaterial.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| OverrideMaterialsProperty | FProperty * | PropertyValueMaterial.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialInterface * GetMaterial() |
PropertyValueMaterial.h | ||
void SetMaterial
(
UMaterialInterface* Mat |
PropertyValueMaterial.h |
Overridden from UPropertyValue
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ApplyDataToResolvedObject() |
Applies our recorded data to the PropertyValuePtr for the resolved object. | PropertyValueMaterial.h | |
virtual bool ContainsProperty
(
const FProperty* Prop |
PropertyValueMaterial.h | ||
virtual TArray< uint8 > GetDataFromResolvedObject() |
Fetches the value bytes for this property from the resolved object. | PropertyValueMaterial.h | |
virtual const TArray< uint8 > & GetDefaultValue() |
PropertyValueMaterial.h | ||
virtual UClass * GetObjectPropertyObjectClass() |
PropertyValueMaterial.h | ||
virtual FFieldClass * GetPropertyClass() |
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 | PropertyValueMaterial.h | |
virtual UStruct * GetPropertyParentContainerClass() |
PropertyValueMaterial.h | ||
virtual int32 GetValueSizeInBytes() |
PropertyValueMaterial.h | ||
| Our leaf property will always be OverrideMaterials/OverrideMaterials[0] just for the type/size/class information. | PropertyValueMaterial.h |