google-ar / arcore-android-sdk

ARCore SDK for Android Studio
https://developers.google.com/ar
Other
4.97k stars 1.22k forks source link

Set Default Configuration #558

Closed cvasquez-github closed 6 years ago

cvasquez-github commented 6 years ago

Is there a way to set the default/global configuration, I mean the default setting, not per session? Like being able to change the default FocusMode from Fixed to Auto? Thanks

inio commented 6 years ago

Nope, and we don't really see a value in this setup. Is the a particular use case you're thinking of?

cvasquez-github commented 6 years ago

That would be very useful specially when using a third party library/sdk that uses ARcore technology without exposing its settings. For instance, Vuforia SDK, that supports ARcore for improved surface detection but does not provide access to ARcore settings like FocusMode, so it is Fixed by default, preventing a proper tracking of objects and patterns. Having a direct way to access the default/global configuration would fix that problem.

inio commented 6 years ago

Please file a request with that library to either expose the setting or expose the Session object so that you can change the configuration..