文档

Unity Engine

Unity Engine

Timestamp

The timestamp associated with the generated mesh.
阅读时间1 分钟最后更新于 1 个月前

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.