Skip to content

armgit / raea

Public Imported from GitHub
0

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.

34.3 KB
Raw Blame
// 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.uv */
export interface Ops {
  /**
   * Aligns selected UV vertices on a line
   *
   * bpy.ops.uv.align
   */
  align: H.Operator<{
    /**
     * Axis to align UV locations on Default: 'ALIGN_AUTO'.
     * - `ALIGN_S`: Straighten (Align UV vertices along the line defined by the endpoints)
     * - `ALIGN_T`: Straighten X (Align UV vertices, moving them horizontally to the line defined by the endpoints)
     * - `ALIGN_U`: Straighten Y (Align UV vertices, moving them vertically to the line defined by the endpoints)
     * - `ALIGN_AUTO`: Align Auto (Automatically choose the direction on which there is most alignment already)
     * - `ALIGN_X`: Align Vertically (Align UV vertices on a vertical line)
     * - `ALIGN_Y`: Align Horizontally (Align UV vertices on a horizontal line)
     */
    axis?: H.In<"ALIGN_S" | "ALIGN_T" | "ALIGN_U" | "ALIGN_AUTO" | "ALIGN_X" | "ALIGN_Y">;
    /**
     * Method of calculating the alignment position Default: 'MEAN'.
     * - `MEAN`: Mean (Align UVs along the mean position)
     * - `MIN`: Minimum (Align UVs along the minimum position)
     * - `MAX`: Maximum (Align UVs along the maximum position)
     */
    position_mode?: H.In<"MEAN" | "MIN" | "MAX">;
  }>;
  /**
   * Align the UV island's rotation
   *
   * bpy.ops.uv.align_rotation
   */
  align_rotation: H.Operator<{
    /**
     * Method to calculate rotation angle Default: 'AUTO'.
     * - `AUTO`: Auto (Align from all edges)
     * - `EDGE`: Edge (Only selected edges)
     * - `GEOMETRY`: Geometry (Align to Geometry axis)
     */
    method?: H.In<"AUTO" | "EDGE" | "GEOMETRY">;
    /**
     * Axis to align to Default: 'X'.
     * - `X`: X (X axis)
     * - `Y`: Y (Y axis)
     * - `Z`: Z (Z axis)
     */
    axis?: H.In<"X" | "Y" | "Z">;
    /** Take image aspect ratio into account Default: False. */
    correct_aspect?: H.In<boolean>;
  }>;
  /**
   * Arrange selected UV islands on a line
   *
   * bpy.ops.uv.arrange_islands
   */
  arrange_islands: H.Operator<{
    /**
     * Initial position to arrange islands from Default: 'BOUNDING_BOX'.
     * - `BOUNDING_BOX`: Bounding Box (Initial alignment based on the islands bounding box)
     * - `UV_GRID`: UV Grid (Initial alignment based on UV Tile Grid)
     * - `ACTIVE_UDIM`: Active UDIM (Initial alignment based on Active UDIM)
     * - `CURSOR`: 2D Cursor (Initial alignment based on 2D cursor)
     */
    initial_position?: H.In<"BOUNDING_BOX" | "UV_GRID" | "ACTIVE_UDIM" | "CURSOR">;
    /**
     * Axis to arrange UV islands on Default: 'Y'.
     * - `X`: X (Align UV islands along the X axis)
     * - `Y`: Y (Align UV islands along the Y axis)
     */
    axis?: H.In<"X" | "Y">;
    /**
     * Location to align islands on Default: 'MIN'.
     * - `MIN`: Min (Align the islands to the min of the island)
     * - `MAX`: Max (Align the islands to the max side of the island)
     * - `CENTER`: Center (Align the islands to the center of the largest island)
     * - `NONE`: None (Preserve island alignment)
     */
    align?: H.In<"MIN" | "MAX" | "CENTER" | "NONE">;
    /**
     * Order of islands Default: 'LARGE_TO_SMALL'.
     * - `LARGE_TO_SMALL`: Largest to Smallest (Sort islands from largest to smallest)
     * - `SMALL_TO_LARGE`: Smallest to Largest (Sort islands from smallest to largest)
     * - `Fixed`: Fixed (Preserve island order)
     */
    order?: H.In<"LARGE_TO_SMALL" | "SMALL_TO_LARGE" | "Fixed">;
    /** Space between islands Default: 0.05. */
    margin?: H.In<number>;
  }>;
  /**
   * Average the size of separate UV islands, based on their area in 3D space
   *
   * bpy.ops.uv.average_islands_scale
   */
  average_islands_scale: H.Operator<{
    /** Scale U and V independently Default: False. */
    scale_uv?: H.In<boolean>;
    /** Reduce shear within islands Default: False. */
    shear?: H.In<boolean>;
  }>;
  /**
   * Copy selected UV vertices
   *
   * bpy.ops.uv.copy
   */
  copy: H.Operator<{}>;
  /**
   * Copy mirror UV coordinates based on a mirrored mesh
   *
   * bpy.ops.uv.copy_mirrored_faces
   */
  copy_mirrored_faces: H.Operator<{
    /**
     * Mirror vertices based on mesh axis Default: 'POS_X'.
     * - `POS_X`: -X to +X
     * - `POS_Y`: -Y to +Y
     * - `POS_Z`: -Z to +Z
     * - `NEG_X`: +X to -X
     * - `NEG_Y`: +Y to -Y
     * - `NEG_Z`: +Z to -Z
     */
    mesh_axis?: H.In<"POS_X" | "POS_Y" | "POS_Z" | "NEG_X" | "NEG_Y" | "NEG_Z">;
    /**
     * Axis to mirror UV coordinates Default: 'X'.
     * - `X`: X
     * - `Y`: Y
     */
    uv_axis?: H.In<"X" | "Y">;
    /** Tolerance for finding vertex duplicates Default: 3. */
    precision?: H.In<number>;
  }>;
  /**
   * Project the UV vertices of the mesh over the six faces of a cube
   *
   * bpy.ops.uv.cube_project
   */
  cube_project: H.Operator<{
    /** Size of the cube to project on Default: 1.0. */
    cube_size?: H.In<number>;
    /** Map UVs taking aspect ratio of the image associated with the material into account Default: True. */
    correct_aspect?: H.In<boolean>;
    /** Clip UV coordinates to bounds after unwrapping Default: False. */
    clip_to_bounds?: H.In<boolean>;
    /** Scale UV coordinates to bounds after unwrapping Default: False. */
    scale_to_bounds?: H.In<boolean>;
  }>;
  /**
   * Set 2D cursor location
   *
   * bpy.ops.uv.cursor_set
   */
  cursor_set: H.Operator<{
    /** Cursor location in normalized (0.0 to 1.0) coordinates Default: (0.0, 0.0). */
    location?: H.In<M.VectorLike>;
  }>;
  /**
   * Set the boundaries of the user region
   *
   * bpy.ops.uv.custom_region_set
   */
  custom_region_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>;
  }>;
  /**
   * Project the UV vertices of the mesh over the curved wall of a cylinder
   *
   * bpy.ops.uv.cylinder_project
   */
  cylinder_project: H.Operator<{
    /**
     * Direction of the sphere or cylinder Default: 'VIEW_ON_EQUATOR'.
     * - `VIEW_ON_EQUATOR`: View on Equator (3D view is on the equator)
     * - `VIEW_ON_POLES`: View on Poles (3D view is on the poles)
     * - `ALIGN_TO_OBJECT`: Align to Object (Align according to object transform)
     */
    direction?: H.In<"VIEW_ON_EQUATOR" | "VIEW_ON_POLES" | "ALIGN_TO_OBJECT">;
    /**
     * How to determine rotation around the pole Default: 'POLAR_ZX'.
     * - `POLAR_ZX`: Polar ZX (Polar 0 is X)
     * - `POLAR_ZY`: Polar ZY (Polar 0 is Y)
     */
    align?: H.In<"POLAR_ZX" | "POLAR_ZY">;
    /**
     * How to handle faces at the poles Default: 'PINCH'.
     * - `PINCH`: Pinch (UVs are pinched at the poles)
     * - `FAN`: Fan (UVs are fanned at the poles)
     */
    pole?: H.In<"PINCH" | "FAN">;
    /** Separate projections by islands isolated by seams Default: False. */
    seam?: H.In<boolean>;
    /** Radius of the sphere or cylinder Default: 1.0. */
    radius?: H.In<number>;
    /** Map UVs taking aspect ratio of the image associated with the material into account Default: True. */
    correct_aspect?: H.In<boolean>;
    /** Clip UV coordinates to bounds after unwrapping Default: False. */
    clip_to_bounds?: H.In<boolean>;
    /** Scale UV coordinates to bounds after unwrapping Default: False. */
    scale_to_bounds?: H.In<boolean>;
  }>;
  /**
   * Export UV layout to file
   *
   * bpy.ops.uv.export_layout
   */
  export_layout: H.Operator<{
    /** Default: "". */
    filepath?: H.In<string>;
    /** Export all UVs in this mesh (not just visible ones) Default: False. */
    export_all?: H.In<boolean>;
    /**
     * Choose whether to export only the [0, 1] range, or all UV tiles Default: 'NONE'.
     * - `NONE`: None (Export only UVs in the [0, 1] range)
     * - `UDIM`: UDIM (Export tiles in the UDIM numbering scheme: 1001 + u_tile + 10*v_tile)
     * - `UV`: UVTILE (Export tiles in the UVTILE numbering scheme: u(u_tile + 1)_v(v_tile + 1))
     */
    export_tiles?: H.In<"NONE" | "UDIM" | "UV">;
    /** Exports UVs from the modified mesh Default: False. */
    modified?: H.In<boolean>;
    /**
     * File format to export the UV layout to Default: 'PNG'.
     * - `SVG`: Scalable Vector Graphic (.svg) (Export the UV layout to a vector SVG file)
     * - `EPS`: Encapsulated PostScript (.eps) (Export the UV layout to a vector EPS file)
     * - `PNG`: PNG Image (.png) (Export the UV layout to a bitmap image)
     */
    mode?: H.In<"SVG" | "EPS" | "PNG">;
    /** Dimensions of the exported file Default: (1024, 1024). */
    size?: H.In<readonly number[]>;
    /** Set amount of opacity for exported UV layout Default: 0.25. */
    opacity?: H.In<number>;
    /** Default: True. */
    check_existing?: H.In<boolean>;
  }>;
  /**
   * Follow UVs from active quads along continuous face loops
   *
   * bpy.ops.uv.follow_active_quads
   */
  follow_active_quads: H.Operator<{
    /**
     * Method to space UV edge loops Default: 'LENGTH_AVERAGE'.
     * - `EVEN`: Even (Space all UVs evenly)
     * - `LENGTH`: Length (Average space UVs edge length of each loop)
     * - `LENGTH_AVERAGE`: Length Average (Average space UVs edge length of each loop)
     */
    mode?: H.In<"EVEN" | "LENGTH" | "LENGTH_AVERAGE">;
  }>;
  /**
   * Hide (un)selected UV vertices
   *
   * bpy.ops.uv.hide
   */
  hide: H.Operator<{
    /** Hide unselected rather than selected Default: False. */
    unselected?: H.In<boolean>;
  }>;
  /**
   * Pack each face's UVs into the UV bounds
   *
   * bpy.ops.uv.lightmap_pack
   */
  lightmap_pack: H.Operator<{
    /**
     * Selection Default: 'SEL_FACES'.
     * - `SEL_FACES`: Selected Faces (Pack only selected faces)
     * - `ALL_FACES`: All Faces (Pack all faces in the mesh)
     */
    PREF_CONTEXT?: H.In<"SEL_FACES" | "ALL_FACES">;
    /** Objects share texture space, map all objects into a single UV map Default: True. */
    PREF_PACK_IN_ONE?: H.In<boolean>;
    /** Create a new UV map for every mesh packed Default: False. */
    PREF_NEW_UVLAYER?: H.In<boolean>;
    /** Quality of the packing. Higher values will be slower but waste less space Default: 12. */
    PREF_BOX_DIV?: H.In<number>;
    /** Size of the margin as a division of the UV Default: 0.1. */
    PREF_MARGIN_DIV?: H.In<number>;
  }>;
  /**
   * Mark selected UV edges as seams
   *
   * bpy.ops.uv.mark_seam
   */
  mark_seam: H.Operator<{
    /** Clear instead of marking seams Default: False. */
    clear?: H.In<boolean>;
  }>;
  /**
   * Reduce UV stretching by relaxing angles
   *
   * bpy.ops.uv.minimize_stretch
   */
  minimize_stretch: H.Operator<{
    /** Virtually fill holes in mesh before unwrapping, to better avoid overlaps and preserve symmetry Default: True. */
    fill_holes?: H.In<boolean>;
    /** Blend factor between stretch minimized and original Default: 0.0. */
    blend?: H.In<number>;
    /** Number of iterations to run, 0 is unlimited when run interactively Default: 0. */
    iterations?: H.In<number>;
  }>;
  /**
   * Move UVs on an axis
   *
   * bpy.ops.uv.move_on_axis
   */
  move_on_axis: H.Operator<{
    /**
     * Move Type Default: 'UDIM'.
     * - `DYNAMIC`: Dynamic (Move by dynamic grid)
     * - `PIXEL`: Pixel (Move by pixel)
     * - `UDIM`: UDIM (Move by UDIM)
     */
    type?: H.In<"DYNAMIC" | "PIXEL" | "UDIM">;
    /**
     * Axis to move UVs on Default: 'X'.
     * - `X`: X axis (Move vertices on the X axis)
     * - `Y`: Y axis (Move vertices on the Y axis)
     */
    axis?: H.In<"X" | "Y">;
    /** Distance to move UVs Default: 1. */
    distance?: H.In<number>;
  }>;
  /**
   * Transform all islands so that they fill up the UV/UDIM space as much as possible
   *
   * bpy.ops.uv.pack_islands
   */
  pack_islands: H.Operator<{
    /**
     * Pack to Default: 'CLOSEST_UDIM'.
     * - `CLOSEST_UDIM`: Closest UDIM (Pack islands to closest UDIM)
     * - `ACTIVE_UDIM`: Active UDIM (Pack islands to active UDIM image tile or UDIM grid tile where 2D cursor is located)
     * - `ORIGINAL_AABB`: Original bounding box (Pack to starting bounding box of islands)
     * - `CUSTOM_REGION`: Custom Region (Pack islands to custom region)
     */
    udim_source?: H.In<"CLOSEST_UDIM" | "ACTIVE_UDIM" | "ORIGINAL_AABB" | "CUSTOM_REGION">;
    /** Rotate islands to improve layout Default: True. */
    rotate?: H.In<boolean>;
    /**
     * Rotation Method Default: 'ANY'.
     * - `ANY`: Any (Any angle is allowed for rotation)
     * - `CARDINAL`: Cardinal (Only 90 degree rotations are allowed)
     * - `AXIS_ALIGNED`: Axis-aligned (Rotated to a minimal rectangle, either vertical or horizontal)
     * - `AXIS_ALIGNED_X`: Axis-aligned (Horizontal) (Rotate islands to be aligned horizontally)
     * - `AXIS_ALIGNED_Y`: Axis-aligned (Vertical) (Rotate islands to be aligned vertically)
     */
    rotate_method?: H.In<"ANY" | "CARDINAL" | "AXIS_ALIGNED" | "AXIS_ALIGNED_X" | "AXIS_ALIGNED_Y">;
    /** Scale islands to fill unit square Default: True. */
    scale?: H.In<boolean>;
    /** Overlapping islands stick together Default: False. */
    merge_overlap?: H.In<boolean>;
    /**
     * Margin Method Default: 'SCALED'.
     * - `SCALED`: Scaled (Use scale of existing UVs to multiply margin)
     * - `ADD`: Add (Just add the margin, ignoring any UV scale)
     * - `FRACTION`: Fraction (Specify a precise fraction of final UV output)
     */
    margin_method?: H.In<"SCALED" | "ADD" | "FRACTION">;
    /** Space between islands Default: 0.001. */
    margin?: H.In<number>;
    /** Constrain islands containing any pinned UV's Default: False. */
    pin?: H.In<boolean>;
    /**
     * Pin Method Default: 'LOCKED'.
     * - `SCALE`: Scale (Pinned islands won't rescale)
     * - `ROTATION`: Rotation (Pinned islands won't rotate)
     * - `ROTATION_SCALE`: Rotation and Scale (Pinned islands will translate only)
     * - `LOCKED`: All (Pinned islands are locked in place)
     */
    pin_method?: H.In<"SCALE" | "ROTATION" | "ROTATION_SCALE" | "LOCKED">;
    /**
     * Shape Method Default: 'CONCAVE'.
     * - `CONCAVE`: Exact Shape (Concave) (Uses exact geometry)
     * - `CONVEX`: Boundary Shape (Convex) (Uses convex hull)
     * - `AABB`: Bounding Box (Uses bounding boxes)
     */
    shape_method?: H.In<"CONCAVE" | "CONVEX" | "AABB">;
  }>;
  /**
   * Paste selected UV vertices
   *
   * bpy.ops.uv.paste
   */
  paste: H.Operator<{}>;
  /**
   * Set/clear selected UV vertices as anchored between multiple unwrap operations
   *
   * bpy.ops.uv.pin
   */
  pin: H.Operator<{
    /** Clear pinning for the selection instead of setting it Default: False. */
    clear?: H.In<boolean>;
    /** Invert pinning for the selection instead of setting it Default: False. */
    invert?: H.In<boolean>;
  }>;
  /**
   * Project the UV vertices of the mesh as seen in current 3D view
   *
   * bpy.ops.uv.project_from_view
   */
  project_from_view: H.Operator<{
    /** Use orthographic projection Default: False. */
    orthographic?: H.In<boolean>;
    /** Map UVs to the camera region taking resolution and aspect into account Default: True. */
    camera_bounds?: H.In<boolean>;
    /** Map UVs taking aspect ratio of the image associated with the material into account Default: True. */
    correct_aspect?: H.In<boolean>;
    /** Clip UV coordinates to bounds after unwrapping Default: False. */
    clip_to_bounds?: H.In<boolean>;
    /** Scale UV coordinates to bounds after unwrapping Default: False. */
    scale_to_bounds?: H.In<boolean>;
  }>;
  /**
   * Randomize the UV island's location, rotation, and scale
   *
   * bpy.ops.uv.randomize_uv_transform
   */
  randomize_uv_transform: H.Operator<{
    /** Seed value for the random generator Default: 0. */
    random_seed?: H.In<number>;
    /** Randomize the location values Default: True. */
    use_loc?: H.In<boolean>;
    /** Maximum distance the objects can spread over each axis Default: (0.0, 0.0). */
    loc?: H.In<M.VectorLike>;
    /** Randomize the rotation value Default: True. */
    use_rot?: H.In<boolean>;
    /** Maximum rotation Default: 0.0. */
    rot?: H.In<number>;
    /** Randomize the scale values Default: True. */
    use_scale?: H.In<boolean>;
    /** Use the same scale value for both axes Default: False. */
    scale_even?: H.In<boolean>;
    /** Maximum scale randomization over each axis Default: (1.0, 1.0). */
    scale?: H.In<readonly number[]>;
  }>;
  /**
   * Selected UV vertices that are within a radius of each other are welded together
   *
   * bpy.ops.uv.remove_doubles
   */
  remove_doubles: H.Operator<{
    /** Maximum distance between welded vertices Default: 0.02. */
    threshold?: H.In<number>;
    /** Merge selected to other unselected vertices Default: False. */
    use_unselected?: H.In<boolean>;
    /** Weld UVs based on shared vertices Default: False. */
    use_shared_vertex?: H.In<boolean>;
  }>;
  /**
   * Reset UV projection
   *
   * bpy.ops.uv.reset
   */
  reset: H.Operator<{}>;
  /**
   * Reveal all hidden UV vertices
   *
   * bpy.ops.uv.reveal
   */
  reveal: H.Operator<{
    /** Select Default: True. */
    select?: H.In<boolean>;
  }>;
  /**
   * Rip selected vertices or a selected region
   *
   * bpy.ops.uv.rip
   */
  rip: H.Operator<{
    /** Mirror Editing Default: False. */
    mirror?: H.In<boolean>;
    /** Always confirm operation when releasing button Default: False. */
    release_confirm?: H.In<boolean>;
    /** Use accurate transformation Default: False. */
    use_accurate?: H.In<boolean>;
    /** Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds Default: (0.0, 0.0). */
    location?: H.In<M.VectorLike>;
  }>;
  /**
   * Unstitch UVs and move the result
   *
   * bpy.ops.uv.rip_move
   */
  rip_move: H.Operator<{
    /** Rip selected vertices or a selected region */
    UV_OT_rip?: any;
    /** Move selected items */
    TRANSFORM_OT_translate?: any;
  }>;
  /**
   * Set mesh seams according to island setup in the UV editor
   *
   * bpy.ops.uv.seams_from_islands
   */
  seams_from_islands: H.Operator<{
    /** Mark boundary edges as seams Default: True. */
    mark_seams?: H.In<boolean>;
    /** Mark boundary edges as sharp Default: False. */
    mark_sharp?: H.In<boolean>;
  }>;
  /**
   * Select UV vertices
   *
   * bpy.ops.uv.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>;
    /** Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds Default: (0.0, 0.0). */
    location?: H.In<M.VectorLike>;
  }>;
  /**
   * Change selection of all UV vertices
   *
   * bpy.ops.uv.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 UV vertices using box selection
   *
   * bpy.ops.uv.select_box
   */
  select_box: H.Operator<{
    /** Border select pinned UVs only Default: False. */
    pinned?: 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">;
  }>;
  /**
   * Select UV faces by their winding
   *
   * bpy.ops.uv.select_by_winding
   */
  select_by_winding: H.Operator<{
    /**
     * Select faces with positive or negative winding Default: 'NEGATIVE'.
     * - `POSITIVE`: Positive
     * - `NEGATIVE`: Negative
     */
    winding?: H.In<"POSITIVE" | "NEGATIVE">;
    /** Extend selection rather than clearing the existing selection Default: False. */
    extend?: H.In<boolean>;
  }>;
  /**
   * Select UV vertices using circle selection
   *
   * bpy.ops.uv.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 an edge ring of connected UV vertices
   *
   * bpy.ops.uv.select_edge_ring
   */
  select_edge_ring: H.Operator<{
    /** Extend selection rather than clearing the existing selection Default: False. */
    extend?: H.In<boolean>;
    /** Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds Default: (0.0, 0.0). */
    location?: H.In<M.VectorLike>;
  }>;
  /**
   * Select UVs using lasso selection
   *
   * bpy.ops.uv.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">;
  }>;
  /**
   * Deselect UV vertices at the boundary of each selection region
   *
   * bpy.ops.uv.select_less
   */
  select_less: H.Operator<{}>;
  /**
   * Select all UV vertices linked to the active UV map
   *
   * bpy.ops.uv.select_linked
   */
  select_linked: H.Operator<{
    /**
     * Delimit selection when selecting linked UVs Default: set().
     * - `SEAM`: Seam (Delimit by edge seams)
     * - `SHARP`: Sharp (Delimit by sharp edges)
     * - `MATERIAL`: Material (Delimit by face material)
     */
    delimit?: H.In<Set<"SEAM" | "SHARP" | "MATERIAL">>;
  }>;
  /**
   * Select all UV vertices linked under the mouse
   *
   * bpy.ops.uv.select_linked_pick
   */
  select_linked_pick: H.Operator<{
    /** Extend selection rather than clearing the existing selection Default: False. */
    extend?: H.In<boolean>;
    /** Deselect linked UV vertices rather than selecting them Default: False. */
    deselect?: H.In<boolean>;
    /**
     * Delimit selection when selecting linked UVs Default: set().
     * - `SEAM`: Seam (Delimit by edge seams)
     * - `SHARP`: Sharp (Delimit by sharp edges)
     * - `MATERIAL`: Material (Delimit by face material)
     */
    delimit?: H.In<Set<"SEAM" | "SHARP" | "MATERIAL">>;
    /** Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds Default: (0.0, 0.0). */
    location?: H.In<M.VectorLike>;
  }>;
  /**
   * Select a loop of connected UV vertices
   *
   * bpy.ops.uv.select_loop
   */
  select_loop: H.Operator<{
    /** Extend selection rather than clearing the existing selection Default: False. */
    extend?: H.In<boolean>;
    /** Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds Default: (0.0, 0.0). */
    location?: H.In<M.VectorLike>;
  }>;
  /**
   * Change UV selection mode
   *
   * bpy.ops.uv.select_mode
   */
  select_mode: H.Operator<{
    /**
     * Type Default: 'VERTEX'.
     * - `VERTEX`: Vertex (Vertex selection mode)
     * - `EDGE`: Edge (Edge selection mode)
     * - `FACE`: Face (Face selection mode)
     */
    type?: H.In<"VERTEX" | "EDGE" | "FACE">;
  }>;
  /**
   * Select more UV vertices connected to initial selection
   *
   * bpy.ops.uv.select_more
   */
  select_more: H.Operator<{}>;
  /**
   * Select all UV faces which overlap each other
   *
   * bpy.ops.uv.select_overlap
   */
  select_overlap: H.Operator<{
    /** Extend selection rather than clearing the existing selection Default: False. */
    extend?: H.In<boolean>;
  }>;
  /**
   * Select all pinned UV vertices
   *
   * bpy.ops.uv.select_pinned
   */
  select_pinned: H.Operator<{}>;
  /**
   * Select similar UVs by property types
   *
   * bpy.ops.uv.select_similar
   */
  select_similar: H.Operator<{
    /** Type Default: 'PIN'. */
    type?: H.In<E.UvSelectSimilarType>;
    /**
     * Compare Default: 'EQUAL'.
     * - `EQUAL`: Equal
     * - `GREATER`: Greater
     * - `LESS`: Less
     */
    compare?: H.In<"EQUAL" | "GREATER" | "LESS">;
    /** Threshold Default: 0.0. */
    threshold?: H.In<number>;
  }>;
  /**
   * Select only entirely selected faces
   *
   * bpy.ops.uv.select_split
   */
  select_split: H.Operator<{}>;
  /**
   * Select UVs in specified tile
   *
   * bpy.ops.uv.select_tile
   */
  select_tile: H.Operator<{
    /** Extend the selection Default: False. */
    extend?: H.In<boolean>;
    /** Tile location to select UVs Default: (0, 0). */
    tile?: H.In<readonly number[]>;
  }>;
  /**
   * Select shortest path between two selections
   *
   * bpy.ops.uv.shortest_path_pick
   */
  shortest_path_pick: H.Operator<{
    /** Traverse connected faces (includes diagonals and edge-rings) Default: False. */
    use_face_step?: H.In<boolean>;
    /** Find the minimum number of steps, ignoring spatial distance Default: False. */
    use_topology_distance?: H.In<boolean>;
    /** Select all paths between the source/destination elements Default: False. */
    use_fill?: H.In<boolean>;
    /** Number of deselected elements in the repetitive sequence Default: 0. */
    skip?: H.In<number>;
    /** Number of selected elements in the repetitive sequence Default: 1. */
    nth?: H.In<number>;
    /** Offset from the starting point Default: 0. */
    offset?: H.In<number>;
    /** Default: -1. */
    object_index?: H.In<number>;
    /** Default: -1. */
    index?: H.In<number>;
  }>;
  /**
   * Select shortest path between two vertices/edges/faces
   *
   * bpy.ops.uv.shortest_path_select
   */
  shortest_path_select: H.Operator<{
    /** Traverse connected faces (includes diagonals and edge-rings) Default: False. */
    use_face_step?: H.In<boolean>;
    /** Find the minimum number of steps, ignoring spatial distance Default: False. */
    use_topology_distance?: H.In<boolean>;
    /** Select all paths between the source/destination elements Default: False. */
    use_fill?: H.In<boolean>;
    /** Number of deselected elements in the repetitive sequence Default: 0. */
    skip?: H.In<number>;
    /** Number of selected elements in the repetitive sequence Default: 1. */
    nth?: H.In<number>;
    /** Offset from the starting point Default: 0. */
    offset?: H.In<number>;
  }>;
  /**
   * Projection unwraps the selected faces of mesh objects
   *
   * bpy.ops.uv.smart_project
   */
  smart_project: H.Operator<{
    /** Lower for more projection groups, higher for less distortion Default: 1.15192. */
    angle_limit?: H.In<number>;
    /**
     * Margin Method Default: 'SCALED'.
     * - `SCALED`: Scaled (Use scale of existing UVs to multiply margin)
     * - `ADD`: Add (Just add the margin, ignoring any UV scale)
     * - `FRACTION`: Fraction (Specify a precise fraction of final UV output)
     */
    margin_method?: H.In<"SCALED" | "ADD" | "FRACTION">;
    /**
     * Rotation Method Default: 'AXIS_ALIGNED_Y'.
     * - `AXIS_ALIGNED`: Axis-aligned (Rotated to a minimal rectangle, either vertical or horizontal)
     * - `AXIS_ALIGNED_X`: Axis-aligned (Horizontal) (Rotate islands to be aligned horizontally)
     * - `AXIS_ALIGNED_Y`: Axis-aligned (Vertical) (Rotate islands to be aligned vertically)
     */
    rotate_method?: H.In<"AXIS_ALIGNED" | "AXIS_ALIGNED_X" | "AXIS_ALIGNED_Y">;
    /** Margin to reduce bleed from adjacent islands Default: 0.0. */
    island_margin?: H.In<number>;
    /** Weight projection's vector by faces with larger areas Default: 0.0. */
    area_weight?: H.In<number>;
    /** Map UVs taking aspect ratio of the image associated with the material into account Default: True. */
    correct_aspect?: H.In<boolean>;
    /** Scale UV coordinates to bounds after unwrapping Default: False. */
    scale_to_bounds?: H.In<boolean>;
  }>;
  /**
   * Snap cursor to target type
   *
   * bpy.ops.uv.snap_cursor
   */
  snap_cursor: H.Operator<{
    /**
     * Target to snap the selected UVs to Default: 'PIXELS'.
     * - `PIXELS`: Pixels
     * - `SELECTED`: Selected
     * - `ORIGIN`: Origin
     */
    target?: H.In<"PIXELS" | "SELECTED" | "ORIGIN">;
  }>;
  /**
   * Snap selected UV vertices to target type
   *
   * bpy.ops.uv.snap_selected
   */
  snap_selected: H.Operator<{
    /**
     * Target to snap the selected UVs to Default: 'PIXELS'.
     * - `PIXELS`: Pixels
     * - `CURSOR`: Cursor
     * - `CURSOR_OFFSET`: Cursor (Offset)
     * - `ADJACENT_UNSELECTED`: Adjacent Unselected
     */
    target?: H.In<"PIXELS" | "CURSOR" | "CURSOR_OFFSET" | "ADJACENT_UNSELECTED">;
  }>;
  /**
   * Project the UV vertices of the mesh over the curved surface of a sphere
   *
   * bpy.ops.uv.sphere_project
   */
  sphere_project: H.Operator<{
    /**
     * Direction of the sphere or cylinder Default: 'VIEW_ON_EQUATOR'.
     * - `VIEW_ON_EQUATOR`: View on Equator (3D view is on the equator)
     * - `VIEW_ON_POLES`: View on Poles (3D view is on the poles)
     * - `ALIGN_TO_OBJECT`: Align to Object (Align according to object transform)
     */
    direction?: H.In<"VIEW_ON_EQUATOR" | "VIEW_ON_POLES" | "ALIGN_TO_OBJECT">;
    /**
     * How to determine rotation around the pole Default: 'POLAR_ZX'.
     * - `POLAR_ZX`: Polar ZX (Polar 0 is X)
     * - `POLAR_ZY`: Polar ZY (Polar 0 is Y)
     */
    align?: H.In<"POLAR_ZX" | "POLAR_ZY">;
    /**
     * How to handle faces at the poles Default: 'PINCH'.
     * - `PINCH`: Pinch (UVs are pinched at the poles)
     * - `FAN`: Fan (UVs are fanned at the poles)
     */
    pole?: H.In<"PINCH" | "FAN">;
    /** Separate projections by islands isolated by seams Default: False. */
    seam?: H.In<boolean>;
    /** Map UVs taking aspect ratio of the image associated with the material into account Default: True. */
    correct_aspect?: H.In<boolean>;
    /** Clip UV coordinates to bounds after unwrapping Default: False. */
    clip_to_bounds?: H.In<boolean>;
    /** Scale UV coordinates to bounds after unwrapping Default: False. */
    scale_to_bounds?: H.In<boolean>;
  }>;
  /**
   * Stitch selected UV vertices by proximity
   *
   * bpy.ops.uv.stitch
   */
  stitch: H.Operator<{
    /** Stitch UVs within a specified limit distance Default: False. */
    use_limit?: H.In<boolean>;
    /** Snap islands together (on edge stitch mode, rotates the islands too) Default: True. */
    snap_islands?: H.In<boolean>;
    /** Limit distance in normalized coordinates Default: 0.01. */
    limit?: H.In<number>;
    /** Island that stays in place when stitching islands Default: 0. */
    static_island?: H.In<number>;
    /** Index of the active object Default: 0. */
    active_object_index?: H.In<number>;
    /** UVs are stitched at midpoint instead of at static island Default: False. */
    midpoint_snap?: H.In<boolean>;
    /** Clear seams of stitched edges Default: True. */
    clear_seams?: H.In<boolean>;
    /**
     * Use vertex or edge stitching Default: 'VERTEX'.
     * - `VERTEX`: Vertex
     * - `EDGE`: Edge
     */
    mode?: H.In<"VERTEX" | "EDGE">;
    /**
     * Use vertex or edge stitching Default: 'VERTEX'.
     * - `VERTEX`: Vertex
     * - `EDGE`: Edge
     */
    stored_mode?: H.In<"VERTEX" | "EDGE">;
    /** Selection */
    selection?: H.In<readonly Record<string, any>[]>;
    /** Objects Selection Count Default: (0, 0, 0, 0, 0, 0). */
    objects_selection_count?: H.In<readonly number[]>;
  }>;
  /**
   * Unwrap the mesh of the object being edited
   *
   * bpy.ops.uv.unwrap
   */
  unwrap: H.Operator<{
    /**
     * Unwrapping method (Angle Based usually gives better results than Conformal, while being somewhat slower) Default: 'CONFORMAL'.
     * - `ANGLE_BASED`: Angle Based
     * - `CONFORMAL`: Conformal
     * - `MINIMUM_STRETCH`: Minimum Stretch
     */
    method?: H.In<"ANGLE_BASED" | "CONFORMAL" | "MINIMUM_STRETCH">;
    /** Virtually fill holes in mesh before unwrapping, to better avoid overlaps and preserve symmetry Default: False. */
    fill_holes?: H.In<boolean>;
    /** Map UVs taking aspect ratio of the image associated with the material into account Default: True. */
    correct_aspect?: H.In<boolean>;
    /** Map UVs taking vertex position after Subdivision Surface modifier has been applied Default: False. */
    use_subsurf_data?: H.In<boolean>;
    /** Unwrap islands into their original bounds, instead of re-packing Default: False. */
    use_original_bounds?: H.In<boolean>;
    /**
     * Margin Method Default: 'SCALED'.
     * - `SCALED`: Scaled (Use scale of existing UVs to multiply margin)
     * - `ADD`: Add (Just add the margin, ignoring any UV scale)
     * - `FRACTION`: Fraction (Specify a precise fraction of final UV output)
     */
    margin_method?: H.In<"SCALED" | "ADD" | "FRACTION">;
    /** Space between islands Default: 0.001. */
    margin?: H.In<number>;
    /** Prevent flipping UV's, flipping may lower distortion depending on the position of pins Default: False. */
    no_flip?: H.In<boolean>;
    /** Number of iterations when "Minimum Stretch" method is used Default: 10. */
    iterations?: H.In<number>;
    /** Whether to take into account per-vertex importance weights Default: False. */
    use_weights?: H.In<boolean>;
    /** Vertex group name for importance weights (modulating the deform) Default: "uv_importance". */
    weight_group?: H.In<string>;
    /** How much influence the weightmap has for weighted parameterization, 0 being no influence Default: 1.0. */
    weight_factor?: H.In<number>;
  }>;
  /**
   * Weld selected UV vertices together
   *
   * bpy.ops.uv.weld
   */
  weld: H.Operator<{}>;
}