EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

PrefabPart

A moving piece of a prefab (a hammer at the anvil, a plane on the bench): another prefab hung at the anchor position, its origin the pivot. While the anchor's conditions hold it runs through its keys on the world clock, so every view and peer shows the same beat and an anchor effect of the same period strikes in time; otherwise it rests in its first key.

Signature

{ keys: {PartKey}, period_ms: GestureMs, prefab: PrefabId }

Fields

NameTypeMeaning
keys{PartKey}Poses over the run, the first at 0 (also the resting pose), strictly ascending; the last eases back to the first.
Items: 2…16
period_msGestureMsLength of one run through the keys.
Range: 1…60000; Unit: ms
prefabPrefabIdThe piece: a prefab without collision and without part anchors of its own.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: prefab