引擎透明度开源
void DrawBox(UCanvas* Canvas, FVector2D Pos, FVector2D size, FLinearColor Color) {
Canvas->K2_DrawTexture(BG, Pos, size, {}, {}, Color, EBlendMode::BLEND_Translucent, 0, {});
}
void DrawBox(UCanvas* Canvas, FVector2D Pos, FVector2D size, FLinearColor Color) {
Canvas->K2_DrawTexture(BG, Pos, size, {}, {}, Color, EBlendMode::BLEND_Translucent, 0, {});
}