UnrealScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a blue part"
// Create a material UMaterial* UMyBlueMaterial::CreateMyBlueMaterial() { UMaterial* MyBlueMaterial = NewObject<UMaterial>(this, TEXT("MyBlueMaterial")); MyBlueMaterial->BaseColor = FLinearColor(0.0f, 0.0f, 1.0f, 1.0f); return MyBlueMaterial; }