VideoWrapper

The VideoWrapper plugin consists of three main C# scripts which can be found in the Assets/Plugins directory of the Unity TrackerProject.

  • The VideoWrapperConfigGUI.cs script is added to a main scene to detect and select available cameras.
  • The VideoCamera.cs script uses the configuration line delivered by the config script to startup and grab frames from the desired camera.
  • The VideoPlane.cs script applies the video texture from the video camera script and adjusts the plane size to fill the screen at the back of the camera clipping plane.

On OSX, scenes using a pre-assigned camera config string can be run independently. On WIN32, the loading scene should be run initially, and individual scenes should run without error once the DLLs have been loaded properly.