IAudioBeamList::OpenAudioBeam Method
Returns the audio beam by index in the collection.
Syntax
public:
HRESULT OpenAudioBeam(
UINT32 index,
IAudioBeam **audioBeam
)
Parameters
- index
Type: UINT32
The index of the desired audio beam - audioBeam
Type: IAudioBeam
[out] The audio beam.
Return value
Type: HRESULT
Returns S_OK if successful; otherwise, returns a failure code.
Requirements
Header: kinect.h
Library: kinect20.lib