Share via


BackgroundRemovedColorStream.OpenNextFrame Method

Kinect for Windows 1.8

Opens the next frame of data in this BackgroundRemovedColorStream.

Syntax

public BackgroundRemovedColorFrame OpenNextFrame (
         int millisecondsWait
)

Parameters

  • millisecondsWait
    Type: Int32
    The amount of time to wait (in milliseconds) before returning from this method without a new frame.

Return Value

Type: BackgroundRemovedColorFrame
Returns the next frame in this BackgroundRemovedColorStream. Returns null if the wait time specified by the millisecondsWait parameter has elapsed, or if the stream is disabled.

Requirements

Namespace: Microsoft.Kinect.Toolkit.BackgroundRemoval

Assembly: Microsoft.Kinect.Toolkit.BackgroundRemoval (in microsoft.kinect.toolkit.backgroundremoval.dll)

See Also

Reference

BackgroundRemovedColorStream Class
BackgroundRemovedColorStream Members
Microsoft.Kinect.Toolkit.BackgroundRemoval Namespace