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.paint */
export interface Ops {
/**
* Add cube map UVs on mesh
*
* bpy.ops.paint.add_simple_uvs
*/
add_simple_uvs: H.Operator<{}>;
/**
* Add a paint slot
*
* bpy.ops.paint.add_texture_paint_slot
*/
add_texture_paint_slot: H.Operator<{
/** Material layer type of new paint slot Default: 'BASE_COLOR'. */
type?: H.In<E.PaintAddTexturePaintSlotType>;
/**
* Type of new paint slot Default: 'IMAGE'.
* - `IMAGE`: Image
* - `COLOR_ATTRIBUTE`: Color Attribute
*/
slot_type?: H.In<"IMAGE" | "COLOR_ATTRIBUTE">;
/** Name for new paint slot source Default: "Untitled". */
name?: H.In<string>;
/** Default fill color Default: (0.0, 0.0, 0.0, 1.0). */
color?: H.In<readonly number[]>;
/** Image width Default: 1024. */
width?: H.In<number>;
/** Image height Default: 1024. */
height?: H.In<number>;
/** Create an image with an alpha channel Default: True. */
alpha?: H.In<boolean>;
/**
* Fill the image with a grid for UV map testing Default: 'BLANK'.
* - `BLANK`: Blank (Generate a blank image)
* - `UV_GRID`: UV Grid (Generated grid to test UV mappings)
* - `COLOR_GRID`: Color Grid (Generated improved UV grid to test UV mappings)
*/
generated_type?: H.In<"BLANK" | "UV_GRID" | "COLOR_GRID">;
/** Create image with 32-bit floating-point bit depth Default: False. */
float?: H.In<boolean>;
/** Create a tiled image Default: False. */
tiled?: H.In<boolean>;
/**
* Type of element that attribute is stored on Default: 'POINT'.
* - `POINT`: Vertex
* - `CORNER`: Face Corner
*/
domain?: H.In<"POINT" | "CORNER">;
/**
* Type of data stored in attribute Default: 'FLOAT_COLOR'.
* - `FLOAT_COLOR`: Color (RGBA color 32-bit floating-point values)
* - `BYTE_COLOR`: Byte Color (RGBA color with 8-bit positive integer values)
*/
data_type?: H.In<"FLOAT_COLOR" | "BYTE_COLOR">;
}>;
/**
* Swap primary and secondary brush colors
*
* bpy.ops.paint.brush_colors_flip
*/
brush_colors_flip: H.Operator<{}>;
/**
* Change selection for all faces
*
* bpy.ops.paint.face_select_all
*/
face_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">;
}>;
/**
* Hide selected faces
*
* bpy.ops.paint.face_select_hide
*/
face_select_hide: H.Operator<{
/** Hide unselected rather than selected objects Default: False. */
unselected?: H.In<boolean>;
}>;
/**
* Deselect Faces connected to existing selection
*
* bpy.ops.paint.face_select_less
*/
face_select_less: H.Operator<{
/** Also deselect faces that only touch on a corner Default: True. */
face_step?: H.In<boolean>;
}>;
/**
* Select linked faces
*
* bpy.ops.paint.face_select_linked
*/
face_select_linked: H.Operator<{}>;
/**
* Select linked faces under the cursor
*
* bpy.ops.paint.face_select_linked_pick
*/
face_select_linked_pick: H.Operator<{
/** Deselect rather than select items Default: False. */
deselect?: H.In<boolean>;
}>;
/**
* Select face loop under the cursor
*
* bpy.ops.paint.face_select_loop
*/
face_select_loop: H.Operator<{
/** If false, faces will be deselected Default: True. */
select?: H.In<boolean>;
/** Extend the selection Default: False. */
extend?: H.In<boolean>;
}>;
/**
* Select Faces connected to existing selection
*
* bpy.ops.paint.face_select_more
*/
face_select_more: H.Operator<{
/** Also select faces that only touch on a corner Default: True. */
face_step?: H.In<boolean>;
}>;
/**
* Reveal hidden faces and vertices
*
* bpy.ops.paint.face_vert_reveal
*/
face_vert_reveal: H.Operator<{
/** Specifies whether the newly revealed geometry should be selected Default: True. */
select?: H.In<boolean>;
}>;
/**
* Move the clone source image
*
* bpy.ops.paint.grab_clone
*/
grab_clone: H.Operator<{
/** Delta offset of clone image in 0.0 to 1.0 coordinates Default: (0.0, 0.0). */
delta?: H.In<M.VectorLike>;
}>;
/**
* Hide/show some vertices
*
* bpy.ops.paint.hide_show
*/
hide_show: 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>;
/**
* Whether to hide or show vertices Default: 'HIDE'.
* - `HIDE`: Hide (Hide vertices)
* - `SHOW`: Show (Show vertices)
*/
action?: H.In<"HIDE" | "SHOW">;
/**
* Which vertices to hide or show Default: 'Inside'.
* - `OUTSIDE`: Outside (Hide or show vertices outside the selection)
* - `Inside`: Inside (Hide or show vertices inside the selection)
*/
area?: H.In<"OUTSIDE" | "Inside">;
/** Affect only faces facing towards the view Default: False. */
use_front_faces_only?: H.In<boolean>;
}>;
/**
* Hide/show all vertices
*
* bpy.ops.paint.hide_show_all
*/
hide_show_all: H.Operator<{
/**
* Whether to hide or show vertices Default: 'HIDE'.
* - `HIDE`: Hide (Hide vertices)
* - `SHOW`: Show (Show vertices)
*/
action?: H.In<"HIDE" | "SHOW">;
}>;
/**
* Hide/show some vertices
*
* bpy.ops.paint.hide_show_lasso_gesture
*/
hide_show_lasso_gesture: 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>;
/**
* Whether to hide or show vertices Default: 'HIDE'.
* - `HIDE`: Hide (Hide vertices)
* - `SHOW`: Show (Show vertices)
*/
action?: H.In<"HIDE" | "SHOW">;
/**
* Which vertices to hide or show Default: 'Inside'.
* - `OUTSIDE`: Outside (Hide or show vertices outside the selection)
* - `Inside`: Inside (Hide or show vertices inside the selection)
*/
area?: H.In<"OUTSIDE" | "Inside">;
/** Affect only faces facing towards the view Default: False. */
use_front_faces_only?: H.In<boolean>;
}>;
/**
* Hide/show some vertices
*
* bpy.ops.paint.hide_show_line_gesture
*/
hide_show_line_gesture: H.Operator<{
/** X Start Default: 0. */
xstart?: H.In<number>;
/** X End Default: 0. */
xend?: H.In<number>;
/** Y Start Default: 0. */
ystart?: H.In<number>;
/** Y End Default: 0. */
yend?: H.In<number>;
/** Flip Default: False. */
flip?: H.In<boolean>;
/** Mouse cursor style to use during the modal operator Default: 5. */
cursor?: H.In<number>;
/**
* Whether to hide or show vertices Default: 'HIDE'.
* - `HIDE`: Hide (Hide vertices)
* - `SHOW`: Show (Show vertices)
*/
action?: H.In<"HIDE" | "SHOW">;
/**
* Which vertices to hide or show Default: 'Inside'.
* - `OUTSIDE`: Outside (Hide or show vertices outside the selection)
* - `Inside`: Inside (Hide or show vertices inside the selection)
*/
area?: H.In<"OUTSIDE" | "Inside">;
/** Affect only faces facing towards the view Default: False. */
use_front_faces_only?: H.In<boolean>;
/** Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line Default: False. */
use_limit_to_segment?: H.In<boolean>;
}>;
/**
* Hide/show all masked vertices above a threshold
*
* bpy.ops.paint.hide_show_masked
*/
hide_show_masked: H.Operator<{
/**
* Whether to hide or show vertices Default: 'HIDE'.
* - `HIDE`: Hide (Hide vertices)
* - `SHOW`: Show (Show vertices)
*/
action?: H.In<"HIDE" | "SHOW">;
}>;
/**
* Hide/show some vertices
*
* bpy.ops.paint.hide_show_polyline_gesture
*/
hide_show_polyline_gesture: H.Operator<{
/** Path */
path?: H.In<readonly Record<string, any>[]>;
/**
* Whether to hide or show vertices Default: 'HIDE'.
* - `HIDE`: Hide (Hide vertices)
* - `SHOW`: Show (Show vertices)
*/
action?: H.In<"HIDE" | "SHOW">;
/**
* Which vertices to hide or show Default: 'Inside'.
* - `OUTSIDE`: Outside (Hide or show vertices outside the selection)
* - `Inside`: Inside (Hide or show vertices inside the selection)
*/
area?: H.In<"OUTSIDE" | "Inside">;
/** Affect only faces facing towards the view Default: False. */
use_front_faces_only?: H.In<boolean>;
}>;
/**
* Make an image from biggest 3D view for reprojection
*
* bpy.ops.paint.image_from_view
*/
image_from_view: H.Operator<{
/** Name of the file Default: "". */
filepath?: H.In<string>;
}>;
/**
* Paint a stroke into the image
*
* bpy.ops.paint.image_paint
*/
image_paint: H.Operator<{
/** Stroke */
stroke?: H.In<readonly Record<string, any>[]>;
/**
* Action taken when a paint stroke is made Default: 'NORMAL'.
* - `NORMAL`: Regular (Apply brush normally)
* - `INVERT`: Invert (Invert action of brush for duration of stroke)
*/
mode?: H.In<"NORMAL" | "INVERT">;
/**
* Brush to use for duration of stroke Default: 'None'.
* - `None`: None (Apply brush normally)
* - `SMOOTH`: Smooth (Switch to smooth brush for duration of stroke)
* - `ERASE`: Erase (Switch to erase brush for duration of stroke)
* - `MASK`: Mask (Switch to mask brush for duration of stroke)
*/
brush_toggle?: H.In<"None" | "SMOOTH" | "ERASE" | "MASK">;
/** Whether a tablet's eraser mode is being used Default: False. */
pen_flip?: H.In<boolean>;
}>;
/**
* Mask within a rectangle defined by the cursor
*
* bpy.ops.paint.mask_box_gesture
*/
mask_box_gesture: 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>;
/** Affect only faces facing towards the view Default: False. */
use_front_faces_only?: H.In<boolean>;
/**
* Mode Default: 'VALUE'.
* - `VALUE`: Value (Set mask to the level specified by the 'value' property)
* - `VALUE_INVERSE`: Value Inverted (Set mask to the level specified by the inverted 'value' property)
* - `INVERT`: Invert (Invert the mask)
*/
mode?: H.In<"VALUE" | "VALUE_INVERSE" | "INVERT">;
/** Mask level to use when mode is 'Value'; zero means no masking and one is fully masked Default: 1.0. */
value?: H.In<number>;
}>;
/**
* Fill the whole mask with a given value, or invert its values
*
* bpy.ops.paint.mask_flood_fill
*/
mask_flood_fill: H.Operator<{
/**
* Mode Default: 'VALUE'.
* - `VALUE`: Value (Set mask to the level specified by the 'value' property)
* - `VALUE_INVERSE`: Value Inverted (Set mask to the level specified by the inverted 'value' property)
* - `INVERT`: Invert (Invert the mask)
*/
mode?: H.In<"VALUE" | "VALUE_INVERSE" | "INVERT">;
/** Mask level to use when mode is 'Value'; zero means no masking and one is fully masked Default: 0.0. */
value?: H.In<number>;
}>;
/**
* Mask within a shape defined by the cursor
*
* bpy.ops.paint.mask_lasso_gesture
*/
mask_lasso_gesture: 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>;
/** Affect only faces facing towards the view Default: False. */
use_front_faces_only?: H.In<boolean>;
/**
* Mode Default: 'VALUE'.
* - `VALUE`: Value (Set mask to the level specified by the 'value' property)
* - `VALUE_INVERSE`: Value Inverted (Set mask to the level specified by the inverted 'value' property)
* - `INVERT`: Invert (Invert the mask)
*/
mode?: H.In<"VALUE" | "VALUE_INVERSE" | "INVERT">;
/** Mask level to use when mode is 'Value'; zero means no masking and one is fully masked Default: 1.0. */
value?: H.In<number>;
}>;
/**
* Mask to one side of a line defined by the cursor
*
* bpy.ops.paint.mask_line_gesture
*/
mask_line_gesture: H.Operator<{
/** X Start Default: 0. */
xstart?: H.In<number>;
/** X End Default: 0. */
xend?: H.In<number>;
/** Y Start Default: 0. */
ystart?: H.In<number>;
/** Y End Default: 0. */
yend?: H.In<number>;
/** Flip Default: False. */
flip?: H.In<boolean>;
/** Mouse cursor style to use during the modal operator Default: 5. */
cursor?: H.In<number>;
/** Affect only faces facing towards the view Default: False. */
use_front_faces_only?: H.In<boolean>;
/** Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line Default: False. */
use_limit_to_segment?: H.In<boolean>;
/**
* Mode Default: 'VALUE'.
* - `VALUE`: Value (Set mask to the level specified by the 'value' property)
* - `VALUE_INVERSE`: Value Inverted (Set mask to the level specified by the inverted 'value' property)
* - `INVERT`: Invert (Invert the mask)
*/
mode?: H.In<"VALUE" | "VALUE_INVERSE" | "INVERT">;
/** Mask level to use when mode is 'Value'; zero means no masking and one is fully masked Default: 1.0. */
value?: H.In<number>;
}>;
/**
* Mask within a shape defined by the cursor
*
* bpy.ops.paint.mask_polyline_gesture
*/
mask_polyline_gesture: H.Operator<{
/** Path */
path?: H.In<readonly Record<string, any>[]>;
/** Affect only faces facing towards the view Default: False. */
use_front_faces_only?: H.In<boolean>;
/**
* Mode Default: 'VALUE'.
* - `VALUE`: Value (Set mask to the level specified by the 'value' property)
* - `VALUE_INVERSE`: Value Inverted (Set mask to the level specified by the inverted 'value' property)
* - `INVERT`: Invert (Invert the mask)
*/
mode?: H.In<"VALUE" | "VALUE_INVERSE" | "INVERT">;
/** Mask level to use when mode is 'Value'; zero means no masking and one is fully masked Default: 1.0. */
value?: H.In<number>;
}>;
/**
* Project an edited render from the active camera back onto the object
*
* bpy.ops.paint.project_image
*/
project_image: H.Operator<{
/** Image Default: ''. */
image?: H.In<string>;
}>;
/**
* Use the mouse to sample a color in the image
*
* bpy.ops.paint.sample_color
*/
sample_color: H.Operator<{
/** Location Default: (0, 0). */
location?: H.In<readonly number[]>;
/** Sample the output display color Default: False. */
merged?: H.In<boolean>;
/** Add to Palette Default: False. */
palette?: H.In<boolean>;
}>;
/**
* Toggle texture paint mode in 3D view
*
* bpy.ops.paint.texture_paint_toggle
*/
texture_paint_toggle: H.Operator<{}>;
/**
* Change selection for all vertices
*
* bpy.ops.paint.vert_select_all
*/
vert_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">;
}>;
/**
* Hide selected vertices
*
* bpy.ops.paint.vert_select_hide
*/
vert_select_hide: H.Operator<{
/** Hide unselected rather than selected vertices Default: False. */
unselected?: H.In<boolean>;
}>;
/**
* Deselect Vertices connected to existing selection
*
* bpy.ops.paint.vert_select_less
*/
vert_select_less: H.Operator<{
/** Also deselect faces that only touch on a corner Default: True. */
face_step?: H.In<boolean>;
}>;
/**
* Select linked vertices
*
* bpy.ops.paint.vert_select_linked
*/
vert_select_linked: H.Operator<{}>;
/**
* Select linked vertices under the cursor
*
* bpy.ops.paint.vert_select_linked_pick
*/
vert_select_linked_pick: H.Operator<{
/** Whether to select or deselect linked vertices under the cursor Default: True. */
select?: H.In<boolean>;
}>;
/**
* Select vertex loop under the cursor
*
* bpy.ops.paint.vert_select_loop
*/
vert_select_loop: H.Operator<{
/** If false, vertices will be deselected Default: True. */
select?: H.In<boolean>;
/** Extend the selection Default: False. */
extend?: H.In<boolean>;
}>;
/**
* Select Vertices connected to existing selection
*
* bpy.ops.paint.vert_select_more
*/
vert_select_more: H.Operator<{
/** Also select faces that only touch on a corner Default: True. */
face_step?: H.In<boolean>;
}>;
/**
* Select vertices without a group
*
* bpy.ops.paint.vert_select_ungrouped
*/
vert_select_ungrouped: H.Operator<{
/** Extend the selection Default: False. */
extend?: H.In<boolean>;
}>;
/**
* Adjust vertex color brightness/contrast
*
* bpy.ops.paint.vertex_color_brightness_contrast
*/
vertex_color_brightness_contrast: H.Operator<{
/** Brightness Default: 0.0. */
brightness?: H.In<number>;
/** Contrast Default: 0.0. */
contrast?: H.In<number>;
}>;
/**
* Generate a dirt map gradient based on cavity
*
* bpy.ops.paint.vertex_color_dirt
*/
vertex_color_dirt: H.Operator<{
/** Blur strength per iteration Default: 1.0. */
blur_strength?: H.In<number>;
/** Number of times to blur the colors (higher blurs more) Default: 1. */
blur_iterations?: H.In<number>;
/** Less than 90 limits the angle used in the tonal range Default: 3.14159. */
clean_angle?: H.In<number>;
/** Less than 90 limits the angle used in the tonal range Default: 0.0. */
dirt_angle?: H.In<number>;
/** Don't calculate cleans for convex areas Default: False. */
dirt_only?: H.In<boolean>;
/** Normalize the colors, increasing the contrast Default: True. */
normalize?: H.In<boolean>;
}>;
/**
* Convert active weight into gray scale vertex colors
*
* bpy.ops.paint.vertex_color_from_weight
*/
vertex_color_from_weight: H.Operator<{}>;
/**
* Adjust vertex color Hue/Saturation/Value
*
* bpy.ops.paint.vertex_color_hsv
*/
vertex_color_hsv: H.Operator<{
/** Hue Default: 0.5. */
h?: H.In<number>;
/** Saturation Default: 1.0. */
s?: H.In<number>;
/** Value Default: 1.0. */
v?: H.In<number>;
}>;
/**
* Invert RGB values
*
* bpy.ops.paint.vertex_color_invert
*/
vertex_color_invert: H.Operator<{}>;
/**
* Adjust levels of vertex colors
*
* bpy.ops.paint.vertex_color_levels
*/
vertex_color_levels: H.Operator<{
/** Value to add to colors Default: 0.0. */
offset?: H.In<number>;
/** Value to multiply colors by Default: 1.0. */
gain?: H.In<number>;
}>;
/**
* Fill the active vertex color layer with the current paint color
*
* bpy.ops.paint.vertex_color_set
*/
vertex_color_set: H.Operator<{
/** Set color completely opaque instead of reusing existing alpha Default: True. */
use_alpha?: H.In<boolean>;
}>;
/**
* Smooth colors across vertices
*
* bpy.ops.paint.vertex_color_smooth
*/
vertex_color_smooth: H.Operator<{}>;
/**
* Paint a stroke in the active color attribute layer
*
* bpy.ops.paint.vertex_paint
*/
vertex_paint: H.Operator<{
/** Stroke */
stroke?: H.In<readonly Record<string, any>[]>;
/**
* Action taken when a paint stroke is made Default: 'NORMAL'.
* - `NORMAL`: Regular (Apply brush normally)
* - `INVERT`: Invert (Invert action of brush for duration of stroke)
*/
mode?: H.In<"NORMAL" | "INVERT">;
/**
* Brush to use for duration of stroke Default: 'None'.
* - `None`: None (Apply brush normally)
* - `SMOOTH`: Smooth (Switch to smooth brush for duration of stroke)
* - `ERASE`: Erase (Switch to erase brush for duration of stroke)
* - `MASK`: Mask (Switch to mask brush for duration of stroke)
*/
brush_toggle?: H.In<"None" | "SMOOTH" | "ERASE" | "MASK">;
/** Whether a tablet's eraser mode is being used Default: False. */
pen_flip?: H.In<boolean>;
/** Override the given "location" array by recalculating object space positions from the provided "mouse_event" positions Default: False. */
override_location?: H.In<boolean>;
}>;
/**
* Toggle the vertex paint mode in 3D view
*
* bpy.ops.paint.vertex_paint_toggle
*/
vertex_paint_toggle: H.Operator<{}>;
/**
* Edit the visibility of the current mesh
*
* bpy.ops.paint.visibility_filter
*/
visibility_filter: H.Operator<{
/**
* Action Default: 'GROW'.
* - `GROW`: Grow Visibility (Grow the visibility by one face based on mesh topology)
* - `SHRINK`: Shrink Visibility (Shrink the visibility by one face based on mesh topology)
*/
action?: H.In<"GROW" | "SHRINK">;
/** Number of times that the filter is going to be applied Default: 1. */
iterations?: H.In<number>;
/** Use an automatic number of iterations based on the number of vertices of the sculpt Default: True. */
auto_iteration_count?: H.In<boolean>;
}>;
/**
* Invert the visibility of all vertices
*
* bpy.ops.paint.visibility_invert
*/
visibility_invert: H.Operator<{}>;
/**
* Set the weights of the groups matching the attached armature's bones that have "Deform" option enabled, using the distance between the vertices and the bones
*
* bpy.ops.paint.weight_from_bones
*/
weight_from_bones: H.Operator<{
/**
* Method to use for assigning weights Default: 'AUTOMATIC'.
* - `AUTOMATIC`: Automatic (Automatic weights from bones)
* - `ENVELOPES`: From Envelopes (Weights from envelopes with user defined radius)
*/
type?: H.In<"AUTOMATIC" | "ENVELOPES">;
}>;
/**
* Draw a line to apply a weight gradient to selected vertices
*
* bpy.ops.paint.weight_gradient
*/
weight_gradient: H.Operator<{
/**
* Type Default: 'LINEAR'.
* - `LINEAR`: Linear
* - `RADIAL`: Radial
*/
type?: H.In<"LINEAR" | "RADIAL">;
/** X Start Default: 0. */
xstart?: H.In<number>;
/** X End Default: 0. */
xend?: H.In<number>;
/** Y Start Default: 0. */
ystart?: H.In<number>;
/** Y End Default: 0. */
yend?: H.In<number>;
/** Flip Default: False. */
flip?: H.In<boolean>;
/** Mouse cursor style to use during the modal operator Default: 5. */
cursor?: H.In<number>;
}>;
/**
* Paint a stroke in the current vertex group's weights
*
* bpy.ops.paint.weight_paint
*/
weight_paint: H.Operator<{
/** Stroke */
stroke?: H.In<readonly Record<string, any>[]>;
/**
* Action taken when a paint stroke is made Default: 'NORMAL'.
* - `NORMAL`: Regular (Apply brush normally)
* - `INVERT`: Invert (Invert action of brush for duration of stroke)
*/
mode?: H.In<"NORMAL" | "INVERT">;
/**
* Brush to use for duration of stroke Default: 'None'.
* - `None`: None (Apply brush normally)
* - `SMOOTH`: Smooth (Switch to smooth brush for duration of stroke)
* - `ERASE`: Erase (Switch to erase brush for duration of stroke)
* - `MASK`: Mask (Switch to mask brush for duration of stroke)
*/
brush_toggle?: H.In<"None" | "SMOOTH" | "ERASE" | "MASK">;
/** Whether a tablet's eraser mode is being used Default: False. */
pen_flip?: H.In<boolean>;
/** Override the given "location" array by recalculating object space positions from the provided "mouse_event" positions Default: False. */
override_location?: H.In<boolean>;
}>;
/**
* Toggle weight paint mode in 3D view
*
* bpy.ops.paint.weight_paint_toggle
*/
weight_paint_toggle: H.Operator<{}>;
/**
* Use the mouse to sample a weight in the 3D view
*
* bpy.ops.paint.weight_sample
*/
weight_sample: H.Operator<{}>;
/**
* Select one of the vertex groups available under current mouse position
*
* bpy.ops.paint.weight_sample_group
*/
weight_sample_group: H.Operator<{}>;
/**
* Fill the active vertex group with the current paint weight
*
* bpy.ops.paint.weight_set
*/
weight_set: H.Operator<{}>;
}