Log in or register to post comments

Enable/Disable VideoBackground at Runtime

March 4, 2021 - 11:18am #1

Hi, I am trying to enable and disable the VideoBackground at runtime with a script. Now I can disable or enable by the checkbox in the Vuforia Configuration called "Enable Video Back Ground".

But the problem is that in runtime I am writing the following code:

            Vuforia.VideoBackgroundManager.Instance.SetVideoBackgroundEnabled(true);

 

And if I print the value before and after by the following code line:

           Debug.Log(Vuforia.VideoBackgroundManager.Instance.VideoBackgroundEnabled);

I can see that the value before executing the line is false and after is true but the camera is already without image.

 

What I need to do? Maybe I have to restart the camera or something like that?

 

 

Enable/Disable VideoBackground at Runtime

March 8, 2021 - 4:16am #2
Log in or register to post comments