CONTENT CONTRACT · VERSION 1
RigClip
One clip of a rig: its keyframes and how the engine plays it.
Signature
{ asset: ClipAssetId, audio: (AudioCueId)?, cloud: (Name)?, expression: (FaceExpression)?, grounded: (boolean)?, high: (Name)?, impact: (ClipImpact)?, loop: (boolean)?, low: (Name)?, name: Name, play_ms: (GestureMs)?, plays: (ClipPlays)?, prop: (PropName)?, prop_from_hand: (boolean)?, seated: (boolean)?, talking: (boolean)?, travel_mm_s: (PresentationSpeed)? }Fields
| Name | Type | Meaning |
|---|---|---|
asset | ClipAssetId | Keyframes: a baked native clip or a glTF animation on the rig's bones. Length and looping come from it. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: asset:animation_clip |
audio | AudioCueId | Sound when it starts. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: audio_cue |
cloud | Name | Thought-cloud motif shown over the figure (`ui-system/assets/emotes/<cloud>.png`); a player emote needs one. Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$ |
expression | FaceExpression | Face while it plays; absent: neutral. |
grounded | boolean | Feet stay on the ground (foot IK) while it plays. Absent: true. |
high | Name | Variant for a high target (a clip of the same rig). Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$ |
impact | ClipImpact | When a blow or stroke lands inside the clip, bound to the bake it was measured on. |
loop | boolean | glTF clips only: whether it repeats (a native clip says so itself). Absent: false. |
low | Name | Variant for a low target (a clip of the same rig). Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$ |
name | Name | Name within the rig (snake case). Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$ |
play_ms | GestureMs | Upper bound of a gesture's length; a gesture lasts `plays` times the clip, at most this. Range: 1…60000; Unit: ms |
plays | ClipPlays | Times a gesture plays the clip (1 to 4); absent: once. Range: 1…4; Unit: count |
prop | PropName | Hand prop shown while it plays (a prop of the world library). Length: 1…64; Pattern: ^[A-Za-z][A-Za-z0-9_]{0,63}$ |
prop_from_hand | boolean | A work clip: the figure shows the tool it holds, the prop only when its hands are empty. |
seated | boolean | May play while the figure sits. |
talking | boolean | The mouth moves while it plays. |
travel_mm_s | PresentationSpeed | Forward travel of the figure while it plays (a leap); absent: none. Range: 1…2147483647; Unit: mm/s |