Share via


DepthFrame.RelativeTime Property

Gets the timestamp of the depth frame.

Syntax

public:
property TimeSpan RelativeTime {
         TimeSpan get ();
}
public TimeSpan RelativeTime { get; }
var relativeTime = depthFrame.relativeTime;

Property value

[C++] 
[C#] 
[JavaScript] 

Type: TimeSpan
Type: TimeSpan
Type: Number

 

The timestamp of the depth frame.

Requirements

Namespace: WindowsPreview.Kinect

Metadata: windowspreview.kinect.winmd

See also

Reference

DepthFrame Class
WindowsPreview.Kinect Namespace