UPropertyValueMaterial::Resolve

Our leaf property will always be OverrideMaterials/OverrideMaterials[0] just for the type/size/class information.

Windows
MacOS
Linux

Override Hierarchy

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

Syntax

virtual bool Resolve
(
    UObject * OnObject
)

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss