Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.
TypeScript 3dagent-skillsai-agentsai-videobevyclaude-codegame-enginegpulinuxmacosmotion-designmotion-graphicsreactrusttypescriptvideo-editingvideo-renderingwgpuwindows
// Generated by tools/gen.sh from Blender's own API (tools/dump.py). Don't edit: regenerate.
import type * as H from "../../types";
import type * as M from "../../mathutils";
import type * as R from "../rna";
import type * as E from "../enums";
/** bpy.ops.anim */
export interface Ops {
/**
* Interactively change the current frame number
*
* bpy.ops.anim.change_frame
*/
change_frame: H.Operator<{
/** Frame Default: 0.0. */
frame?: H.In<number>;
/** Snap Default: False. */
snap?: H.In<boolean>;
/** Strip Preview Default: False. */
seq_solo_preview?: H.In<boolean>;
/** Allow another operator to operate on strip handles Default: False. */
pass_through_on_strip_handles?: H.In<boolean>;
}>;
/**
* Select all keyframes of channel under mouse
*
* bpy.ops.anim.channel_select_keys
*/
channel_select_keys: H.Operator<{
/** Extend selection Default: False. */
extend?: H.In<boolean>;
}>;
/**
* Reset viewable area to show the channel under the cursor
*
* bpy.ops.anim.channel_view_pick
*/
channel_view_pick: H.Operator<{
/** Include handles of keyframes when calculating extents Default: True. */
include_handles?: H.In<boolean>;
/** Ignore frames outside of the preview range Default: True. */
use_preview_range?: H.In<boolean>;
}>;
/**
* Create keyframes following the current shape of F-Curves of selected channels
*
* bpy.ops.anim.channels_bake
*/
channels_bake: H.Operator<{
/** If enabled, the scene start and end frame will be used to determine the bake range Default: True. */
use_scene_range?: H.In<boolean>;
/** The custom range in which to create new keys. Only used when not using the scene range Default: (0, 0). */
range?: H.In<readonly number[]>;
/** At which interval to add keys Default: 1.0. */
step?: H.In<number>;
/** Removes keys outside the given range, leaving only the newly baked Default: False. */
remove_outside_range?: H.In<boolean>;
/**
* Choose the interpolation type with which new keys will be added Default: 'BEZIER'.
* - `BEZIER`: Bézier (New keys will be Bézier)
* - `LIN`: Linear (New keys will be linear)
* - `CONST`: Constant (New keys will be constant)
*/
interpolation_type?: H.In<"BEZIER" | "LIN" | "CONST">;
/** Bake Modifiers into keyframes and delete them after Default: True. */
bake_modifiers?: H.In<boolean>;
}>;
/**
* Delete all empty animation data containers from visible data-blocks
*
* bpy.ops.anim.channels_clean_empty
*/
channels_clean_empty: H.Operator<{}>;
/**
* Handle mouse clicks over animation channels
*
* bpy.ops.anim.channels_click
*/
channels_click: H.Operator<{
/** Extend Select Default: False. */
extend?: H.In<boolean>;
/** Selection of active channel to clicked channel Default: False. */
extend_range?: H.In<boolean>;
/** Select Children Only Default: False. */
children_only?: H.In<boolean>;
}>;
/**
* Collapse (close) all selected expandable animation channels
*
* bpy.ops.anim.channels_collapse
*/
channels_collapse: H.Operator<{
/** Collapse all channels (not just selected ones) Default: True. */
all?: H.In<boolean>;
}>;
/**
* Delete all selected animation channels
*
* bpy.ops.anim.channels_delete
*/
channels_delete: H.Operator<{}>;
/**
* Toggle editability of selected channels
*
* bpy.ops.anim.channels_editable_toggle
*/
channels_editable_toggle: H.Operator<{
/**
* Mode Default: 'TOGGLE'.
* - `TOGGLE`: Toggle
* - `DISABLE`: Disable
* - `ENABLE`: Enable
* - `INVERT`: Invert
*/
mode?: H.In<"TOGGLE" | "DISABLE" | "ENABLE" | "INVERT">;
/**
* Type Default: 'PROTECT'.
* - `PROTECT`: Protect
* - `MUTE`: Mute
*/
type?: H.In<"PROTECT" | "MUTE">;
}>;
/**
* Expand (open) all selected expandable animation channels
*
* bpy.ops.anim.channels_expand
*/
channels_expand: H.Operator<{
/** Expand all channels (not just selected ones) Default: True. */
all?: H.In<boolean>;
}>;
/**
* Clear 'disabled' tag from all F-Curves to get broken F-Curves working again
*
* bpy.ops.anim.channels_fcurves_enable
*/
channels_fcurves_enable: H.Operator<{}>;
/**
* Add selected F-Curves to a new group
*
* bpy.ops.anim.channels_group
*/
channels_group: H.Operator<{
/** Name of newly created group Default: "". */
name?: H.In<string>;
}>;
/**
* Rearrange selected animation channels
*
* bpy.ops.anim.channels_move
*/
channels_move: H.Operator<{
/**
* Direction Default: 'DOWN'.
* - `TOP`: To Top
* - `UP`: Up
* - `DOWN`: Down
* - `BOTTOM`: To Bottom
*/
direction?: H.In<"TOP" | "UP" | "DOWN" | "BOTTOM">;
}>;
/**
* Rename animation channel under mouse
*
* bpy.ops.anim.channels_rename
*/
channels_rename: H.Operator<{}>;
/**
* Toggle selection of all animation channels
*
* bpy.ops.anim.channels_select_all
*/
channels_select_all: H.Operator<{
/**
* Selection action to execute Default: 'TOGGLE'.
* - `TOGGLE`: Toggle (Toggle selection for all elements)
* - `SELECT`: Select (Select all elements)
* - `DESELECT`: Deselect (Deselect all elements)
* - `INVERT`: Invert (Invert selection of all elements)
*/
action?: H.In<"TOGGLE" | "SELECT" | "DESELECT" | "INVERT">;
}>;
/**
* Select all animation channels within the specified region
*
* bpy.ops.anim.channels_select_box
*/
channels_select_box: H.Operator<{
/** X Min Default: 0. */
xmin?: H.In<number>;
/** X Max Default: 0. */
xmax?: H.In<number>;
/** Y Min Default: 0. */
ymin?: H.In<number>;
/** Y Max Default: 0. */
ymax?: H.In<number>;
/** Wait for Input Default: True. */
wait_for_input?: H.In<boolean>;
/** Deselect rather than select items Default: False. */
deselect?: H.In<boolean>;
/** Extend selection instead of deselecting everything first Default: True. */
extend?: H.In<boolean>;
}>;
/**
* Start entering text which filters the set of channels shown to only include those with matching names
*
* bpy.ops.anim.channels_select_filter
*/
channels_select_filter: H.Operator<{}>;
/**
* Disable specified setting on all selected animation channels
*
* bpy.ops.anim.channels_setting_disable
*/
channels_setting_disable: H.Operator<{
/**
* Mode Default: 'DISABLE'.
* - `TOGGLE`: Toggle
* - `DISABLE`: Disable
* - `ENABLE`: Enable
* - `INVERT`: Invert
*/
mode?: H.In<"TOGGLE" | "DISABLE" | "ENABLE" | "INVERT">;
/**
* Type Default: 'PROTECT'.
* - `PROTECT`: Protect
* - `MUTE`: Mute
*/
type?: H.In<"PROTECT" | "MUTE">;
}>;
/**
* Enable specified setting on all selected animation channels
*
* bpy.ops.anim.channels_setting_enable
*/
channels_setting_enable: H.Operator<{
/**
* Mode Default: 'ENABLE'.
* - `TOGGLE`: Toggle
* - `DISABLE`: Disable
* - `ENABLE`: Enable
* - `INVERT`: Invert
*/
mode?: H.In<"TOGGLE" | "DISABLE" | "ENABLE" | "INVERT">;
/**
* Type Default: 'PROTECT'.
* - `PROTECT`: Protect
* - `MUTE`: Mute
*/
type?: H.In<"PROTECT" | "MUTE">;
}>;
/**
* Toggle specified setting on all selected animation channels
*
* bpy.ops.anim.channels_setting_toggle
*/
channels_setting_toggle: H.Operator<{
/**
* Mode Default: 'TOGGLE'.
* - `TOGGLE`: Toggle
* - `DISABLE`: Disable
* - `ENABLE`: Enable
* - `INVERT`: Invert
*/
mode?: H.In<"TOGGLE" | "DISABLE" | "ENABLE" | "INVERT">;
/**
* Type Default: 'PROTECT'.
* - `PROTECT`: Protect
* - `MUTE`: Mute
*/
type?: H.In<"PROTECT" | "MUTE">;
}>;
/**
* Remove selected F-Curves from their current groups
*
* bpy.ops.anim.channels_ungroup
*/
channels_ungroup: H.Operator<{}>;
/**
* Reset viewable area to show the selected channels
*
* bpy.ops.anim.channels_view_selected
*/
channels_view_selected: H.Operator<{
/** Include handles of keyframes when calculating extents Default: True. */
include_handles?: H.In<boolean>;
/** Ignore frames outside of the preview range Default: True. */
use_preview_range?: H.In<boolean>;
}>;
/**
* Mark actions with no F-Curves for deletion after save and reload of file preserving "action libraries"
*
* bpy.ops.anim.clear_useless_actions
*/
clear_useless_actions: H.Operator<{
/** Only unused (Fake User only) actions get considered Default: True. */
only_unused?: H.In<boolean>;
}>;
/**
* Copy the driver for the highlighted button
*
* bpy.ops.anim.copy_driver_button
*/
copy_driver_button: H.Operator<{}>;
/**
* Add driver for the property under the cursor
*
* bpy.ops.anim.driver_button_add
*/
driver_button_add: H.Operator<{}>;
/**
* Edit the drivers for the connected property represented by the highlighted button
*
* bpy.ops.anim.driver_button_edit
*/
driver_button_edit: H.Operator<{}>;
/**
* Remove the driver(s) for the connected property(s) represented by the highlighted button
*
* bpy.ops.anim.driver_button_remove
*/
driver_button_remove: H.Operator<{
/** Delete drivers for all elements of the array Default: True. */
all?: H.In<boolean>;
}>;
/**
* Set the current frame as the preview or scene end frame
*
* bpy.ops.anim.end_frame_set
*/
end_frame_set: H.Operator<{}>;
/**
* Clear all keyframes on the currently active property
*
* bpy.ops.anim.keyframe_clear_button
*/
keyframe_clear_button: H.Operator<{
/** Clear keyframes from all elements of the array Default: True. */
all?: H.In<boolean>;
}>;
/**
* Remove all keyframe animation for selected objects
*
* bpy.ops.anim.keyframe_clear_v3d
*/
keyframe_clear_v3d: H.Operator<{
/** Prompt for confirmation Default: True. */
confirm?: H.In<boolean>;
}>;
/**
* Remove all keyframe animation for selected strips
*
* bpy.ops.anim.keyframe_clear_vse
*/
keyframe_clear_vse: H.Operator<{
/** Prompt for confirmation Default: True. */
confirm?: H.In<boolean>;
}>;
/**
* Delete keyframes on the current frame for all properties in the specified Keying Set
*
* bpy.ops.anim.keyframe_delete
*/
keyframe_delete: H.Operator<{
/**
* The Keying Set to use Default: 'DEFAULT'.
* - `DEFAULT`: Default
*/
type?: H.In<string>;
}>;
/**
* Delete current keyframe of current UI-active property
*
* bpy.ops.anim.keyframe_delete_button
*/
keyframe_delete_button: H.Operator<{
/** Delete keyframes from all elements of the array Default: True. */
all?: H.In<boolean>;
}>;
/**
* Alternate access to 'Delete Keyframe' for keymaps to use
*
* bpy.ops.anim.keyframe_delete_by_name
*/
keyframe_delete_by_name: H.Operator<{
/** The Keying Set to use Default: "". */
type?: H.In<string>;
}>;
/**
* Remove keyframes on current frame for selected objects and bones
*
* bpy.ops.anim.keyframe_delete_v3d
*/
keyframe_delete_v3d: H.Operator<{
/** Prompt for confirmation Default: True. */
confirm?: H.In<boolean>;
}>;
/**
* Remove keyframes on current frame for selected strips
*
* bpy.ops.anim.keyframe_delete_vse
*/
keyframe_delete_vse: H.Operator<{
/** Prompt for confirmation Default: True. */
confirm?: H.In<boolean>;
}>;
/**
* Insert keyframes on the current frame using either the active keying set, or the user preferences if no keying set is active
*
* bpy.ops.anim.keyframe_insert
*/
keyframe_insert: H.Operator<{
/**
* The Keying Set to use Default: 'DEFAULT'.
* - `DEFAULT`: Default
*/
type?: H.In<string>;
}>;
/**
* Insert a keyframe for current UI-active property
*
* bpy.ops.anim.keyframe_insert_button
*/
keyframe_insert_button: H.Operator<{
/** Insert a keyframe for all element of the array Default: True. */
all?: H.In<boolean>;
}>;
/**
* Alternate access to 'Insert Keyframe' for keymaps to use
*
* bpy.ops.anim.keyframe_insert_by_name
*/
keyframe_insert_by_name: H.Operator<{
/** The Keying Set to use Default: "". */
type?: H.In<string>;
}>;
/**
* Insert Keyframes for specified Keying Set, with menu of available Keying Sets if undefined
*
* bpy.ops.anim.keyframe_insert_menu
*/
keyframe_insert_menu: H.Operator<{
/**
* The Keying Set to use Default: 'DEFAULT'.
* - `DEFAULT`: Default
*/
type?: H.In<string>;
/** Always Show Menu Default: False. */
always_prompt?: H.In<boolean>;
}>;
/**
* Set a new active keying set
*
* bpy.ops.anim.keying_set_active_set
*/
keying_set_active_set: H.Operator<{
/**
* The Keying Set to use Default: 'DEFAULT'.
* - `DEFAULT`: Default
*/
type?: H.In<string>;
}>;
/**
* Add a new (empty) keying set to the active Scene
*
* bpy.ops.anim.keying_set_add
*/
keying_set_add: H.Operator<{}>;
/**
* Export Keying Set to a Python script
*
* bpy.ops.anim.keying_set_export
*/
keying_set_export: H.Operator<{
/** Default: "". */
filepath?: H.In<string>;
/** Filter folders Default: True. */
filter_folder?: H.In<boolean>;
/** Filter text Default: True. */
filter_text?: H.In<boolean>;
/** Filter Python Default: True. */
filter_python?: H.In<boolean>;
}>;
/**
* Add empty path to active keying set
*
* bpy.ops.anim.keying_set_path_add
*/
keying_set_path_add: H.Operator<{}>;
/**
* Remove active Path from active keying set
*
* bpy.ops.anim.keying_set_path_remove
*/
keying_set_path_remove: H.Operator<{}>;
/**
* Remove the active keying set
*
* bpy.ops.anim.keying_set_remove
*/
keying_set_remove: H.Operator<{}>;
/**
* Add current UI-active property to current keying set
*
* bpy.ops.anim.keyingset_button_add
*/
keyingset_button_add: H.Operator<{
/** Add all elements of the array to a Keying Set Default: True. */
all?: H.In<boolean>;
}>;
/**
* Remove current UI-active property from current keying set
*
* bpy.ops.anim.keyingset_button_remove
*/
keyingset_button_remove: H.Operator<{}>;
/**
* Merge the animation of the selected objects into the action of the active object. Actions are not deleted by this, but might end up with zero users
*
* bpy.ops.anim.merge_animation
*/
merge_animation: H.Operator<{}>;
/**
* Paste the driver in the internal clipboard to the highlighted button
*
* bpy.ops.anim.paste_driver_button
*/
paste_driver_button: H.Operator<{}>;
/**
* Clear preview range
*
* bpy.ops.anim.previewrange_clear
*/
previewrange_clear: H.Operator<{}>;
/**
* Interactively define frame range used for playback
*
* bpy.ops.anim.previewrange_set
*/
previewrange_set: H.Operator<{
/** X Min Default: 0. */
xmin?: H.In<number>;
/** X Max Default: 0. */
xmax?: H.In<number>;
/** Y Min Default: 0. */
ymin?: H.In<number>;
/** Y Max Default: 0. */
ymax?: H.In<number>;
/** Wait for Input Default: True. */
wait_for_input?: H.In<boolean>;
}>;
/**
* Swap all users of one action to another one. The normal action slot assignment rules apply. This ignores the NLA and Action Constraints
*
* bpy.ops.anim.replace_action
*/
replace_action: H.Operator<{
/** Old Action's session uid to replace Default: 0. */
old_session_uid?: H.In<number>;
/** The replacement Action's session uid to remap all selected Action's users to Default: 0. */
new_session_uid?: H.In<number>;
}>;
/**
* Swap all users of one action to a new action. This ignores the NLA and Action Constraints
*
* bpy.ops.anim.replace_action_new
*/
replace_action_new: H.Operator<{
/** Old Action's session uid to replace Default: 0. */
old_session_uid?: H.In<number>;
}>;
/**
* Reset the horizontal view to the current scene frame range, taking the preview range into account if it is active
*
* bpy.ops.anim.scene_range_frame
*/
scene_range_frame: H.Operator<{}>;
/**
* Move all slots of the action on the active object into newly created, separate actions. All users of those slots will be reassigned to the new actions. The current action won't be deleted but will be empty and might end up having zero users
*
* bpy.ops.anim.separate_slots
*/
separate_slots: H.Operator<{}>;
/**
* Move the selected slots into a newly created action
*
* bpy.ops.anim.slot_channels_move_to_new_action
*/
slot_channels_move_to_new_action: H.Operator<{}>;
/**
* Create a new action slot for this data-block, to hold its animation
*
* bpy.ops.anim.slot_new_for_id
*/
slot_new_for_id: H.Operator<{}>;
/**
* Un-assign the action slot from this constraint
*
* bpy.ops.anim.slot_unassign_from_constraint
*/
slot_unassign_from_constraint: H.Operator<{}>;
/**
* Un-assign the action slot, effectively making this data-block non-animated
*
* bpy.ops.anim.slot_unassign_from_id
*/
slot_unassign_from_id: H.Operator<{}>;
/**
* Un-assign the action slot from this NLA strip, effectively making it non-animated
*
* bpy.ops.anim.slot_unassign_from_nla_strip
*/
slot_unassign_from_nla_strip: H.Operator<{}>;
/**
* Set the current frame as the preview or scene start frame
*
* bpy.ops.anim.start_frame_set
*/
start_frame_set: H.Operator<{}>;
/**
* Update f-curves/drivers affecting Transform constraints (use it with files from 2.70 and earlier)
*
* bpy.ops.anim.update_animated_transform_constraints
*/
update_animated_transform_constraints: H.Operator<{
/**
* Convert f-curves/drivers affecting rotations to radians.
* Warning: Use this only once Default: True.
*/
use_convert_to_radians?: H.In<boolean>;
}>;
/**
* Moves any F-Curves for the `hide` property of selected armatures into the action of the object. This will only operate on the first layer and strip of the action
*
* bpy.ops.anim.version_bone_hide_property
*/
version_bone_hide_property: H.Operator<{}>;
/**
* Frame the property under the cursor in the Graph Editor
*
* bpy.ops.anim.view_curve_in_graph_editor
*/
view_curve_in_graph_editor: H.Operator<{
/** Frame the whole array property instead of only the index under the cursor Default: False. */
all?: H.In<boolean>;
/** Hides all F-Curves other than the ones being framed Default: False. */
isolate?: H.In<boolean>;
}>;
}