Share via


DepthImageStream.Enable Method (DepthImageFormat)

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Enables the depth stream using the specified format.

Syntax

public void Enable (
         DepthImageFormat format
)
'Declaration
Public Sub Enable ( _
         format As DepthImageFormat _
)

Parameters

  • format
    Type: DepthImageFormat
    Specified data format, frame rate, and resolution.

Remarks

Use DepthImageStream.Enable to stream out depth data in the default format, which is DepthImageFormat.Resolution640x480Fps30.

For an example, see Enable Data Streaming.

Requirements

Namespace: Microsoft.Kinect

Assembly: Microsoft.Kinect (in microsoft.kinect.dll)

See Also

Reference

DepthImageStream Class
DepthImageStream Members
Microsoft.Kinect Namespace