IdGenerator Module
Functions and values
| Function or value |
Description
|
Full Usage:
nextId shapeKind
Parameters:
string
Returns: string
|
Generate the next human-readable ID for the given shape kind (e.g., "sphere" → "sphere-1").
|
Full Usage:
reset ()
Parameters:
unit
|
Reset all counters. Used when reconnecting or clearing state.
|
PhysicsSandbox