Method | Description | |
---|---|---|
Start ( RuntimeOptions options, int kinectIndex ) : |
Starts the Kinect with the specified options.
|
|
StartDepthFrames ( ImageResolution resolution, bool includePlayerIndex = false, int numBuffers = 2 ) : void |
Starts acquisition of depth frames.
|
|
StartVideoFrames ( ImageResolution resolution, ImageType type = ImageType.Color, int numBuffers = 2 ) : void |
Starts acquisition of video frames.
|
Method | Description | |
---|---|---|
KinectSensor ( int index, RuntimeOptions options ) : System |
Initializes a new instance of the KinectSensor class and initializes the attached Kinect device.
|
Method | Description | |
---|---|---|
AddRuntimeOptions ( |
||
ObjectInvariant ( ) : void |
protected KinectSensor ( int index, RuntimeOptions options ) : System | ||
index | int | The index of the sensor to attach to. |
options | RuntimeOptions | The options to apply to the sensor to start with. |
return | System |
public static Start ( RuntimeOptions options, int kinectIndex ) : |
||
options | RuntimeOptions | The options to run the Kinect with as a set of flags. |
kinectIndex | int | Index of the Kinect device you want to start, unless you have multiple Kinects attached you want to use the default value of 0. |
return |
public StartDepthFrames ( ImageResolution resolution, bool includePlayerIndex = false, int numBuffers = 2 ) : void | ||
resolution | ImageResolution | The resolution to use for the depth camera. |
includePlayerIndex | bool | If set to |
numBuffers | int | The number of image buffers to use. A larger number results in smoother playback but more latency as well. Default is 2. |
return | void |
public StartVideoFrames ( ImageResolution resolution, ImageType type = ImageType.Color, int numBuffers = 2 ) : void | ||
resolution | ImageResolution | The resolution to use for the video camera. |
type | ImageType | The type of image to acquire between RGB and YAV. |
numBuffers | int | The number of image buffers to use. A larger number results in smoother playback but more latency as well. Default is 2. |
return | void |