Unity - Does Noesis support something like "Reference Resolution"?
Is there any way to let noesis uses a "reference resolution", instead the native res, like this setting from Unity UI:
1280x720, with "Expand" match mode.
Or some way to emulate the effect. I wonder if ViewBox can achieve that, just don't know how
1280x720, with "Expand" match mode.
Or some way to emulate the effect. I wonder if ViewBox can achieve that, just don't know how
Last edited by horeaper on 09 Dec 2017, 17:16, edited 1 time in total.
Re: Unity - Does Noesis support something like "Reference Resolution"?
Yes, exacty Viewbox is what you need. In this example I am using a virtual resolution of 380x240 that is later scaled b y the viewbox to fill the current given space.
Code: Select all
<Viewbox xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<Canvas Width="380" Height="240">
<TextBlock Canvas.Left="20" Canvas.Top="15">ONE</TextBlock>
<TextBlock Canvas.Left="255" Canvas.Top="35">TWO</TextBlock>
<TextBlock Canvas.Left="300" Canvas.Top="135">THREE</TextBlock>
<TextBlock Canvas.Left="10" Canvas.Top="205">FOUR</TextBlock>
</Canvas>
</Viewbox>
Re: Unity - Does Noesis support something like "Reference Resolution"?
Thanks for the demo! I was able to recreate the "Expand" effect, by binding the ViewBox's content's Width/Height to a value which I update in the SizeChanged event, and it works!
Re: Unity - Does Noesis support something like "Reference Resolution"?
Thanks for the feedback! Marking this as solved.
Who is online
Users browsing this forum: camimamedov and 36 guests