| Parameter | Description |
|---|---|
| allocator | The allocator for the snapshot memory. This can only be Allocator.Temp, Allocator.TempJob or Allocator.Persistent. |
Snapshot A snapshot of the world that must be disposed of after use. The snapshot is not created if the world or allocator is invalid.
Capture the current simulation state of this world into a Snapshot.