question

Aloento avatar image
0 Votes"
Aloento asked RobCaplan edited

[UWP] [XNA] How to make MonoGame's background transparent?

I have a UWP App and I use SwapChainPanel to insert MonoGame. in Render():

_game.GraphicsDevice.Clear(Color.Transparent);
But it didn't work.

<Grid Background="White">
<SwapChainPanel x:Name="swapChainPanel">
</SwapChainPanel>
</Grid>
Could you help me to figure out it?

T8ywb.png


MonoPlay.cs


windows-uwp
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Have you tried to set acrylic brush for root Grid, please refer this document .


0 Votes 0 ·

0 Answers