// Use this for initialization void Start() { ovrObj = GameObject.Find("OvrvisionProCamera").GetComponent <Ovrvision>(); mUsedDeviceName = _DeviceName; mVideoInput = UnityCallFactory.Instance.VideoInput; mVideoInput.AddDevice(mUsedDeviceName, _Width, _Height, _Fps); }
public void Register() { if (ready) { return; } Texture frame = Frame.CameraImage.Texture; videoInput = UnityCallFactory.Instance.VideoInput; if (videoInput != null && frame != null) { videoInput.AddDevice(usedDeviceName, frame.width, frame.height, _Fps); } }
// Use this for initialization void Start() { mVideoInput = UnityCallFactory.Instance.VideoInput; mVideoInput.AddDevice(mUsedDeviceName, _Width, _Height, _Fps); }