NewProcessedFrameEventArgs.cs 691 B

123456789101112131415161718192021222324
  1. using System;
  2. namespace BBIWARG.Input.InputHandling
  3. {
  4. /// <summary>
  5. /// Encapsulates the arguments for the event of finishing to process a new frame.
  6. /// </summary>
  7. public class NewProcessedFrameEventArgs : EventArgs
  8. {
  9. /// <summary>
  10. /// the data of the processed frame
  11. /// </summary>
  12. public FrameData FrameData { get; private set; }
  13. /// <summary>
  14. /// Creates a new NewProcessedFrameEventArgs with given frame data.
  15. /// </summary>
  16. /// <param name="frameData">frame data</param>
  17. public NewProcessedFrameEventArgs(FrameData frameData)
  18. {
  19. FrameData = frameData;
  20. }
  21. }
  22. }