using System; namespace BBIWARG.Input.InputProviding { /// /// Encapsulates the arguments of the event that a new frame is available. /// public class NewFrameEventArgs : EventArgs { /// /// the id of the frame /// public int FrameID { get; private set; } /// /// the height of all images in the frame /// public int Height { get; private set; } /// /// pointer to the raw confidence data for the frame /// public IntPtr RawConfidenceData { get; private set; } /// /// pointer to the raw depth data for the frame /// public IntPtr RawDepthData { get; private set; } /// /// the with of all images in the frame /// public int Width { get; private set; } /// /// Constructs a NewFrameEventArgs. /// /// frame id /// width of all images /// height of all images /// pointer to raw depth data /// pointer to raw confidence data public NewFrameEventArgs(int frameID, int width, int height, IntPtr rawDepthData, IntPtr rawConfidenceData) { FrameID = frameID; Width = width; Height = height; RawDepthData = rawDepthData; RawConfidenceData = rawConfidenceData; } } }