Log in or register to post comments

Pause AR camera in SDK10.0

SDK 10.0
September 9, 2021 - 8:59pm #1

Hi,



I am trying to upgrade my Unity AR project to SDK10.0. I saw that many class are now deprecated. 

I used to use

VuforiaRenderer.Instance.Pause(true);

to pause the camera and view the AR object stably.

Since the method is no longer existed, I wonder if there are any alternative?



Thank you for reading the question, have a nice day.

SDK Version: 

Pause AR camera in SDK10.0

September 13, 2021 - 7:52pm #6

Hi Patrick,



Thank you so much for replying.

I'll also try if capturing the camera last frame works. :)))

Pause AR camera in SDK10.0

September 13, 2021 - 3:35am #5

Hey,

 

I am sorry to report that this feature was removed in the new API...

I'll reach out via email to ask some more questions regarding your use-case. 

 

Kind regards,

Patrick 

Technical Community Manager

Pause AR camera in SDK10.0

September 10, 2021 - 6:49am #4

Hey,

 

I'm sorry for misunderstanding. I re-read your initial post and understand what you mean. 

I also couldn't find it quickly so I will reach out to our R&D and see how this was brought into the new API.

Have a good weekend!

 

Kind regards,

Patrick Scheper

Technical Community Manager

Pause AR camera in SDK10.0

September 10, 2021 - 1:23am #3

Thank you for answering,



I have tried to set VuforiaBehaviour.Instance.enabled to false,

but the result is not what I want. 

I want to "freeze the camera", keeping the camera image in the back frozen.

While setting the VuforiaBehaviour to false will remove the VideoBackground, giving a black screen and the AR object to center. 



Is there any method to do that? Keeping the VideoBackground frozen like the Pause method used to be.

Pause AR camera in SDK10.0

September 10, 2021 - 12:19am #2

Hey there,

 

To pause/resume Vuforia you should set VuforiaBehaviour.Instance.enabled either to true or false.

Let me know if that works! 

 

Kind regards,

Patrick Scheper

Technical Community Manager

 

 

 

Log in or register to post comments