Documentation

Unity Engine

Unity Engine

Timestamp

The timestamp associated with the generated mesh.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Property
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
public readonly ulong Timestamp { get; }

Remarks

Because generation is asynchronous, the transform provided by this MeshGenerationResult may be older than the most recent transform provided by XRMeshSubsystem.GetUpdatedMeshTransforms. Compare timestamps to ensure you are using the most recent transform.