ArtofKinect.Common.PointCloudPlayerSource.PointCloudPlayerSource C# (CSharp) Method

PointCloudPlayerSource() public method

public PointCloudPlayerSource ( IMotionFrameSerializer serializer ) : System
serializer IMotionFrameSerializer
return System
        public PointCloudPlayerSource(IMotionFrameSerializer serializer)
        {
            _serializer = serializer;
            _filesToLoad = new List<string>();
            _bufferedFrames = new List<MotionFrame>();

            _loadingQueue = new WorkQueue<string>();
            _loadingQueue.Callback = LoadFrameWorker;

            Unload();

            CreatePlaybackThread();
            _soundPlayer = new SoundPlayer();
        }