Generations, snapshots, and transforms
PAPER publishes standard-layout, trivially copyable value records. It transfers no engine node, graph, clip, Havok body or allocation ownership.
Cache invalidators
paperProviderGeneration: owner/provider lifecycle.worldGeneration,skeletonGeneration,rockProviderGeneration: upstream runtime identity.weaponGenerationKey: all weapon-specific assumptions.captureSequence: one native capture;reloadStartSequenceandreloadEndSequencecount reload starts and ends.snapshotSequence,presentationSequence: one native-pose pipeline frame and its final presentation.frameIndex: ordering, not identity.
Compare the generations and sequences of two reads before combining them; a
NativeHandSolution whose snapshotSequence differs from the frame state you
read describes another frame.
Records
Initialize public inputs and outputs with {} so the current size and
version (kRecordVersion) defaults are present; PAPER rejects a record whose
size or version differs. Leave reserved fields zero in records you fill.
Coordinate spaces
Transform contains a 3×3 rotation, game-unit translation, and uniform scale.
Captured transforms are node-local; a native hand pose is the hand in weapon
space with finger-local transforms. A transform is meaningful only with its
space, weapon generation and capture or snapshot sequence.