Partager via


timestamp property

The timestamp property represents a value that enables determining if position state data has been updated from the hardware.

This property is read-only.

Syntax

JavaScript
timeStamp = object.timestamp

 

Property values

Type: DOMHighResTimeStamp

Remarks

Since values are monotonically increasing, they can be compared to determine the ordering of updates. Newer values will always be greater than or equal to older values.

The timestamp value starts at 0 the first time VRDisplay.getFrameData is invoked for a given VRDisplay.

See also

VRFrameData