UnrealScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a blue part in unreal"
// Create a material UMaterial* BlueMaterial = LoadObject<UMaterial>(NULL, TEXT("/Game/Materials/BlueMaterial.BlueMaterial")); // Set the material on the part StaticMeshComponent->SetMaterial(0, BlueMaterial);