Navigation
API > API/Plugins > API/Plugins/VariantManagerContent > API/Plugins/VariantManagerContent/UPropertyValueMaterial
Description
Our leaf property will always be OverrideMaterials/OverrideMaterials[0] just for the type/size/class information. It will normally fail to resolve if the StaticMeshComponent is just using default materials though, so we have to intercept resolve calls and handle them in a specific way. This will also let us zero out the value ptr and other things that shouldn't be used by themselves
Virtual Inheritance
- UPropertyValue::Resolve → UPropertyValueMaterial::Resolve
| Name | Resolve |
| Type | function |
| Header File | /Engine/Plugins/Enterprise/VariantManagerContent/Source/VariantManagerContent/Public/PropertyValueMaterial.h |
| Include Path | #include "PropertyValueMaterial.h" |
| Source | /Engine/Plugins/Enterprise/VariantManagerContent/Source/VariantManagerContent/Private/PropertyValueMaterial.cpp |
virtual bool Resolve
(
UObject * OnObject
)