FMjSnapshotProducer¶
Build the per-step state snapshot that drives live clients.
The bytes returned here are the same shape the step server emits for direct/puppet step replies, so a live client that subscribes to a snapshot publisher sees the same wire format as a stepped client. Pure builder -- no transport, no I/O. AAMjManager calls this once per physics step and fans the bytes out to every IMjSnapshotPublisher.
| Attribute | Value |
|---|---|
| Kind | Class |
Properties¶
Public Properties¶
| Property | Type | Description |
|---|---|---|
bytes |
return msgpack |
bytes¶
- Type: return msgpack
Functions¶
Public Functions¶
General¶
| Function | Returns | Description |
|---|---|---|
BuildStateSnapshot() |
TArray<uint8> |
Build a msgpack-encoded state_full snapshot for the current step. |
BuildStateSnapshot¶
Build a msgpack-encoded
state_fullsnapshot for the current step.
- Signature:
BuildStateSnapshot(AAMjManager* Manager,mjModel*m,mjData*d,int64StepIndex) - Returns: TArray