KinectSensor.OpenMultiSourceFrameReader Method

Creates a frame reader for the multiple frame sources.

public:
MultiSourceFrameReader^ OpenMultiSourceFrameReader(
         FrameSourceTypes enabledFrameSourceTypes
)

Parameters

enabledFrameSourceTypes
Type: FrameSourceTypes
The frame source types.

Return value

Type: MultiSourceFrameReader
A new reader for the multiple frame source.

The enabledFrameSourceTypes can be one or more of the following values:

ValueMeaning
FrameSourceTypes::Color Include Color Frames in this MultiSourceFrameReader.
Dn791370.note(en-us,IEB.10).gifNote
MultiSourceFrameReader will align to the slowest framerate of any subscribed source. In lowlight scenarios, the color stream may drop to 15 FPS. If this happens, and MultiSourceFrameReader is subscribed to color as one of its subscribed sources, the rate of delivered frames will drop to 15 FPS for the entire instance of this MultiSourceFrameReader
FrameSourceTypes::Infrared Include infrared frames in this MultiSourceFrameReader.
FrameSourceTypes::Audio Audio is not supported for MultiSourceFrameReader. Including this source will cause this method to fail.
FrameSourceTypes::LongExposureInfrared Include long exposure infrared frames in this MultiSourceFrameReader.
FrameSourceTypes::Depth Include depth frames in this MultiSourceFrameReader.
FrameSourceTypes::BodyIndex Include body index frames in this MultiSourceFrameReader.
FrameSourceTypes::Body Include body frames in this MultiSourceFrameReader.

Namespace: WindowsPreview.Kinect
Metadata: windowspreview.kinect.winmd

Community Additions

ADD
Show: