private void StartOutput(DeviceMode mode) { if (_outputDecklink != null) { StopOutput(); _outputDecklink.DeviceIndex = _selectedOutputDevice.DeviceIndex; _outputDecklink._modeIndex = mode.Index; _outputDecklink.Begin(); if (_renderCamera != null) { _outputDecklink.SetCamera(_renderCamera); } else { Debug.LogWarning("Warning: Render Camera not assigned"); } _outputDecklink.Begin(); } else { Debug.LogWarning("Warning: Output DeckLink not assigned"); } }
private void StartOutput(DeviceMode mode) { StopOutput(); _decklink._modeIndex = mode.Index; _decklink.Begin(); _decklink.SetCamera(Camera.main); _activeMode = mode; }
private void StartOutput(DeviceMode mode) { StopOutput(); _decklink._modeIndex = mode.Index; _decklink.Begin(); }