EgorBo / ARKitXamarinDemo

ARKit + UrhoSharp + Xamarin
MIT License
45 stars 20 forks source link

Portrait Mode - Feature Request #4

Open sleeplessninja opened 7 years ago

sleeplessninja commented 7 years ago

When configuring Urho application's orientation to Portrait that it will set the appropriate configuration to setup the AR Scene for Portrait mode.

edwardyehuang commented 7 years ago

Hey, you may find the method "UpdateBackground" in "ArkitApp class". Then you can rotate the "CapturedImage" to portrait before it is loaded by textures. Make sure you change the Width and Height of the texture. Also in "AppDelegate", change the landscape to portrait at the bottom.