Share via


ColorFrameReference.RelativeTime Property

Gets the timestamp of the referenced color frame.

Syntax

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

Property value

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

Type: TimeSpan
Type: TimeSpan
Type: Number

 

The timestamp of the referenced color frame.

Requirements

Namespace: WindowsPreview.Kinect

Metadata: windowspreview.kinect.winmd

See also

Reference

ColorFrameReference Class
WindowsPreview.Kinect Namespace