Navigation
API > API/Plugins > API/Plugins/VariantManagerContent > API/Plugins/VariantManagerContent/UPropertyValueMaterial
- UPropertyValue::Resolve()
- UPropertyValueMaterial::Resolve()
References
| Module | VariantManagerContent |
| Header | /Engine/Plugins/Enterprise/VariantManagerContent/Source/VariantManagerContent/Public/PropertyValueMaterial.h |
| Include | #include "PropertyValueMaterial.h" |
| Source | /Engine/Plugins/Enterprise/VariantManagerContent/Source/VariantManagerContent/Private/PropertyValueMaterial.cpp |
virtual bool Resolve
&40;
UObject &42; OnObject
&41;
Remarks
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