Language

IDepthFrame::get_RelativeTime Method

Gets the timestamp of the depth frame.

Syntax

public:
HRESULT get_RelativeTime(
         TIMESPAN *relativeTime
)

Parameters

  • relativeTime
    Type: TIMESPAN
    [out] The timestamp of the depth frame.

Return value

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

Requirements

Header: kinect.h

Library: kinect20.lib