Start a new topic

camera switch in Android using unity

Hello,


 I am new with Wikitude but I have worked with Unity. For the project I need to access the front camera for my application. The WikitudeCamera script is no accessible as in its inside the dll file. How can I switch to front camera using C#?


Thanks in advance.


Regrads

Kumar

1 Comment

Hi, 


You can switch the camera position using the DevicePosition property on the WikitudeCamera.

Here are some additional documentation links:

http://www.wikitude.com/external/doc/documentation/latest/unity/cameracontrolunity.html#script-only-settings

http://www.wikitude.com/external/doc/documentation/latest/Reference/Unity%20API/class_wikitude_1_1_wikitude_camera.html


Additionally, you can check the "Camera Controls - Camera Settings" scene for an example of how to use the Camera APIs.


Best regards,

Alexandru

Login or Signup to post a comment