| UPropertyValue::Resolve()
|
Module |
|
Header |
/Engine/Plugins/Enterprise/VariantManagerContent/Source/VariantManagerContent/Public/PropertyValueMaterial.h |
Include |
#include "PropertyValueMaterial.h" |
Source |
/Engine/Plugins/Enterprise/VariantManagerContent/Source/VariantManagerContent/Private/PropertyValueMaterial.cpp |
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