MeshUpdateInfo
Information about mesh chunk updates from live meshing operations....
Declaration
struct MeshUpdateInfoSummary
Information about mesh chunk updates from live meshing operations.
Returned by NsdkMeshingSession.updatedMeshInfos() to indicate which
mesh chunks have been modified or removed since the last update.
Properties
| Name | Type | Summary |
|---|---|---|
| var ids | UnsafeBufferPointer<Int64> | |
| var updated | UnsafeBufferPointer<UInt8> | Array indicating whether each chunk was updated or removed. For each corresponding ID in ids, this array indicates:- Non-zero value: The chunk has been updated since the last call to meshDataById.Call meshDataById to read the latest mesh data.Calling meshDataById will reset the update status for that chunk to 0.- Zero value: The chunk has not been updated since the last call to meshDataById, so there is no need to read its mesh data. |
When a chunk is removed from the mesh, it will no longer be present in this array.
The application should keep track of its current mesh chunk IDs to determine when
a chunk has been removed.