Share via


IVisualGestureBuilderFrameSource::get_KinectSensor Method

Gets the Kinect sensor associated with the frame source.

Syntax

public:
HRESULT get_KinectSensor(
         IKinectSensor **sensor
)

Parameters

  • sensor
    Type: IKinectSensor
    [out] The Kinect sensor associated with the frame source.

Return value

Type: HRESULT
Returns S_OK if successful; otherwise, returns a failure code.

Requirements

Header: kinect.visualgesturebuilder.h

Library: TBD