anim_set_keys
Write multiple keyframes for a property in one call by passing a list of frame-value pairs, so a full walk cycle can be set without repeated single-key calls.
Instructions
一次性为某个属性写入多个关键帧:keys 是 [{frame, value}] 列表。一个完整的行走循环用一次调用即可完成,比反复调 anim_set_key 高效得多。 [English] Write many keyframes for one property in a single call: keys is a list of {frame, value}. A whole walk cycle is one call, far cheaper than repeated anim_set_key invocations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | 关键帧列表,每项 {frame, value}。 | Keyframe list, each item {frame, value}. | |
| objects | No | 对象名列表;省略则用当前选择。 | Object names; omit for the current selection. | |
| property | Yes | 属性名:position / rotation / scale,或任意命名属性。 | Property name: position / rotation / scale, or any named property. | |
| relative | No | true=在每个帧的当前值上叠加。 | true=add on top of the value at each frame. |