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.view3d */
export interface Ops {
/**
* Menu bone selection
*
* bpy.ops.view3d.bone_select_menu
*/
bone_select_menu: H.Operator<{
/** Bone Name Default: ''. */
name?: H.In<string>;
/** Extend Default: False. */
extend?: H.In<boolean>;
/** Deselect Default: False. */
deselect?: H.In<boolean>;
/** Toggle Default: False. */
toggle?: H.In<boolean>;
}>;
/**
* Add a new background image to the active camera
*
* bpy.ops.view3d.camera_background_image_add
*/
camera_background_image_add: H.Operator<{
/** Path to image file Default: "". */
filepath?: H.In<string>;
/** Select the file relative to the blend file Default: True. */
relative_path?: H.In<boolean>;
/** Name of the data-block to use by the operator Default: "". */
name?: H.In<string>;
/** Session UID of the data-block to use by the operator Default: 0. */
session_uid?: H.In<number>;
}>;
/**
* Remove a background image from the camera
*
* bpy.ops.view3d.camera_background_image_remove
*/
camera_background_image_remove: H.Operator<{
/** Background image index to remove Default: 0. */
index?: H.In<number>;
}>;
/**
* Set camera view to active view
*
* bpy.ops.view3d.camera_to_view
*/
camera_to_view: H.Operator<{}>;
/**
* Move the camera so selected objects are framed
*
* bpy.ops.view3d.camera_to_view_selected
*/
camera_to_view_selected: H.Operator<{}>;
/**
* Clear the boundaries of the border render and disable border render
*
* bpy.ops.view3d.clear_render_border
*/
clear_render_border: H.Operator<{}>;
/**
* Set the view clipping region
*
* bpy.ops.view3d.clip_border
*/
clip_border: 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>;
}>;
/**
* Copy the selected objects to the internal clipboard
*
* bpy.ops.view3d.copybuffer
*/
copybuffer: H.Operator<{}>;
/**
* Set the location of the 3D cursor
*
* bpy.ops.view3d.cursor3d
*/
cursor3d: H.Operator<{
/** Project onto the surface Default: True. */
use_depth?: H.In<boolean>;
/**
* Preset viewpoint to use Default: 'VIEW'.
* - `NONE`: None (Leave orientation unchanged)
* - `VIEW`: View (Orient to the viewport)
* - `XFORM`: Transform (Orient to the current transform setting)
* - `GEOM`: Geometry (Match the surface normal)
*/
orientation?: H.In<"NONE" | "VIEW" | "XFORM" | "GEOM">;
}>;
/**
* Dolly in/out in the view
*
* bpy.ops.view3d.dolly
*/
dolly: H.Operator<{
/** Region Position X Default: 0. */
mx?: H.In<number>;
/** Region Position Y Default: 0. */
my?: H.In<number>;
/** Delta Default: 0. */
delta?: H.In<number>;
/** Allow the initial mouse position to be used Default: True. */
use_cursor_init?: H.In<boolean>;
}>;
/**
* Drop a world into the scene
*
* bpy.ops.view3d.drop_world
*/
drop_world: H.Operator<{
/** Name of the data-block to use by the operator Default: "". */
name?: H.In<string>;
/** Session UID of the data-block to use by the operator Default: 0. */
session_uid?: H.In<number>;
}>;
/**
* Extrude each individual face separately along local normals
*
* bpy.ops.view3d.edit_mesh_extrude_individual_move
*/
edit_mesh_extrude_individual_move: H.Operator<{}>;
/**
* Extrude manifold region along normals
*
* bpy.ops.view3d.edit_mesh_extrude_manifold_normal
*/
edit_mesh_extrude_manifold_normal: H.Operator<{}>;
/**
* Extrude region together along the average normal
*
* bpy.ops.view3d.edit_mesh_extrude_move_normal
*/
edit_mesh_extrude_move_normal: H.Operator<{
/** Dissolves adjacent faces and intersects new geometry Default: False. */
dissolve_and_intersect?: H.In<boolean>;
}>;
/**
* Extrude region together along local normals
*
* bpy.ops.view3d.edit_mesh_extrude_move_shrink_fatten
*/
edit_mesh_extrude_move_shrink_fatten: H.Operator<{}>;
/**
* Interactively fly around the scene
*
* bpy.ops.view3d.fly
*/
fly: H.Operator<{}>;
/**
* Interactively add an object
*
* bpy.ops.view3d.interactive_add
*/
interactive_add: H.Operator<{
/**
* Primitive Default: 'CUBE'.
* - `CUBE`: Cube
* - `CYLINDER`: Cylinder
* - `CONE`: Cone
* - `SPHERE_UV`: UV Sphere
* - `SPHERE_ICO`: ICO Sphere
*/
primitive_type?: H.In<"CUBE" | "CYLINDER" | "CONE" | "SPHERE_UV" | "SPHERE_ICO">;
/**
* The initial position for placement Default: 'EDGE'.
* - `EDGE`: Edge (Start placing the edge position)
* - `CENTER`: Center (Start placing the center position)
*/
plane_origin_base?: H.In<"EDGE" | "CENTER">;
/**
* The initial position for placement Default: 'EDGE'.
* - `EDGE`: Edge (Start placing the edge position)
* - `CENTER`: Center (Start placing the center position)
*/
plane_origin_depth?: H.In<"EDGE" | "CENTER">;
/**
* The initial aspect setting Default: 'FREE'.
* - `FREE`: Free (Use an unconstrained aspect)
* - `FIXED`: Fixed (Use a fixed 1:1 aspect)
*/
plane_aspect_base?: H.In<"FREE" | "FIXED">;
/**
* The initial aspect setting Default: 'FREE'.
* - `FREE`: Free (Use an unconstrained aspect)
* - `FIXED`: Fixed (Use a fixed 1:1 aspect)
*/
plane_aspect_depth?: H.In<"FREE" | "FIXED">;
/** Wait for Input Default: True. */
wait_for_input?: H.In<boolean>;
}>;
/**
* Toggle display of selected object(s) separately and centered in view
*
* bpy.ops.view3d.localview
*/
localview: H.Operator<{
/** Move the view to frame the selected objects Default: True. */
frame_selected?: H.In<boolean>;
}>;
/**
* Move selected objects out of local view
*
* bpy.ops.view3d.localview_remove_from
*/
localview_remove_from: H.Operator<{}>;
/**
* Move the view
*
* bpy.ops.view3d.move
*/
move: H.Operator<{
/** Allow the initial mouse position to be used Default: True. */
use_cursor_init?: H.In<boolean>;
}>;
/**
* Interactively navigate around the scene (uses the mode (walk/fly) preference)
*
* bpy.ops.view3d.navigate
*/
navigate: H.Operator<{}>;
/**
* Pan and rotate the view with the 3D mouse
*
* bpy.ops.view3d.ndof_all
*/
ndof_all: H.Operator<{}>;
/**
* Orbit the view using the 3D mouse
*
* bpy.ops.view3d.ndof_orbit
*/
ndof_orbit: H.Operator<{}>;
/**
* Orbit and zoom the view using the 3D mouse
*
* bpy.ops.view3d.ndof_orbit_zoom
*/
ndof_orbit_zoom: H.Operator<{}>;
/**
* Pan the view with the 3D mouse
*
* bpy.ops.view3d.ndof_pan
*/
ndof_pan: H.Operator<{}>;
/**
* Set the active object as the active camera for this view or scene
*
* bpy.ops.view3d.object_as_camera
*/
object_as_camera: H.Operator<{}>;
/**
* (undocumented operator)
*
* bpy.ops.view3d.object_mode_pie_or_toggle
*/
object_mode_pie_or_toggle: H.Operator<{}>;
/**
* Paste objects from the internal clipboard
*
* bpy.ops.view3d.pastebuffer
*/
pastebuffer: H.Operator<{
/** Select pasted objects Default: True. */
autoselect?: H.In<boolean>;
/** Put pasted objects in the active collection Default: True. */
active_collection?: H.In<boolean>;
}>;
/**
* Set the boundaries of the border render and enable border render
*
* bpy.ops.view3d.render_border
*/
render_border: 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>;
}>;
/**
* Rotate the view
*
* bpy.ops.view3d.rotate
*/
rotate: H.Operator<{
/** Allow the initial mouse position to be used Default: True. */
use_cursor_init?: H.In<boolean>;
}>;
/**
* Add ruler
*
* bpy.ops.view3d.ruler_add
*/
ruler_add: H.Operator<{}>;
/**
* (undocumented operator)
*
* bpy.ops.view3d.ruler_remove
*/
ruler_remove: H.Operator<{}>;
/**
* Select and activate item(s)
*
* bpy.ops.view3d.select
*/
select: H.Operator<{
/** Extend selection instead of deselecting everything first Default: False. */
extend?: H.In<boolean>;
/** Remove from selection Default: False. */
deselect?: H.In<boolean>;
/** Toggle the selection Default: False. */
toggle?: H.In<boolean>;
/** Deselect all when nothing under the cursor Default: False. */
deselect_all?: H.In<boolean>;
/** Ignore the select action when the element is already selected Default: False. */
select_passthrough?: H.In<boolean>;
/** Use the object center when selecting, in edit mode used to extend object selection Default: False. */
center?: H.In<boolean>;
/** List objects under the mouse (object mode only) Default: False. */
enumerate?: H.In<boolean>;
/** Use object selection (edit mode only) Default: False. */
object?: H.In<boolean>;
/** Mouse location Default: (0, 0). */
location?: H.In<readonly number[]>;
}>;
/**
* Select items using box selection
*
* bpy.ops.view3d.select_box
*/
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>;
/**
* Mode Default: 'SET'.
* - `SET`: Set (Set a new selection)
* - `ADD`: Extend (Extend existing selection)
* - `SUB`: Subtract (Subtract existing selection)
* - `XOR`: Difference (Invert existing selection)
* - `AND`: Intersect (Intersect existing selection)
*/
mode?: H.In<"SET" | "ADD" | "SUB" | "XOR" | "AND">;
}>;
/**
* Select items using circle selection
*
* bpy.ops.view3d.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 items using lasso selection
*
* bpy.ops.view3d.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)
* - `XOR`: Difference (Invert existing selection)
* - `AND`: Intersect (Intersect existing selection)
*/
mode?: H.In<"SET" | "ADD" | "SUB" | "XOR" | "AND">;
}>;
/**
* Menu object selection
*
* bpy.ops.view3d.select_menu
*/
select_menu: H.Operator<{
/** Object Name Default: ''. */
name?: H.In<string>;
/** Extend Default: False. */
extend?: H.In<boolean>;
/** Deselect Default: False. */
deselect?: H.In<boolean>;
/** Toggle Default: False. */
toggle?: H.In<boolean>;
}>;
/**
* (undocumented operator)
*
* bpy.ops.view3d.smoothview
*/
smoothview: H.Operator<{}>;
/**
* Snap 3D cursor to the active item
*
* bpy.ops.view3d.snap_cursor_to_active
*/
snap_cursor_to_active: H.Operator<{}>;
/**
* Snap 3D cursor to the world origin
*
* bpy.ops.view3d.snap_cursor_to_center
*/
snap_cursor_to_center: H.Operator<{}>;
/**
* Snap 3D cursor to the nearest grid division
*
* bpy.ops.view3d.snap_cursor_to_grid
*/
snap_cursor_to_grid: H.Operator<{}>;
/**
* Snap 3D cursor to the middle of the selected item(s)
*
* bpy.ops.view3d.snap_cursor_to_selected
*/
snap_cursor_to_selected: H.Operator<{}>;
/**
* Snap selected item(s) to the active item
*
* bpy.ops.view3d.snap_selected_to_active
*/
snap_selected_to_active: H.Operator<{}>;
/**
* Snap selected item(s) to the 3D cursor
*
* bpy.ops.view3d.snap_selected_to_cursor
*/
snap_selected_to_cursor: H.Operator<{
/** If the selection should be snapped as a whole or by each object center Default: True. */
use_offset?: H.In<boolean>;
/** If the selection should be rotated to match the cursor Default: False. */
use_rotation?: H.In<boolean>;
}>;
/**
* Snap selected item(s) to their nearest grid division
*
* bpy.ops.view3d.snap_selected_to_grid
*/
snap_selected_to_grid: H.Operator<{}>;
/**
* Flip MatCap
*
* bpy.ops.view3d.toggle_matcap_flip
*/
toggle_matcap_flip: H.Operator<{}>;
/**
* Toggle shading type in 3D viewport
*
* bpy.ops.view3d.toggle_shading
*/
toggle_shading: H.Operator<{
/**
* Shading type to toggle Default: 'WIREFRAME'.
* - `WIREFRAME`: Wireframe (Toggle wireframe shading)
* - `SOLID`: Solid (Toggle solid shading)
* - `MATERIAL`: Material Preview (Toggle material preview shading)
* - `RENDERED`: Rendered (Toggle rendered shading)
*/
type?: H.In<"WIREFRAME" | "SOLID" | "MATERIAL" | "RENDERED">;
}>;
/**
* Transparent scene display. Allow selecting through items
*
* bpy.ops.view3d.toggle_xray
*/
toggle_xray: H.Operator<{}>;
/**
* Set the current transform gizmo
*
* bpy.ops.view3d.transform_gizmo_set
*/
transform_gizmo_set: H.Operator<{
/** Extend Default: False. */
extend?: H.In<boolean>;
/**
* Type Default: set().
* - `TRANSLATE`: Move
* - `ROTATE`: Rotate
* - `SCALE`: Scale
*/
type?: H.In<Set<"TRANSLATE" | "ROTATE" | "SCALE">>;
}>;
/**
* View all objects in scene
*
* bpy.ops.view3d.view_all
*/
view_all: H.Operator<{
/** View selected for all regions Default: False. */
use_all_regions?: H.In<boolean>;
/** Center Default: False. */
center?: H.In<boolean>;
}>;
/**
* Use a preset viewpoint
*
* bpy.ops.view3d.view_axis
*/
view_axis: H.Operator<{
/**
* Preset viewpoint to use Default: 'LEFT'.
* - `LEFT`: Left (View from the left)
* - `RIGHT`: Right (View from the right)
* - `BOTTOM`: Bottom (View from the bottom)
* - `TOP`: Top (View from the top)
* - `FRONT`: Front (View from the front)
* - `BACK`: Back (View from the back)
*/
type?: H.In<"LEFT" | "RIGHT" | "BOTTOM" | "TOP" | "FRONT" | "BACK">;
/** Align to the active object's axis Default: False. */
align_active?: H.In<boolean>;
/** Rotate relative to the current orientation Default: False. */
relative?: H.In<boolean>;
}>;
/**
* Toggle the camera view
*
* bpy.ops.view3d.view_camera
*/
view_camera: H.Operator<{}>;
/**
* Center the camera view, resizing the view to fit its bounds
*
* bpy.ops.view3d.view_center_camera
*/
view_center_camera: H.Operator<{}>;
/**
* Center the view so that the cursor is in the middle of the view
*
* bpy.ops.view3d.view_center_cursor
*/
view_center_cursor: H.Operator<{}>;
/**
* Center the view lock offset
*
* bpy.ops.view3d.view_center_lock
*/
view_center_lock: H.Operator<{}>;
/**
* Center the view to the Z-depth position under the mouse cursor
*
* bpy.ops.view3d.view_center_pick
*/
view_center_pick: H.Operator<{}>;
/**
* Clear all view locking
*
* bpy.ops.view3d.view_lock_clear
*/
view_lock_clear: H.Operator<{}>;
/**
* Lock the view to the active object/bone
*
* bpy.ops.view3d.view_lock_to_active
*/
view_lock_to_active: H.Operator<{}>;
/**
* Orbit the view
*
* bpy.ops.view3d.view_orbit
*/
view_orbit: H.Operator<{
/** Roll Default: 0.0. */
angle?: H.In<number>;
/**
* Direction of View Orbit Default: 'ORBITLEFT'.
* - `ORBITLEFT`: Orbit Left (Orbit the view around to the left)
* - `ORBITRIGHT`: Orbit Right (Orbit the view around to the right)
* - `ORBITUP`: Orbit Up (Orbit the view up)
* - `ORBITDOWN`: Orbit Down (Orbit the view down)
*/
type?: H.In<"ORBITLEFT" | "ORBITRIGHT" | "ORBITUP" | "ORBITDOWN">;
}>;
/**
* Pan the view in a given direction
*
* bpy.ops.view3d.view_pan
*/
view_pan: H.Operator<{
/**
* Direction of View Pan Default: 'PANLEFT'.
* - `PANLEFT`: Pan Left (Pan the view to the left)
* - `PANRIGHT`: Pan Right (Pan the view to the right)
* - `PANUP`: Pan Up (Pan the view up)
* - `PANDOWN`: Pan Down (Pan the view down)
*/
type?: H.In<"PANLEFT" | "PANRIGHT" | "PANUP" | "PANDOWN">;
}>;
/**
* Switch the current view from perspective/orthographic projection
*
* bpy.ops.view3d.view_persportho
*/
view_persportho: H.Operator<{}>;
/**
* Roll the view
*
* bpy.ops.view3d.view_roll
*/
view_roll: H.Operator<{
/** Roll Default: 0.0. */
angle?: H.In<number>;
/**
* How roll angle is calculated Default: 'ANGLE'.
* - `ANGLE`: Roll Angle (Roll the view using an angle value)
* - `LEFT`: Roll Left (Roll the view around to the left)
* - `RIGHT`: Roll Right (Roll the view around to the right)
*/
type?: H.In<"ANGLE" | "LEFT" | "RIGHT">;
}>;
/**
* Move the view to the selection center
*
* bpy.ops.view3d.view_selected
*/
view_selected: H.Operator<{
/** View selected for all regions Default: False. */
use_all_regions?: H.In<boolean>;
}>;
/**
* Interactively review Location Scouting VR Captures
*
* bpy.ops.view3d.vr_location_scouting_capture_review
*/
vr_location_scouting_capture_review: H.Operator<{}>;
/**
* Interactively walk around the scene
*
* bpy.ops.view3d.walk
*/
walk: H.Operator<{}>;
/**
* Zoom in/out in the view
*
* bpy.ops.view3d.zoom
*/
zoom: H.Operator<{
/** Region Position X Default: 0. */
mx?: H.In<number>;
/** Region Position Y Default: 0. */
my?: H.In<number>;
/** Delta Default: 0. */
delta?: H.In<number>;
/** Allow the initial mouse position to be used Default: True. */
use_cursor_init?: H.In<boolean>;
}>;
/**
* Zoom in the view to the nearest object contained in the border
*
* bpy.ops.view3d.zoom_border
*/
zoom_border: 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>;
/** Zoom Out Default: False. */
zoom_out?: H.In<boolean>;
}>;
/**
* Match the camera to 1:1 to the render output
*
* bpy.ops.view3d.zoom_camera_1_to_1
*/
zoom_camera_1_to_1: H.Operator<{}>;
}