Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How can I change graphics settings via code/bp?

Hello, How can I change the graphics settings (fullscreen, res, v-sync, etc.) in code/BP. Because I want to make an Setting screen ingame for users to change values.

Kind Regards


Product Version: Not Selected
more ▼

asked May 26 '14 at 07:41 PM in C++ Programming

avatar image

110 15 18 27

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

There is a SetScreenResolution function in UGameUserSettings for this. You can call ApplySettings to apply this. The ShooterGame sample is a good example of its usage.

more ▼

answered May 27 '14 at 10:59 AM

avatar image DJ_Lectr0 May 27 '14 at 12:57 PM

And how can I change v-sync, texture detail, etc.?

avatar image Homer Ramone STAFF May 27 '14 at 01:29 PM

The GameUserSettings class contains ScalabilityQuality which is of type Scalability::FQualityLevels. This has settings for ResolutionQuality,ViewDistanceQuality and so forth. You can also call SetFromSingleQualityLevel on this which takes an int where: 0:low, 1:medium, 2:high, 3:epic

The GameUserSettings class also contains a bool: bUseVSync

avatar image Sargas Evigmae Mar 07 '16 at 01:51 PM

How can you access this in blueprints? I would like to set graphics in game using low, mid, high and epic.

avatar image Homer Ramone STAFF Mar 09 '16 at 02:38 PM

You should be able to call SetOverallScalabilityLevel in GameUserSettings

avatar image The Yojimbo Jan 25 '17 at 03:28 PM

Hello, I've tried changing SetOverallScalabilityLevel on button click in a widget, but I don't see any changes (neither graphic nor in FPS). Is there a config file I should setup ? Thank you very much for your time.

avatar image JSaueressig Jun 14 '17 at 10:49 PM

In case anyone else comes across this post like I did, after calling SetOverallScalabilityLevel, you'll need to then call ApplySettings. :)

avatar image DJ_Lectr0 May 27 '14 at 02:15 PM

Ok thank you

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question