InputFrame.cs 770 B

12345678910111213141516171819202122232425
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace bbiwarg.InputProviders
  7. {
  8. class InputFrame
  9. {
  10. public int FrameNumber { get; private set; }
  11. public int Width { get; private set; }
  12. public int Height { get; private set; }
  13. public IntPtr RawDepthData { get; private set; }
  14. public IntPtr RawConfidenceData { get; private set; }
  15. public InputFrame(int frameNumber, int width, int height, IntPtr rawDepthData, IntPtr rawConfidenceData) {
  16. FrameNumber = frameNumber;
  17. Width = width;
  18. Height = height;
  19. RawDepthData = rawDepthData;
  20. RawConfidenceData = rawConfidenceData;
  21. }
  22. }
  23. }