Share via


CreateVisualGestureBuilderFrameSource

Initializes a new IVisualGestureBuilderFrameSource.

Syntax

HRESULT CreateVisualGestureBuilderFrameSource(
         IKinectSensor *sensor,
         UINT64 initialTrackingId,
         IVisualGestureBuilderFrameSource **source
)

Parameters

  • sensor
    Type: IKinectSensor
    [in] The Kinect sensor associated with the frame source.
  • initialTrackingId
    Type: UINT64
    [in] The initial tracking ID.
  • source
    Type: IVisualGestureBuilderFrameSource
    [out] The newly created frame source instance.

Return value

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

Requirements

Header: kinect.visualgesturebuilder.h

Library: TBD