Change Viewmode using Console Comand/ Changing Viewmode In Game

Hello Everyone,

i was wondering if it is possibile to change the Viewmode with a console command so that i could use it in the Game when it is compiled.

Everytime i change the viewmode with the [F1 F2 F3] Key, The output log Says:

Set new viewmode: Wireframe

, but when i try to do the console command

Set new viewmode: Wireframe

, i get the Error:

Set commands not allowed in the editor

new viewmode: Wireframe


viewmode: Wireframe

don’t work, too. What am i doing wrong?

Thanks in advance :wink: