ご返答ありがとうございました
UE4Editorでご紹介いただいた if文にかかわる変数の変更タイミングを調べまして、
UMGのエディター中で、上記if文内の描画を有効化する処理を書くことができました。
具体的には以下のような実装を行っています。
void URetainerBox::SynchronizeProperties()
{
Super::SynchronizeProperties();
MyRetainerWidget->SetEffectMaterial(EffectMaterial);
MyRetainerWidget->SetTextureParameter(TextureParameter);
MyRetainerWidget->SetWorld(GetWorld());
// @third party code - BEGIN
// to preview "effect material" in Widget Blueprint Designer
if (IsDesignTime()) // It means editor only proc
{
if (EffectMaterial)
{
MyRetainerWidget->SetRetainedRendering(true);
}
else
{
MyRetainerWidget->SetRetainedRendering(false);
}
}
// @third party code - END
}
差支えなければ、
公式なエンジンのバージョンへの適応をご検討いただけないでしょうか