More work on material instances

This commit is contained in:
2026-04-07 05:06:15 -04:00
parent e7fd6c2f70
commit b8cff00848
7 changed files with 445 additions and 371 deletions

View File

@@ -5,7 +5,7 @@
#include "WingFetcher.h"
#include "WingServer.h"
#include "WingUtils.h"
#include "WingMaterialParameter.h"
#include "WingParameterEditor.h"
#include "MaterialTypes.h"
#include "Material_DumpParameters.generated.h"
@@ -34,8 +34,8 @@ public:
UMaterial* Mat = F.Asset(Material).Cast<UMaterial>();
if (!Mat) return;
auto AllParams = WingMaterialParameter::GetMaterialParameters(Mat);
WingMaterialParameter::PrintAll(AllParams, false);
auto AllParams = FWingParameterEditor::GetMaterialParameters(Mat);
FWingParameterEditor::PrintAll(AllParams, false);
if (AllParams.IsEmpty()) WingOut::Stdout.Printf(TEXT("No material parameters.\n"));
}
};