Get and set game user settings (resolution scale) with slider
Hello I use a slider to change resolution scale. Problem is I don't know why get I other value when I load the getresolutionscaleinformation. Probably with save procedure are fail or loading procedure but if I want save between 10 and 40 then I get value 41. If I save between value 41 and 100 then I get correct value when I load in.
Slider change value(when I change value then save in float variable):
Finally when click to Save button then save in game user settings:
What is the problem? I found this tutorial https://docs.unrealengine.com/latest/INT/Engine/Performance/Scalability/ScalabilityReference/index.html#resolutionscale and it says resolution scale are between 10-100. I don't understand why the value on 41.148 and/or 42(if I use round) when I want load resolution scale value.
You may want to set your Min Scale Value. I believe this clamps at 40 by default, hence why you are always at 41. That's likely because of the rounding (40.4 = 41) and the Min setting getting in your way.
answered Jun 29 '17 at 05:08 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here