# How to Add Raytracing to In Game Settings Menu

**URL:** <https://forums.unrealengine.com/t/how-to-add-raytracing-to-in-game-settings-menu/2182806>\
**Category:** C++\
**Tags:** Raytracing, unreal-engine, question, CPP\
**Created:** [December 8, 2024, 7:43am UTC](https://forums.unrealengine.com/t/how-to-add-raytracing-to-in-game-settings-menu/2182806 "2024-12-08T07:43:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BlackDoc1999](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BlackDoc1999](https://forums.unrealengine.com/u/BlackDoc1999)\
**Post date:** [December 8, 2024, 7:43am UTC](https://forums.unrealengine.com/t/how-to-add-raytracing-to-in-game-settings-menu/2182806/1 "2024-12-08T07:43:23Z")

</div>

I’ve been trying to figure out for a long while and I haven’t been able to find anything on it in the amount of detail I need.  
I’m trying to create a few different settings that will allow a user to enable or disable Lumen Hardware Raytracing, Raytraced Reflections, and Raytraced global illumination in the games graphics menu.  
I already have a custom GameUserSettings C++ class, and I already have bool variables storing the desired setting for above mentioned settings. I just don’t know how to apply those settings the same way the standard scalability settings are in the base GameUserSettings class.
