Table of Contents

Method b3RecPlayer_SetWorkerCount

Namespace
Box3D.Native
Assembly
Box3D.NET.Native.dll

b3RecPlayer_SetWorkerCount(b3RecPlayer*, int)

Set the worker count of the replay world. Clamped to [1, B3_MAX_WORKERS]. Applied to the live world at once and reused whenever the player rebuilds its world on Restart or a backward seek. Replaying at a different count than recorded re-partitions the constraint graph, so the StateHash check becomes a cross-thread determinism test.

public static extern void b3RecPlayer_SetWorkerCount(b3RecPlayer* player, int count)

Parameters

player b3RecPlayer*

See the Box3D documentation.

count int

See the Box3D documentation.