I want to use button to change orientation on mobile phone in game.

I want to use button to change orientation on mobile phone in game. And I have tried many ways in cpp, such as the FAndroidMisc::SetDeviceOrientation in androidApplication.cpp, but it doesn’t work.

I want to know where I can find the functions which are really work in cpp.

Thanks.

Thank you~

Is there answer about this?