Manual Focus in Cameraview #2263
fbeerens
started this conversation in
New Feature Discussions
Replies: 1 comment
-
Hey, joining the convo to hopefully give it a lil more attention. Our application would really benefit from the CameraView component having a way to programmatically set its focus. A new enum FocusMode
{
Auto,
Manual
} Along with a new command on the CameraView itself var cam = new CameraView();
cam.ManualFocus(relativeX: 0d, relativeY: 0d);
// relativeXY could be values from 0 - 1
// 0,0 would probably be the topleft corner and
// 1,1 would be the bottomright corner If possible (I'm unsure whether the mobile platforms actually support this), it would be cool to also have info about the focus, like cam.IsManuallyFocused <bool>
cam.OnManualFocusCompleted <event> This obviously clashes with the native Focus API derived from VisualElement.cs, but the naming could be worked around... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi when using my camera on a Samsung Galaxy Tab A8, i can focus the camera by tapping the screen. I get a circle where to focus the camera. As soons as i use the camera view in my own made android application the this option is gone.
Can i activate that somehow or has anybode an idea how to do manual focus with the cameraview ?
Beta Was this translation helpful? Give feedback.
All reactions