MeshGenerationResult.Timestamp

public ulong Timestamp;

Description

The timestamp associated with the generated mesh.

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.

Additional resources: XRMeshSubsystem.GenerateMeshAsync, XRMeshSubsystem.GetUpdatedMeshTransforms


Did you find this page useful? Please give it a rating: