Ir para o conteúdo

Comandos

keyframe.clear

Removes all keyframes of one property, or of every property.

Última atualização:

Esta referência é gerada a partir do programa e está em inglês.

The value at the first frame of the item becomes the static value. Without property, every animated property is cleared.

Arguments#

ArgumentTypeRequiredDescription
item_idstringyes
propertyx, y, scale, rotation, opacity, volumenoOne property; default every animated property.

Example#

As one operation of an edit batch (the edit tool of MCP, vukem-video edit --ops, or POST /api/v1/projects/{id}/edit):

JSON
{
  "op": "keyframe.clear",
  "args": {
    "item_id": "itm_s6t7v8w9x0",
    "property": "opacity"
  }
}

Errors#

E_VALIDATION, E_NOT_FOUND, E_TYPE_MISMATCH

Scope and phase#

Scope edit, phase alpha. Run vukem-video command:help keyframe.clear for the same description from the binary.