By Jorgemm7
on Thu, 03/04/2021 - 19:18
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?
Replied here: https:/
Replied here: https://developer.vuforia.com/forum/unity/obtain-unity-camera-image-without-real-world-only-augmentation#comment-72868
Thank you.
Vuforia Engine Support