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.action */
export interface Ops {
/**
* Add keyframes on every frame between the selected keyframes
*
* bpy.ops.action.bake_keys
*/
bake_keys: H.Operator<{}>;
/**
* Simplify F-Curves by removing closely spaced keyframes
*
* bpy.ops.action.clean
*/
clean: H.Operator<{
/** Threshold Default: 0.001. */
threshold?: H.In<number>;
/** Channels Default: False. */
channels?: H.In<boolean>;
}>;
/**
* Select keyframes by clicking on them
*
* bpy.ops.action.clickselect
*/
clickselect: H.Operator<{
/** Wait to Deselect Others Default: False. */
wait_to_deselect_others?: H.In<boolean>;
/** Instead of selecting on mouse press, wait to see if there's drag event. Otherwise select on mouse release Default: False. */
use_select_on_click?: H.In<boolean>;
/** Mouse X Default: 0. */
mouse_x?: H.In<number>;
/** Mouse Y Default: 0. */
mouse_y?: H.In<number>;
/** Toggle keyframe selection instead of leaving newly selected keyframes only Default: False. */
extend?: H.In<boolean>;
/** Deselect all when nothing under the cursor Default: False. */
deselect_all?: H.In<boolean>;
/** Select all keyframes that occur on the same frame as the one under the mouse Default: False. */
column?: H.In<boolean>;
/** Select all the keyframes in the channel under the mouse Default: False. */
channel?: H.In<boolean>;
}>;
/**
* Copy selected keyframes to the internal clipboard
*
* bpy.ops.action.copy
*/
copy: H.Operator<{}>;
/**
* Remove all selected keyframes
*
* bpy.ops.action.delete
*/
delete: H.Operator<{
/** Prompt for confirmation Default: True. */
confirm?: H.In<boolean>;
}>;
/**
* Make a copy of all selected keyframes
*
* bpy.ops.action.duplicate
*/
duplicate: H.Operator<{}>;
/**
* Make a copy of all selected keyframes and move them
*
* bpy.ops.action.duplicate_move
*/
duplicate_move: H.Operator<{
/** Make a copy of all selected keyframes */
ACTION_OT_duplicate?: any;
/** Transform selected items by mode type */
TRANSFORM_OT_transform?: any;
}>;
/**
* Set easing type for the F-Curve segments starting from the selected keyframes
*
* bpy.ops.action.easing_type
*/
easing_type: H.Operator<{
/**
* Type Default: 'AUTO'.
* - `AUTO`: Automatic Easing (Easing type is chosen automatically based on what the type of interpolation used (e.g. Ease In for transitional types, and Ease Out for dynamic effects))
* - `EASE_IN`: Ease In (Only on the end closest to the next keyframe)
* - `EASE_OUT`: Ease Out (Only on the end closest to the first keyframe)
* - `EASE_IN_OUT`: Ease In and Out (Segment between both keyframes)
*/
type?: H.In<"AUTO" | "EASE_IN" | "EASE_OUT" | "EASE_IN_OUT">;
}>;
/**
* Set extrapolation mode for selected F-Curves
*
* bpy.ops.action.extrapolation_type
*/
extrapolation_type: H.Operator<{
/**
* Type Default: 'CONSTANT'.
* - `CONSTANT`: Constant Extrapolation (Values on endpoint keyframes are held)
* - `LINEAR`: Linear Extrapolation (Straight-line slope of end segments are extended past the endpoint keyframes)
* - `MAKE_CYCLIC`: Make Cyclic (F-Modifier) (Add Cycles F-Modifier if one does not exist already)
* - `CLEAR_CYCLIC`: Clear Cyclic (F-Modifier) (Remove Cycles F-Modifier if not needed anymore)
*/
type?: H.In<"CONSTANT" | "LINEAR" | "MAKE_CYCLIC" | "CLEAR_CYCLIC">;
}>;
/**
* Set the current frame to the average frame value of selected keyframes
*
* bpy.ops.action.frame_jump
*/
frame_jump: H.Operator<{}>;
/**
* Set type of handle for selected keyframes
*
* bpy.ops.action.handle_type
*/
handle_type: H.Operator<{
/**
* Type Default: 'FREE'.
* - `FREE`: Free (Completely independent manually set handle)
* - `ALIGNED`: Aligned (Manually set handle with rotation locked together with its pair)
* - `VECTOR`: Vector (Automatic handles that create straight lines)
* - `AUTO`: Automatic (Automatic handles that create smooth curves)
* - `AUTO_CLAMPED`: Auto Clamped (Automatic handles that create smooth curves which only change direction at keyframes)
*/
type?: H.In<"FREE" | "ALIGNED" | "VECTOR" | "AUTO" | "AUTO_CLAMPED">;
}>;
/**
* Set interpolation mode for the F-Curve segments starting from the selected keyframes
*
* bpy.ops.action.interpolation_type
*/
interpolation_type: H.Operator<{
/** Type Default: 'CONSTANT'. */
type?: H.In<E.KeyframeInterpolation>;
}>;
/**
* Insert keyframes for the specified channels
*
* bpy.ops.action.keyframe_insert
*/
keyframe_insert: H.Operator<{
/**
* Type Default: 'ALL'.
* - `ALL`: All Channels
* - `SEL`: Only Selected Channels
* - `GROUP`: In Active Group
*/
type?: H.In<"ALL" | "SEL" | "GROUP">;
}>;
/**
* Set type of keyframe for the selected keyframes
*
* bpy.ops.action.keyframe_type
*/
keyframe_type: H.Operator<{
/**
* Type Default: 'KEYFRAME'.
* - `KEYFRAME`: Keyframe (Normal keyframe, e.g. for key poses)
* - `BREAKDOWN`: Breakdown (A breakdown pose, e.g. for transitions between key poses)
* - `MOVING_HOLD`: Moving Hold (A keyframe that is part of a moving hold)
* - `EXTREME`: Extreme (An "extreme" pose, or some other purpose as needed)
* - `JITTER`: Jitter (A filler or baked keyframe for keying on ones, or some other purpose as needed)
* - `GENERATED`: Generated (A key generated automatically by a tool, not manually created)
*/
type?: H.In<"KEYFRAME" | "BREAKDOWN" | "MOVING_HOLD" | "EXTREME" | "JITTER" | "GENERATED">;
}>;
/**
* Move selected scene markers to the active Action as local 'pose' markers
*
* bpy.ops.action.markers_make_local
*/
markers_make_local: H.Operator<{}>;
/**
* Flip selected keyframes over the selected mirror line
*
* bpy.ops.action.mirror
*/
mirror: H.Operator<{
/**
* Type Default: 'CFRA'.
* - `CFRA`: By Times Over Current Frame (Flip times of selected keyframes using the current frame as the mirror line)
* - `MARKER`: By Times Over First Selected Marker (Flip times of selected keyframes using the first selected marker as the reference point)
* - `XAXIS`: By Values Over Zero Value (Flip values of selected keyframes (i.e. negative values become positive, and vice versa))
*/
type?: H.In<"CFRA" | "MARKER" | "XAXIS">;
}>;
/**
* Create new action
*
* bpy.ops.action.new
*/
"new": H.Operator<{}>;
/**
* Paste keyframes from the internal clipboard for the selected channels, starting on the current frame
*
* bpy.ops.action.paste
*/
paste: H.Operator<{
/**
* Paste time offset of keys Default: 'START'.
* - `START`: Frame Start (Paste keys starting at current frame)
* - `END`: Frame End (Paste keys ending at current frame)
* - `RELATIVE`: Frame Relative (Paste keys relative to the current frame when copying)
* - `NONE`: No Offset (Paste keys from original time)
*/
offset?: H.In<"START" | "END" | "RELATIVE" | "NONE">;
/**
* Method of merging pasted keys and existing Default: 'MIX'.
* - `MIX`: Mix (Overlay existing with new keys)
* - `OVER_ALL`: Overwrite All (Replace all keys)
* - `OVER_RANGE`: Overwrite Range (Overwrite keys in pasted range)
* - `OVER_RANGE_ALL`: Overwrite Entire Range (Overwrite keys in pasted range, using the range of all copied keys)
*/
merge?: H.In<"MIX" | "OVER_ALL" | "OVER_RANGE" | "OVER_RANGE_ALL">;
/** Paste keyframes from mirrored bones if they exist Default: False. */
flipped?: H.In<boolean>;
}>;
/**
* Set Preview Range based on extents of selected Keyframes
*
* bpy.ops.action.previewrange_set
*/
previewrange_set: H.Operator<{}>;
/**
* Push action down on to the NLA stack as a new strip
*
* bpy.ops.action.push_down
*/
push_down: H.Operator<{}>;
/**
* Toggle selection of all keyframes
*
* bpy.ops.action.select_all
*/
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 keyframes within the specified region
*
* bpy.ops.action.select_box
*/
select_box: H.Operator<{
/** Axis Range Default: False. */
axis_range?: H.In<boolean>;
/** 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>;
/**
* Mode Default: 'SET'.
* - `SET`: Set (Set a new selection)
* - `ADD`: Extend (Extend existing selection)
* - `SUB`: Subtract (Subtract existing selection)
*/
mode?: H.In<"SET" | "ADD" | "SUB">;
/** Operator has been activated using a click-drag event Default: False. */
tweak?: H.In<boolean>;
}>;
/**
* Select all keyframes of the given type
*
* bpy.ops.action.select_by_type
*/
select_by_type: H.Operator<{
/** Keeps the current selection and adds the given type to it. If disabled, only keys of the type will be selected Default: True. */
extend?: H.In<boolean>;
/**
* The type of keyframe to select Default: 'KEYFRAME'.
* - `KEYFRAME`: Keyframe (Normal keyframe, e.g. for key poses)
* - `BREAKDOWN`: Breakdown (A breakdown pose, e.g. for transitions between key poses)
* - `MOVING_HOLD`: Moving Hold (A keyframe that is part of a moving hold)
* - `EXTREME`: Extreme (An "extreme" pose, or some other purpose as needed)
* - `JITTER`: Jitter (A filler or baked keyframe for keying on ones, or some other purpose as needed)
* - `GENERATED`: Generated (A key generated automatically by a tool, not manually created)
*/
type?: H.In<"KEYFRAME" | "BREAKDOWN" | "MOVING_HOLD" | "EXTREME" | "JITTER" | "GENERATED">;
}>;
/**
* Select keyframe points using circle selection
*
* bpy.ops.action.select_circle
*/
select_circle: H.Operator<{
/** X Default: 0. */
x?: H.In<number>;
/** Y Default: 0. */
y?: H.In<number>;
/** Radius Default: 25. */
radius?: H.In<number>;
/** Wait for Input Default: True. */
wait_for_input?: H.In<boolean>;
/**
* Mode Default: 'SET'.
* - `SET`: Set (Set a new selection)
* - `ADD`: Extend (Extend existing selection)
* - `SUB`: Subtract (Subtract existing selection)
*/
mode?: H.In<"SET" | "ADD" | "SUB">;
}>;
/**
* Select all keyframes on the specified frame(s)
*
* bpy.ops.action.select_column
*/
select_column: H.Operator<{
/**
* Mode Default: 'KEYS'.
* - `KEYS`: On Selected Keyframes
* - `CFRA`: On Current Frame
* - `MARKERS_COLUMN`: On Selected Markers
* - `MARKERS_BETWEEN`: Between Min/Max Selected Markers
*/
mode?: H.In<"KEYS" | "CFRA" | "MARKERS_COLUMN" | "MARKERS_BETWEEN">;
}>;
/**
* Select keyframe points using lasso selection
*
* bpy.ops.action.select_lasso
*/
select_lasso: H.Operator<{
/** Path */
path?: H.In<readonly Record<string, any>[]>;
/** Selection lags behind mouse and follows a smoother path Default: False. */
use_smooth_stroke?: H.In<boolean>;
/** Higher values give a smoother stroke Default: 0.75. */
smooth_stroke_factor?: H.In<number>;
/** Minimum distance from last point before selection continues Default: 35. */
smooth_stroke_radius?: H.In<number>;
/**
* Mode Default: 'SET'.
* - `SET`: Set (Set a new selection)
* - `ADD`: Extend (Extend existing selection)
* - `SUB`: Subtract (Subtract existing selection)
*/
mode?: H.In<"SET" | "ADD" | "SUB">;
}>;
/**
* Select keyframes to the left or the right of the current frame
*
* bpy.ops.action.select_leftright
*/
select_leftright: H.Operator<{
/**
* Mode Default: 'CHECK'.
* - `CHECK`: Check if Select Left or Right
* - `LEFT`: Before Current Frame
* - `RIGHT`: After Current Frame
*/
mode?: H.In<"CHECK" | "LEFT" | "RIGHT">;
/** Extend Select Default: False. */
extend?: H.In<boolean>;
}>;
/**
* Deselect keyframes on ends of selection islands
*
* bpy.ops.action.select_less
*/
select_less: H.Operator<{}>;
/**
* Select keyframes occurring in the same F-Curves as selected ones
*
* bpy.ops.action.select_linked
*/
select_linked: H.Operator<{}>;
/**
* Select keyframes beside already selected ones
*
* bpy.ops.action.select_more
*/
select_more: H.Operator<{}>;
/**
* Snap selected keyframes to the times specified
*
* bpy.ops.action.snap
*/
snap: H.Operator<{
/**
* Type Default: 'CFRA'.
* - `CFRA`: Selection to Current Frame (Snap selected keyframes to the current frame)
* - `NEAREST_FRAME`: Selection to Nearest Frame (Snap selected keyframes to the nearest (whole) frame (use to fix accidental subframe offsets))
* - `NEAREST_SECOND`: Selection to Nearest Second (Snap selected keyframes to the nearest second)
* - `NEAREST_MARKER`: Selection to Nearest Marker (Snap selected keyframes to the nearest marker)
*/
type?: H.In<"CFRA" | "NEAREST_FRAME" | "NEAREST_SECOND" | "NEAREST_MARKER">;
}>;
/**
* Store this action in the NLA stack as a non-contributing strip for later use
*
* bpy.ops.action.stash
*/
stash: H.Operator<{
/** Create a new action once the existing one has been safely stored Default: True. */
create_new?: H.In<boolean>;
}>;
/**
* Store this action in the NLA stack as a non-contributing strip for later use, and create a new action
*
* bpy.ops.action.stash_and_create
*/
stash_and_create: H.Operator<{}>;
/**
* Unlink this action from the active action slot (and/or exit Tweak Mode)
*
* bpy.ops.action.unlink
*/
unlink: H.Operator<{
/** Clear Fake User and remove copy stashed in this data-block's NLA stack Default: False. */
force_delete?: H.In<boolean>;
}>;
/**
* Reset viewable area to show full keyframe range
*
* bpy.ops.action.view_all
*/
view_all: H.Operator<{}>;
/**
* Move the view to the current frame
*
* bpy.ops.action.view_frame
*/
view_frame: H.Operator<{}>;
/**
* Reset viewable area to show selected keyframes range
*
* bpy.ops.action.view_selected
*/
view_selected: H.Operator<{}>;
}