Share via


ColorFrame.RelativeTime Property

Gets the timestamp of the color frame.

Syntax

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

Property value

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

Type: TimeSpan
Type: TimeSpan
Type: Number

 

The timestamp of the color frame.

Requirements

Namespace: WindowsPreview.Kinect

Metadata: windowspreview.kinect.winmd

See also

Reference

ColorFrame Class
WindowsPreview.Kinect Namespace