Vuzix VR920 with Directx

Hello,
I’m trying to integrage Vuzix VR920 on Unity 3D. I’ve got communication between the glasses and Unity but my problem is that I don’t know how to send the screen from my Main Camera to the glasses. I’m using the Vuzix SDK and It does not provide any present function.
So I’ve tried with Microsoft.DirectX.dll and Microsoft.DirectX.Direct3D.dll using Device.Present function but before of that, when I create a device:

private Device device = null;

  • PresentParameters presentParams = new PresentParameters();*

  • presentParams.Windowed=true;*

  • presentParams.SwapEffect = SwapEffect.Discard;*

  • device=new Device(0,Microsoft.DirectX.Direct3D.DeviceType.Hardware,stereoHandle,Microsoft.DirectX.Direct3D.CreateFlags.SoftwareVertexProcessing,presentParams);*

(where stereoHandle it’s the handle of my glasses)

I have the next error:

MissingMethodException: Method contains unsupported native code
Microsoft.DirectX.Direct3D.Manager…cctor ()
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for Microsoft.DirectX.Direct3D.Manager
Microsoft.DirectX.Direct3D.Device…ctor (Int32 adapter, DeviceType deviceType, IntPtr renderWindowHandle, CreateFlags behaviorFlags, Microsoft.DirectX.Direct3D.PresentParameters[ ] presentationParameters)
(wrapper remoting-invoke-with-check) Microsoft.DirectX.Direct3D.Device:.ctor (int,Microsoft.DirectX.Direct3D.DeviceType,intptr,Microsoft.DirectX.Direct3D.CreateFlags,Microsoft.DirectX.Direct3D.PresentParameters[ ])
miScriptGafas.initDevice () (at Assets/scripts/miScriptGafas.cs:51)
miScriptGafas.Start () (at Assets/scripts/miScriptGafas.cs:133)

Could anyone help me?
thanks

Hi,

I am also trying to integrate Wrap920 with unity 3D. But so far i have not succeeded, could you please let me know how to proceed for the integration?