Exemplo n.º 1
0
 /// <summary>
 /// Copy constructor used to convert an HmdDesc64 to an HmdDesc.
 /// </summary>
 /// <param name="source">HmdDesc64 to copy from.</param>
 public HmdDesc(HmdDesc64 source)
 {
     Type                  = source.Type;
     ProductNameBytes      = source.ProductNameBytes;
     ManufacturerBytes     = source.ManufacturerBytes;
     VendorId              = source.VendorId;
     ProductId             = source.ProductId;
     SerialNumber          = source.SerialNumber;
     FirmwareMajor         = source.FirmwareMajor;
     FirmwareMinor         = source.FirmwareMinor;
     AvailableHmdCaps      = source.AvailableHmdCaps;
     DefaultHmdCaps        = source.DefaultHmdCaps;
     AvailableTrackingCaps = source.AvailableTrackingCaps;
     DefaultTrackingCaps   = source.DefaultTrackingCaps;
     DefaultEyeFov         = source.DefaultEyeFov;
     MaxEyeFov             = source.MaxEyeFov;
     Resolution            = source.Resolution;
     DisplayRefreshRate    = source.DisplayRefreshRate;
 }
Exemplo n.º 2
0
 internal static extern void ovr_GetHmdDesc64(out HmdDesc64 result, IntPtr sessionPtr);