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";
import type * as P from "../py";
/** bpy.types.WORKSPACE_UL_addons_items */
export interface WORKSPACE_UL_addons_items extends R.UIList {
}
/**
* Walk navigation settings
*
* bpy.types.WalkNavigation
*/
export interface WalkNavigation extends R.bpy_struct {
/** Speed factor for when looking around, high values mean faster mouse movement Range: 0.009999999776482582 to 10. Default: 1.0. */
get mouse_speed(): H.Ref<number>;
set mouse_speed(v: H.In<number>);
/** Base speed for walking and flying Range: 0.009999999776482582 to 100. Default: 2.5. */
get walk_speed(): H.Ref<number>;
set walk_speed(v: H.In<number>);
/** Multiplication factor when using the fast or slow modifiers Range: 0.009999999776482582 to 10. Default: 5.0. */
get walk_speed_factor(): H.Ref<number>;
set walk_speed_factor(v: H.In<number>);
/** View distance from the floor when walking Range: 0 to 1000. Default: 1.6. */
get view_height(): H.Ref<number>;
set view_height(v: H.In<number>);
/** Maximum height of a jump Range: 0.10000000149011612 to 100. Default: 0.4. */
get jump_height(): H.Ref<number>;
set jump_height(v: H.In<number>);
/** Interval of time warp when teleporting in navigation mode Range: 0 to 10. Default: 0.2. */
get teleport_time(): H.Ref<number>;
set teleport_time(v: H.In<number>);
/** Walk with gravity, or free navigate Default: False. */
get use_gravity(): H.Ref<boolean>;
set use_gravity(v: H.In<boolean>);
/** Reverse the vertical movement of the mouse Default: False. */
get use_mouse_reverse(): H.Ref<boolean>;
set use_mouse_reverse(v: H.In<boolean>);
}
/**
* Warp modifier
*
* bpy.types.WarpModifier
*/
export interface WarpModifier extends R.Modifier {
/** Object to transform from */
get object_from(): H.Ptr<R.Object>;
set object_from(v: R.Object | null);
/** Bone to transform from Default: "". */
get bone_from(): H.Ref<string>;
set bone_from(v: H.In<string>);
/** Object to transform to */
get object_to(): H.Ptr<R.Object>;
set object_to(v: R.Object | null);
/** Bone defining offset Default: "". */
get bone_to(): H.Ref<string>;
set bone_to(v: H.In<string>);
/** Strength Default: 1.0. */
get strength(): H.Ref<number>;
set strength(v: H.In<number>);
/** Falloff Type Default: 'SMOOTH'. */
get falloff_type(): H.Ref<E.GreasePencilHookModifierFalloffType>;
set falloff_type(v: H.In<E.GreasePencilHookModifierFalloffType>);
/** Radius to apply Default: 1.0. */
get falloff_radius(): H.Ref<number>;
set falloff_radius(v: H.In<number>);
/** Custom falloff curve */
get falloff_curve(): H.Ptr<R.CurveMapping>;
/** Preserve volume when rotations are used Default: False. */
get use_volume_preserve(): H.Ref<boolean>;
set use_volume_preserve(v: H.In<boolean>);
/** Vertex group name for modulating the deform Default: "". */
get vertex_group(): H.Ref<string>;
set vertex_group(v: H.In<string>);
/** Invert vertex group influence Default: False. */
get invert_vertex_group(): H.Ref<boolean>;
set invert_vertex_group(v: H.In<boolean>);
/** Texture */
get texture(): H.Ptr<R.Texture>;
set texture(v: R.Texture | null);
/**
* Texture Coordinates Default: 'LOCAL'.
* - `LOCAL`: Local (Use the local coordinate system for the texture coordinates)
* - `GLOBAL`: Global (Use the global coordinate system for the texture coordinates)
* - `OBJECT`: Object (Use the linked object's local coordinate system for the texture coordinates)
* - `UV`: UV (Use UV coordinates for the texture coordinates)
*/
get texture_coords(): H.Ref<"LOCAL" | "GLOBAL" | "OBJECT" | "UV">;
set texture_coords(v: H.In<"LOCAL" | "GLOBAL" | "OBJECT" | "UV">);
/** UV map name Default: "". */
get uv_layer(): H.Ref<string>;
set uv_layer(v: H.In<string>);
/** Object to set the texture coordinates */
get texture_coords_object(): H.Ptr<R.Object>;
set texture_coords_object(v: R.Object | null);
/** Bone to set the texture coordinates Default: "". */
get texture_coords_bone(): H.Ref<string>;
set texture_coords_bone(v: H.In<string>);
}
/**
* Wave effect modifier
*
* bpy.types.WaveModifier
*/
export interface WaveModifier extends R.Modifier {
/** X axis motion Default: True. */
get use_x(): H.Ref<boolean>;
set use_x(v: H.In<boolean>);
/** Y axis motion Default: True. */
get use_y(): H.Ref<boolean>;
set use_y(v: H.In<boolean>);
/** Cyclic wave effect Default: True. */
get use_cyclic(): H.Ref<boolean>;
set use_cyclic(v: H.In<boolean>);
/** Displace along normals Default: False. */
get use_normal(): H.Ref<boolean>;
set use_normal(v: H.In<boolean>);
/** Enable displacement along the X normal Default: True. */
get use_normal_x(): H.Ref<boolean>;
set use_normal_x(v: H.In<boolean>);
/** Enable displacement along the Y normal Default: True. */
get use_normal_y(): H.Ref<boolean>;
set use_normal_y(v: H.In<boolean>);
/** Enable displacement along the Z normal Default: True. */
get use_normal_z(): H.Ref<boolean>;
set use_normal_z(v: H.In<boolean>);
/** Either the starting frame (for positive speed) or ending frame (for negative speed) Range: -1048574 to 1048574. Default: 0.0. */
get time_offset(): H.Ref<number>;
set time_offset(v: H.In<number>);
/** Lifetime of the wave in frames, zero means infinite Range: -1048574 to 1048574. Default: 0.0. */
get lifetime(): H.Ref<number>;
set lifetime(v: H.In<number>);
/** Number of frames in which the wave damps out after it dies Range: -1048574 to 1048574. Default: 10.0. */
get damping_time(): H.Ref<number>;
set damping_time(v: H.In<number>);
/** Distance after which it fades out Range: 0 to inf. Default: 0.0. */
get falloff_radius(): H.Ref<number>;
set falloff_radius(v: H.In<number>);
/** X coordinate of the start position Default: 0.0. */
get start_position_x(): H.Ref<number>;
set start_position_x(v: H.In<number>);
/** Y coordinate of the start position Default: 0.0. */
get start_position_y(): H.Ref<number>;
set start_position_y(v: H.In<number>);
/** Object which defines the wave center */
get start_position_object(): H.Ptr<R.Object>;
set start_position_object(v: R.Object | null);
/** Vertex group name for modulating the wave Default: "". */
get vertex_group(): H.Ref<string>;
set vertex_group(v: H.In<string>);
/** Invert vertex group influence Default: False. */
get invert_vertex_group(): H.Ref<boolean>;
set invert_vertex_group(v: H.In<boolean>);
/** Speed of the wave, towards the starting point when negative Default: 0.25. */
get speed(): H.Ref<number>;
set speed(v: H.In<number>);
/** Height of the wave Default: 0.5. */
get height(): H.Ref<number>;
set height(v: H.In<number>);
/** Distance between the waves Range: 0 to inf. Default: 1.5. */
get width(): H.Ref<number>;
set width(v: H.In<number>);
/** Distance between the top and the base of a wave, the higher the value, the more narrow the wave Range: 0 to inf. Default: 1.5. */
get narrowness(): H.Ref<number>;
set narrowness(v: H.In<number>);
/** Texture */
get texture(): H.Ptr<R.Texture>;
set texture(v: R.Texture | null);
/**
* Texture Coordinates Default: 'LOCAL'.
* - `LOCAL`: Local (Use the local coordinate system for the texture coordinates)
* - `GLOBAL`: Global (Use the global coordinate system for the texture coordinates)
* - `OBJECT`: Object (Use the linked object's local coordinate system for the texture coordinates)
* - `UV`: UV (Use UV coordinates for the texture coordinates)
*/
get texture_coords(): H.Ref<"LOCAL" | "GLOBAL" | "OBJECT" | "UV">;
set texture_coords(v: H.In<"LOCAL" | "GLOBAL" | "OBJECT" | "UV">);
/** UV map name Default: "". */
get uv_layer(): H.Ref<string>;
set uv_layer(v: H.In<string>);
/** Object to set the texture coordinates */
get texture_coords_object(): H.Ptr<R.Object>;
set texture_coords_object(v: R.Object | null);
/** Bone to set the texture coordinates Default: "". */
get texture_coords_bone(): H.Ref<string>;
set texture_coords_bone(v: H.In<string>);
}
/** bpy.types.WeightedNormalModifier */
export interface WeightedNormalModifier extends R.Modifier {
/** Corrective factor applied to faces' weights, 50 is neutral, lower values increase weight of weak faces, higher values increase weight of strong faces Range: 1 to 100. Default: 50. */
get weight(): H.Ref<number>;
set weight(v: H.In<number>);
/**
* Weighted vertex normal mode to use Default: 'FACE_AREA'.
* - `FACE_AREA`: Face Area (Generate face area weighted normals)
* - `CORNER_ANGLE`: Corner Angle (Generate corner angle weighted normals)
* - `FACE_AREA_WITH_ANGLE`: Face Area & Angle (Generated normals weighted by both face area and angle)
*/
get mode(): H.Ref<"FACE_AREA" | "CORNER_ANGLE" | "FACE_AREA_WITH_ANGLE">;
set mode(v: H.In<"FACE_AREA" | "CORNER_ANGLE" | "FACE_AREA_WITH_ANGLE">);
/** Threshold value for different weights to be considered equal Range: 0 to 10. Default: 0.01. */
get thresh(): H.Ref<number>;
set thresh(v: H.In<number>);
/** Keep sharp edges as computed for default custom normals, instead of setting a single weighted normal for each vertex Default: False. */
get keep_sharp(): H.Ref<boolean>;
set keep_sharp(v: H.In<boolean>);
/** Vertex group name for modifying the selected areas Default: "". */
get vertex_group(): H.Ref<string>;
set vertex_group(v: H.In<string>);
/** Invert vertex group influence Default: False. */
get invert_vertex_group(): H.Ref<boolean>;
set invert_vertex_group(v: H.In<boolean>);
/** Use influence of face for weighting Default: False. */
get use_face_influence(): H.Ref<boolean>;
set use_face_influence(v: H.In<boolean>);
}
/**
* Weld modifier
*
* bpy.types.WeldModifier
*/
export interface WeldModifier extends R.Modifier {
/**
* Mode defines the merge rule Default: 'ALL'.
* - `ALL`: All (Full merge by distance)
* - `CONNECTED`: Connected (Only merge along the edges)
*/
get mode(): H.Ref<"ALL" | "CONNECTED">;
set mode(v: H.In<"ALL" | "CONNECTED">);
/** Limit below which to merge vertices Range: 0 to inf. Default: 0.001. */
get merge_threshold(): H.Ref<number>;
set merge_threshold(v: H.In<number>);
/** Vertex group name for selecting the affected areas Default: "". */
get vertex_group(): H.Ref<string>;
set vertex_group(v: H.In<string>);
/** Invert vertex group influence Default: False. */
get invert_vertex_group(): H.Ref<boolean>;
set invert_vertex_group(v: H.In<boolean>);
/** Collapse edges without faces, cloth sewing edges Default: False. */
get loose_edges(): H.Ref<boolean>;
set loose_edges(v: H.In<boolean>);
}
/**
* White balance modifier for sequence strip
*
* bpy.types.WhiteBalanceModifier
*/
export interface WhiteBalanceModifier extends R.StripModifier {
/** This color defines white in the strip Range: 0 to 1. Default: (0.0, 0.0, 0.0). */
get white_value(): H.Remote<M.Color>;
set white_value(v: H.In<M.Color | readonly number[]>);
/** Default: False. */
get open_mask_input_panel(): H.Ref<boolean>;
set open_mask_input_panel(v: H.In<boolean>);
}
/** bpy.types.WholeCharacter */
export interface WholeCharacter extends R.KeyingSetInfo {
}
/** bpy.types.WholeCharacterSelected */
export interface WholeCharacterSelected extends R.KeyingSetInfo {
}
/**
* Open window
*
* bpy.types.Window
*/
export interface Window extends R.bpy_struct {
/** Active workspace and scene follow this window */
get parent(): H.Ptr<R.Window>;
/** Active scene to be edited in the window */
get scene(): H.Own<R.Scene>;
set scene(v: R.Scene);
/** Active workspace showing in the window */
get workspace(): H.Own<R.WorkSpace>;
set workspace(v: R.WorkSpace);
/** Active workspace screen showing in the window */
get screen(): H.Own<R.Screen>;
set screen(v: R.Screen);
/** The active workspace view layer showing in the window */
get view_layer(): H.Own<R.ViewLayer>;
set view_layer(v: R.ViewLayer);
/** Horizontal location of the window Range: -32768 to 32767. Default: 0. */
get x(): H.Ref<number>;
/** Vertical location of the window Range: -32768 to 32767. Default: 0. */
get y(): H.Ref<number>;
/** Window width Range: 0 to 32767. Default: 0. */
get width(): H.Ref<number>;
/** Window height Range: 0 to 32767. Default: 0. */
get height(): H.Ref<number>;
/** Settings for stereo 3D display */
get stereo_3d_display(): H.Own<R.Stereo3dDisplay>;
/** The window has a HDR graphics buffer that wide gamut and high dynamic range colors can be written to, in extended sRGB color space. Default: False. */
get support_hdr_color(): H.Ref<boolean>;
/** A list of currently running modal operators */
readonly modal_operators: H.Own<H.Coll<R.Operator>>;
/** Set the cursor position */
cursor_warp(x: H.In<number>, y: H.In<number>): H.Ref<void>;
/** Set the cursor position */
cursor_warp(kw: { x: H.In<number>; y: H.In<number> }): H.Ref<void>;
/** Set the cursor */
cursor_set(cursor: H.In<E.MacroBlCursorPending>): H.Ref<void>;
/** Set the cursor */
cursor_set(kw: { cursor: H.In<E.MacroBlCursorPending> }): H.Ref<void>;
/** Set the cursor, so the previous cursor can be restored */
cursor_modal_set(cursor: H.In<E.MacroBlCursorPending>): H.Ref<void>;
/** Set the cursor, so the previous cursor can be restored */
cursor_modal_set(kw: { cursor: H.In<E.MacroBlCursorPending> }): H.Ref<void>;
/** Restore the previous cursor after calling ``cursor_modal_set`` */
cursor_modal_restore(): H.Ref<void>;
/** event_simulate */
event_simulate(type: H.In<E.EventType>, value: H.In<E.EventValue>, unicode?: H.In<string>, x?: H.In<number>, y?: H.In<number>, shift?: H.In<boolean>, ctrl?: H.In<boolean>, alt?: H.In<boolean>, oskey?: H.In<boolean>, hyper?: H.In<boolean>): H.Ptr<R.Event>;
/** event_simulate */
event_simulate(type: H.In<E.EventType>, value: H.In<E.EventValue>, kw: {
unicode?: H.In<string>;
x?: H.In<number>;
y?: H.In<number>;
shift?: H.In<boolean>;
ctrl?: H.In<boolean>;
alt?: H.In<boolean>;
oskey?: H.In<boolean>;
hyper?: H.In<boolean>;
}): H.Ptr<R.Event>;
/** event_simulate */
event_simulate(kw: {
type: H.In<E.EventType>;
value: H.In<E.EventValue>;
unicode?: H.In<string>;
x?: H.In<number>;
y?: H.In<number>;
shift?: H.In<boolean>;
ctrl?: H.In<boolean>;
alt?: H.In<boolean>;
oskey?: H.In<boolean>;
hyper?: H.In<boolean>;
}): H.Ptr<R.Event>;
/**
* find_playing_scene
* @param scrub Check if time in the scene is being scrubbed
*/
find_playing_scene(scrub?: H.In<boolean>): H.Ptr<R.Scene>;
/**
* find_playing_scene
* @param scrub Check if time in the scene is being scrubbed
*/
find_playing_scene(kw: {
/** Check if time in the scene is being scrubbed */
scrub?: H.In<boolean>;
}): H.Ptr<R.Scene>;
/**
* Capture the windows pixel data.
* @returns A read-only :class:`memoryview` of shape ``(height, width, 4)`` and format ``'B'``, viewing the captured RGBA pixels (rows ordered from bottom to top).
*/
screenshot(kw?: {
/**
* The region to capture, or ``None`` to capture all.
* Each int pair represents a pixel coordinate (the end value is not inclusive, matching Python slicing): ((min_x, min_y), (max_x, max_y))
*/
region?: H.In<readonly [readonly [number, number], readonly [number, number]] | null>;
/** When false the alpha channel is fully opaque. Otherwise alpha values from the window's frame-buffer are returned as-is. */
use_alpha?: H.In<boolean>;
}): H.Ref<Uint8Array>;
}
/**
* Window manager data-block defining open windows and other user interface data
*
* bpy.types.WindowManager
*/
export interface WindowManager extends R.ID {
/** Operator registry */
readonly operators: H.Own<H.Coll<R.Operator>>;
/** Collection of reports */
readonly reports: H.Own<H.Coll<R.Report>>;
/** Open windows */
readonly windows: H.Own<H.Coll<R.Window> & R.Windows>;
/** Registered key configurations */
readonly keyconfigs: H.Own<H.Coll<R.KeyConfig> & R.KeyConfigurations>;
/** XR Session Settings */
get xr_session_settings(): H.Own<R.XrSessionSettings>;
/** Runtime state information about the VR session */
get xr_session_state(): H.Ptr<R.XrSessionState>;
/** Number of extensions with available update Range: -2147483648 to 2147483647. Default: 0. */
get extensions_updates(): H.Ref<number>;
set extensions_updates(v: H.In<number>);
/** Number of installed extensions which are blocked Range: -2147483648 to 2147483647. Default: 0. */
get extensions_blocked(): H.Ref<number>;
set extensions_blocked(v: H.In<number>);
/** Remaining events in the queue are delayed until the next main loop iteration Default: False. */
get is_event_handling_break(): H.Ref<boolean>;
/** If true, the interface is currently locked by a running job and data should not be modified from application timers. Otherwise, the running job might conflict with the handler causing unexpected results or even crashes. Default: False. */
get is_interface_locked(): H.Ref<boolean>;
/** Name for new preset Default: "New Preset". */
get preset_name(): H.Ref<string>;
set preset_name(v: H.In<string>);
/** Full path to the Blender file containing the active asset Default: "". */
get asset_path_dummy(): H.Ref<string>;
/** Filter by add-on name, author & category Default: "". */
get addon_search(): H.Ref<string>;
set addon_search(v: H.In<string>);
/** Filter add-ons by category Default: ''. */
get addon_filter(): H.Ref<string>;
set addon_filter(v: H.In<string>);
/**
* Display support level Default: {'COMMUNITY', 'OFFICIAL'}.
* - `OFFICIAL`: Official (Officially supported)
* - `COMMUNITY`: Community (Maintained by community developers)
*/
get addon_support(): H.Ref<Set<"OFFICIAL" | "COMMUNITY">>;
set addon_support(v: H.In<Set<"OFFICIAL" | "COMMUNITY">>);
/** Addon Tags */
readonly addon_tags: H.Own<H.Coll<R.BlExtDummyGroup>>;
/** Extension Tags */
readonly extension_tags: H.Own<H.Coll<R.BlExtDummyGroup>>;
/** Filter by extension name, author & category Default: "". */
get extension_search(): H.Ref<string>;
set extension_search(v: H.In<string>);
/**
* Show extensions by type Default: 'ADDON'.
* - `ALL`: All (Show all extension types)
* - `ADDON`: Add-ons (Only show add-ons)
* - `THEME`: Themes (Only show themes)
*/
get extension_type(): H.Ref<"ALL" | "ADDON" | "THEME">;
set extension_type(v: H.In<"ALL" | "ADDON" | "THEME">);
/** Filter Extensions by Tags & Repository Default: False. */
get extension_use_filter(): H.Ref<boolean>;
set extension_use_filter(v: H.In<boolean>);
/** Show the installed extensions panel Default: True. */
get extension_show_panel_installed(): H.Ref<boolean>;
set extension_show_panel_installed(v: H.In<boolean>);
/** Show the available extensions panel Default: True. */
get extension_show_panel_available(): H.Ref<boolean>;
set extension_show_panel_available(v: H.In<boolean>);
/** Filter extensions by repository Default: ''. */
get extension_repo_filter(): H.Ref<string>;
set extension_repo_filter(v: H.In<string>);
get poselib_previous_action(): H.Ptr<R.Action>;
set poselib_previous_action(v: R.Action | null);
/**
* Opens a file selector with an operator.
* @param operator Operator to call
*/
fileselect_add(operator: R.Operator): H.Ref<void>;
/**
* Opens a file selector with an operator.
* @param operator Operator to call
*/
fileselect_add(kw: {
/** Operator to call */
operator: R.Operator;
}): H.Ref<void>;
/**
* Add a modal handler to the window manager, for the given modal operator (called by invoke() with self, just before returning {'RUNNING_MODAL'})
* @param operator Operator to call
*/
modal_handler_add(operator: R.Operator): H.Ref<boolean>;
/**
* Add a modal handler to the window manager, for the given modal operator (called by invoke() with self, just before returning {'RUNNING_MODAL'})
* @param operator Operator to call
*/
modal_handler_add(kw: {
/** Operator to call */
operator: R.Operator;
}): H.Ref<boolean>;
/**
* Add a timer to the given window, to generate periodic 'TIMER' events
* @param time_step Interval in seconds between timer events
* @param window Window to attach the timer to, or None
*/
event_timer_add(time_step: H.In<number>, window?: R.Window | null): H.Ptr<R.Timer>;
/**
* Add a timer to the given window, to generate periodic 'TIMER' events
* @param time_step Interval in seconds between timer events
* @param window Window to attach the timer to, or None
*/
event_timer_add(time_step: H.In<number>, kw: {
/** Window to attach the timer to, or None */
window?: R.Window | null;
}): H.Ptr<R.Timer>;
/**
* Add a timer to the given window, to generate periodic 'TIMER' events
* @param time_step Interval in seconds between timer events
* @param window Window to attach the timer to, or None
*/
event_timer_add(kw: {
/** Interval in seconds between timer events */
time_step: H.In<number>;
/** Window to attach the timer to, or None */
window?: R.Window | null;
}): H.Ptr<R.Timer>;
/** event_timer_remove */
event_timer_remove(timer: R.Timer): H.Ref<void>;
/** event_timer_remove */
event_timer_remove(kw: { timer: R.Timer }): H.Ref<void>;
/**
* Activate an existing widget group (when the persistent option isn't set)
* @param identifier Gizmo group type name
*/
gizmo_group_type_ensure(identifier: H.In<string>): H.Ref<void>;
/**
* Activate an existing widget group (when the persistent option isn't set)
* @param identifier Gizmo group type name
*/
gizmo_group_type_ensure(kw: {
/** Gizmo group type name */
identifier: H.In<string>;
}): H.Ref<void>;
/**
* Unlink a widget group (when the persistent option is set)
* @param identifier Gizmo group type name
*/
gizmo_group_type_unlink_delayed(identifier: H.In<string>): H.Ref<void>;
/**
* Unlink a widget group (when the persistent option is set)
* @param identifier Gizmo group type name
*/
gizmo_group_type_unlink_delayed(kw: {
/** Gizmo group type name */
identifier: H.In<string>;
}): H.Ref<void>;
/**
* Start progress report
* @param min any value in range [0,9999]
* @param max any value in range [min+1,9998]
*/
progress_begin(min: H.In<number>, max: H.In<number>): H.Ref<void>;
/**
* Start progress report
* @param min any value in range [0,9999]
* @param max any value in range [min+1,9998]
*/
progress_begin(kw: {
/** any value in range [0,9999] */
min: H.In<number>;
/** any value in range [min+1,9998] */
max: H.In<number>;
}): H.Ref<void>;
/**
* Update the progress feedback
* @param value Any value between min and max as set in progress_begin()
*/
progress_update(value: H.In<number>): H.Ref<void>;
/**
* Update the progress feedback
* @param value Any value between min and max as set in progress_begin()
*/
progress_update(kw: {
/** Any value between min and max as set in progress_begin() */
value: H.In<number>;
}): H.Ref<void>;
/** Terminate progress report */
progress_end(): H.Ref<void>;
/**
* Operator popup invoke (show operator properties and execute it automatically on changes)
* @param operator Operator to call
* @param event Event
*/
invoke_props_popup(operator: R.Operator, event: R.Event): H.Ref<Set<"RUNNING_MODAL" | "CANCELLED" | "FINISHED" | "PASS_THROUGH" | "INTERFACE">>;
/**
* Operator popup invoke (show operator properties and execute it automatically on changes)
* @param operator Operator to call
* @param event Event
*/
invoke_props_popup(kw: {
/** Operator to call */
operator: R.Operator;
/** Event */
event: R.Event;
}): H.Ref<Set<"RUNNING_MODAL" | "CANCELLED" | "FINISHED" | "PASS_THROUGH" | "INTERFACE">>;
/**
* Operator dialog (non-autoexec popup) invoke (show operator properties and only execute it on click on OK button)
* @param operator Operator to call
* @param width Width of the popup
* @param title Optional text to show as title of the popup
* @param confirm_text Optional text to show instead to the default "OK" confirmation button text
* @param text_ctxt Override automatic translation context of the given text
* @param translate Translate the given text, when UI translation is enabled
*/
invoke_props_dialog(operator: R.Operator, width?: H.In<number>, title?: H.In<string>, confirm_text?: H.In<string>, cancel_default?: H.In<boolean>, text_ctxt?: H.In<string>, translate?: H.In<boolean>): H.Ref<Set<"RUNNING_MODAL" | "CANCELLED" | "FINISHED" | "PASS_THROUGH" | "INTERFACE">>;
/**
* Operator dialog (non-autoexec popup) invoke (show operator properties and only execute it on click on OK button)
* @param operator Operator to call
* @param width Width of the popup
* @param title Optional text to show as title of the popup
* @param confirm_text Optional text to show instead to the default "OK" confirmation button text
* @param text_ctxt Override automatic translation context of the given text
* @param translate Translate the given text, when UI translation is enabled
*/
invoke_props_dialog(operator: R.Operator, kw: {
/** Width of the popup */
width?: H.In<number>;
/** Optional text to show as title of the popup */
title?: H.In<string>;
/** Optional text to show instead to the default "OK" confirmation button text */
confirm_text?: H.In<string>;
cancel_default?: H.In<boolean>;
/** Override automatic translation context of the given text */
text_ctxt?: H.In<string>;
/** Translate the given text, when UI translation is enabled */
translate?: H.In<boolean>;
}): H.Ref<Set<"RUNNING_MODAL" | "CANCELLED" | "FINISHED" | "PASS_THROUGH" | "INTERFACE">>;
/**
* Operator dialog (non-autoexec popup) invoke (show operator properties and only execute it on click on OK button)
* @param operator Operator to call
* @param width Width of the popup
* @param title Optional text to show as title of the popup
* @param confirm_text Optional text to show instead to the default "OK" confirmation button text
* @param text_ctxt Override automatic translation context of the given text
* @param translate Translate the given text, when UI translation is enabled
*/
invoke_props_dialog(kw: {
/** Operator to call */
operator: R.Operator;
/** Width of the popup */
width?: H.In<number>;
/** Optional text to show as title of the popup */
title?: H.In<string>;
/** Optional text to show instead to the default "OK" confirmation button text */
confirm_text?: H.In<string>;
cancel_default?: H.In<boolean>;
/** Override automatic translation context of the given text */
text_ctxt?: H.In<string>;
/** Translate the given text, when UI translation is enabled */
translate?: H.In<boolean>;
}): H.Ref<Set<"RUNNING_MODAL" | "CANCELLED" | "FINISHED" | "PASS_THROUGH" | "INTERFACE">>;
/**
* Operator search popup invoke which searches values of the operator's :class:`bpy.types.Operator.bl_property` (which must be an EnumProperty), executing it on confirmation
* @param operator Operator to call
*/
invoke_search_popup(operator: R.Operator): H.Ref<void>;
/**
* Operator search popup invoke which searches values of the operator's :class:`bpy.types.Operator.bl_property` (which must be an EnumProperty), executing it on confirmation
* @param operator Operator to call
*/
invoke_search_popup(kw: {
/** Operator to call */
operator: R.Operator;
}): H.Ref<void>;
/**
* Operator popup invoke (only shows operator's properties, without executing it)
* @param operator Operator to call
* @param width Width of the popup
*/
invoke_popup(operator: R.Operator, width?: H.In<number>): H.Ref<Set<"RUNNING_MODAL" | "CANCELLED" | "FINISHED" | "PASS_THROUGH" | "INTERFACE">>;
/**
* Operator popup invoke (only shows operator's properties, without executing it)
* @param operator Operator to call
* @param width Width of the popup
*/
invoke_popup(operator: R.Operator, kw: {
/** Width of the popup */
width?: H.In<number>;
}): H.Ref<Set<"RUNNING_MODAL" | "CANCELLED" | "FINISHED" | "PASS_THROUGH" | "INTERFACE">>;
/**
* Operator popup invoke (only shows operator's properties, without executing it)
* @param operator Operator to call
* @param width Width of the popup
*/
invoke_popup(kw: {
/** Operator to call */
operator: R.Operator;
/** Width of the popup */
width?: H.In<number>;
}): H.Ref<Set<"RUNNING_MODAL" | "CANCELLED" | "FINISHED" | "PASS_THROUGH" | "INTERFACE">>;
/**
* Operator confirmation popup (only to let user confirm the execution, no operator properties shown)
* @param operator Operator to call
* @param event Event
* @param title Optional text to show as title of the popup
* @param message Optional first line of content text
* @param confirm_text Optional text to show instead to the default "OK" confirmation button text
* @param icon Optional icon displayed in the dialog - `NONE`: None - `WARNING`: Warning - `QUESTION`: Question - `ERROR`: Error - `INFO`: Info
* @param text_ctxt Override automatic translation context of the given text
* @param translate Translate the given text, when UI translation is enabled
*/
invoke_confirm(operator: R.Operator, event: R.Event, title?: H.In<string>, message?: H.In<string>, confirm_text?: H.In<string>, icon?: H.In<"NONE" | "WARNING" | "QUESTION" | "ERROR" | "INFO">, text_ctxt?: H.In<string>, translate?: H.In<boolean>): H.Ref<Set<"RUNNING_MODAL" | "CANCELLED" | "FINISHED" | "PASS_THROUGH" | "INTERFACE">>;
/**
* Operator confirmation popup (only to let user confirm the execution, no operator properties shown)
* @param operator Operator to call
* @param event Event
* @param title Optional text to show as title of the popup
* @param message Optional first line of content text
* @param confirm_text Optional text to show instead to the default "OK" confirmation button text
* @param icon Optional icon displayed in the dialog - `NONE`: None - `WARNING`: Warning - `QUESTION`: Question - `ERROR`: Error - `INFO`: Info
* @param text_ctxt Override automatic translation context of the given text
* @param translate Translate the given text, when UI translation is enabled
*/
invoke_confirm(operator: R.Operator, event: R.Event, kw: {
/** Optional text to show as title of the popup */
title?: H.In<string>;
/** Optional first line of content text */
message?: H.In<string>;
/** Optional text to show instead to the default "OK" confirmation button text */
confirm_text?: H.In<string>;
/**
* Optional icon displayed in the dialog
* - `NONE`: None
* - `WARNING`: Warning
* - `QUESTION`: Question
* - `ERROR`: Error
* - `INFO`: Info
*/
icon?: H.In<"NONE" | "WARNING" | "QUESTION" | "ERROR" | "INFO">;
/** Override automatic translation context of the given text */
text_ctxt?: H.In<string>;
/** Translate the given text, when UI translation is enabled */
translate?: H.In<boolean>;
}): H.Ref<Set<"RUNNING_MODAL" | "CANCELLED" | "FINISHED" | "PASS_THROUGH" | "INTERFACE">>;
/**
* Operator confirmation popup (only to let user confirm the execution, no operator properties shown)
* @param operator Operator to call
* @param event Event
* @param title Optional text to show as title of the popup
* @param message Optional first line of content text
* @param confirm_text Optional text to show instead to the default "OK" confirmation button text
* @param icon Optional icon displayed in the dialog - `NONE`: None - `WARNING`: Warning - `QUESTION`: Question - `ERROR`: Error - `INFO`: Info
* @param text_ctxt Override automatic translation context of the given text
* @param translate Translate the given text, when UI translation is enabled
*/
invoke_confirm(kw: {
/** Operator to call */
operator: R.Operator;
/** Event */
event: R.Event;
/** Optional text to show as title of the popup */
title?: H.In<string>;
/** Optional first line of content text */
message?: H.In<string>;
/** Optional text to show instead to the default "OK" confirmation button text */
confirm_text?: H.In<string>;
/**
* Optional icon displayed in the dialog
* - `NONE`: None
* - `WARNING`: Warning
* - `QUESTION`: Question
* - `ERROR`: Error
* - `INFO`: Info
*/
icon?: H.In<"NONE" | "WARNING" | "QUESTION" | "ERROR" | "INFO">;
/** Override automatic translation context of the given text */
text_ctxt?: H.In<string>;
/** Translate the given text, when UI translation is enabled */
translate?: H.In<boolean>;
}): H.Ref<Set<"RUNNING_MODAL" | "CANCELLED" | "FINISHED" | "PASS_THROUGH" | "INTERFACE">>;
/** popmenu_begin__internal */
popmenu_begin__internal(title: H.In<string>, icon?: H.In<E.EnumPropertyItemIcon>): H.Own<R.UIPopupMenu>;
/** popmenu_begin__internal */
popmenu_begin__internal(title: H.In<string>, kw: { icon?: H.In<E.EnumPropertyItemIcon> }): H.Own<R.UIPopupMenu>;
/** popmenu_begin__internal */
popmenu_begin__internal(kw: { title: H.In<string>; icon?: H.In<E.EnumPropertyItemIcon> }): H.Own<R.UIPopupMenu>;
/** popmenu_end__internal */
popmenu_end__internal(menu: R.UIPopupMenu): H.Ref<void>;
/** popmenu_end__internal */
popmenu_end__internal(kw: { menu: R.UIPopupMenu }): H.Ref<void>;
/**
* popover_begin__internal
* @param from_active_button Use the active button for positioning
*/
popover_begin__internal(ui_units_x?: H.In<number>, from_active_button?: H.In<boolean>): H.Own<R.UIPopover>;
/**
* popover_begin__internal
* @param from_active_button Use the active button for positioning
*/
popover_begin__internal(kw: {
ui_units_x?: H.In<number>;
/** Use the active button for positioning */
from_active_button?: H.In<boolean>;
}): H.Own<R.UIPopover>;
/**
* popover_end__internal
* @param keymap Active key map
*/
popover_end__internal(menu: R.UIPopover, keymap?: R.KeyMap | null): H.Ref<void>;
/**
* popover_end__internal
* @param keymap Active key map
*/
popover_end__internal(menu: R.UIPopover, kw: {
/** Active key map */
keymap?: R.KeyMap | null;
}): H.Ref<void>;
/**
* popover_end__internal
* @param keymap Active key map
*/
popover_end__internal(kw: {
menu: R.UIPopover;
/** Active key map */
keymap?: R.KeyMap | null;
}): H.Ref<void>;
/** piemenu_begin__internal */
piemenu_begin__internal(title: H.In<string>, icon?: H.In<E.EnumPropertyItemIcon>, event?: R.Event): H.Own<R.UIPieMenu>;
/** piemenu_begin__internal */
piemenu_begin__internal(title: H.In<string>, kw: { icon?: H.In<E.EnumPropertyItemIcon>; event?: R.Event }): H.Own<R.UIPieMenu>;
/** piemenu_begin__internal */
piemenu_begin__internal(kw: { title: H.In<string>; icon?: H.In<E.EnumPropertyItemIcon>; event?: R.Event }): H.Own<R.UIPieMenu>;
/** piemenu_end__internal */
piemenu_end__internal(menu: R.UIPieMenu): H.Ref<void>;
/** piemenu_end__internal */
piemenu_end__internal(kw: { menu: R.UIPieMenu }): H.Ref<void>;
/** operator_properties_last */
operator_properties_last(operator: H.In<string>): H.Own<R.OperatorProperties>;
/** operator_properties_last */
operator_properties_last(kw: { operator: H.In<string> }): H.Own<R.OperatorProperties>;
/** print_undo_steps */
print_undo_steps(): H.Ref<void>;
/** Tag for refreshing the interface after scripts have been reloaded */
tag_script_reload(): H.Ref<void>;
/**
* Inform the asset system that the asset library at the given URL is being loaded.
* @param library_url The URL identifying the asset library being loaded
* @param timeout Maximum time in seconds after which the asset library loading will be considered cancelled, if no further status reporting is done (e.g. by repeated calls to `asset_library_status_ping_still_loading()`).
*/
asset_library_status_begin_loading(library_url: H.In<string>, timeout?: H.In<number>): H.Ref<void>;
/**
* Inform the asset system that the asset library at the given URL is being loaded.
* @param library_url The URL identifying the asset library being loaded
* @param timeout Maximum time in seconds after which the asset library loading will be considered cancelled, if no further status reporting is done (e.g. by repeated calls to `asset_library_status_ping_still_loading()`).
*/
asset_library_status_begin_loading(library_url: H.In<string>, kw: {
/** Maximum time in seconds after which the asset library loading will be considered cancelled, if no further status reporting is done (e.g. by repeated calls to `asset_library_status_ping_still_loading()`). */
timeout?: H.In<number>;
}): H.Ref<void>;
/**
* Inform the asset system that the asset library at the given URL is being loaded.
* @param library_url The URL identifying the asset library being loaded
* @param timeout Maximum time in seconds after which the asset library loading will be considered cancelled, if no further status reporting is done (e.g. by repeated calls to `asset_library_status_ping_still_loading()`).
*/
asset_library_status_begin_loading(kw: {
/** The URL identifying the asset library being loaded */
library_url: H.In<string>;
/** Maximum time in seconds after which the asset library loading will be considered cancelled, if no further status reporting is done (e.g. by repeated calls to `asset_library_status_ping_still_loading()`). */
timeout?: H.In<number>;
}): H.Ref<void>;
/**
* Inform the asset system that the loading is still ongoing. Call this regularly to prevent the loading status to timeout.
* @param library_url The URL identifying the asset library being loaded
*/
asset_library_status_ping_still_loading(library_url: H.In<string>): H.Ref<void>;
/**
* Inform the asset system that the loading is still ongoing. Call this regularly to prevent the loading status to timeout.
* @param library_url The URL identifying the asset library being loaded
*/
asset_library_status_ping_still_loading(kw: {
/** The URL identifying the asset library being loaded */
library_url: H.In<string>;
}): H.Ref<void>;
/**
* Inform the asset system that the asset meta files (_asset-library-meta.json, asset-listing.json, blender_assets.cats.txt) are in place and ready to be loaded
* @param library_url The URL identifying the asset library being loaded
*/
asset_library_status_ping_metafiles_in_place(library_url: H.In<string>): H.Ref<void>;
/**
* Inform the asset system that the asset meta files (_asset-library-meta.json, asset-listing.json, blender_assets.cats.txt) are in place and ready to be loaded
* @param library_url The URL identifying the asset library being loaded
*/
asset_library_status_ping_metafiles_in_place(kw: {
/** The URL identifying the asset library being loaded */
library_url: H.In<string>;
}): H.Ref<void>;
/**
* Inform the asset system that new content
* @param library_url The URL identifying the asset library being loaded
*/
asset_library_status_ping_loaded_new_pages(library_url: H.In<string>): H.Ref<void>;
/**
* Inform the asset system that new content
* @param library_url The URL identifying the asset library being loaded
*/
asset_library_status_ping_loaded_new_pages(kw: {
/** The URL identifying the asset library being loaded */
library_url: H.In<string>;
}): H.Ref<void>;
/**
* Inform the asset system that a new preview is available and ready for display
* @param preview_full_path The full path (not URL!) pointing to the the asset preview that should be available now
*/
asset_library_status_ping_loaded_new_preview(preview_full_path: H.In<string>): H.Ref<void>;
/**
* Inform the asset system that a new preview is available and ready for display
* @param preview_full_path The full path (not URL!) pointing to the the asset preview that should be available now
*/
asset_library_status_ping_loaded_new_preview(kw: {
/** The full path (not URL!) pointing to the the asset preview that should be available now */
preview_full_path: H.In<string>;
}): H.Ref<void>;
/**
* Inform the asset system about the current progress of an asset file.
* @param absolute_file_url The absolute URL this file was downloaded from
* @param size_written The number of bytes written to disk after uncompressing the download data, if needed
*/
asset_library_status_ping_asset_file_progress(absolute_file_url: H.In<string>, size_written: H.In<number>): H.Ref<void>;
/**
* Inform the asset system about the current progress of an asset file.
* @param absolute_file_url The absolute URL this file was downloaded from
* @param size_written The number of bytes written to disk after uncompressing the download data, if needed
*/
asset_library_status_ping_asset_file_progress(kw: {
/** The absolute URL this file was downloaded from */
absolute_file_url: H.In<string>;
/** The number of bytes written to disk after uncompressing the download data, if needed */
size_written: H.In<number>;
}): H.Ref<void>;
/**
* Inform the asset system that a single asset file download has finished successfully.
* @param library_url The URL identifying the asset library being loaded
* @param absolute_file_url The absolute URL this file was downloaded from
* @param local_file_abspath The absolute path this file was downloaded to
*/
asset_library_status_ping_asset_file_succeeded(library_url: H.In<string>, absolute_file_url: H.In<string>, local_file_abspath: H.In<string>): H.Ref<void>;
/**
* Inform the asset system that a single asset file download has finished successfully.
* @param library_url The URL identifying the asset library being loaded
* @param absolute_file_url The absolute URL this file was downloaded from
* @param local_file_abspath The absolute path this file was downloaded to
*/
asset_library_status_ping_asset_file_succeeded(kw: {
/** The URL identifying the asset library being loaded */
library_url: H.In<string>;
/** The absolute URL this file was downloaded from */
absolute_file_url: H.In<string>;
/** The absolute path this file was downloaded to */
local_file_abspath: H.In<string>;
}): H.Ref<void>;
/**
* Inform the asset system that a single asset file download has stopped because of some failure.
* @param library_url The URL identifying the asset library being loaded
* @param absolute_file_url The absolute URL this file was downloaded from
* @param local_file_abspath The absolute path this file was supposed to be downloaded to
*/
asset_library_status_ping_asset_file_failed(library_url: H.In<string>, absolute_file_url: H.In<string>, local_file_abspath: H.In<string>): H.Ref<void>;
/**
* Inform the asset system that a single asset file download has stopped because of some failure.
* @param library_url The URL identifying the asset library being loaded
* @param absolute_file_url The absolute URL this file was downloaded from
* @param local_file_abspath The absolute path this file was supposed to be downloaded to
*/
asset_library_status_ping_asset_file_failed(kw: {
/** The URL identifying the asset library being loaded */
library_url: H.In<string>;
/** The absolute URL this file was downloaded from */
absolute_file_url: H.In<string>;
/** The absolute path this file was supposed to be downloaded to */
local_file_abspath: H.In<string>;
}): H.Ref<void>;
/** Inform the asset system that there are no more pending asset file downloads for any asset library. */
asset_library_status_ping_finished_download_queue(): H.Ref<void>;
/**
* Inform the asset system that the asset library at the given URL has successfully finished loading.
* @param library_url The URL identifying the asset library being loaded
*/
asset_library_status_finished_loading(library_url: H.In<string>): H.Ref<void>;
/**
* Inform the asset system that the asset library at the given URL has successfully finished loading.
* @param library_url The URL identifying the asset library being loaded
*/
asset_library_status_finished_loading(kw: {
/** The URL identifying the asset library being loaded */
library_url: H.In<string>;
}): H.Ref<void>;
/**
* Inform the asset system that the asset library at the given URL failed loading, and should be aborted.
* @param library_url The URL identifying the asset library being loaded
* @param message An error message to show to users
*/
asset_library_status_failed_loading(library_url: H.In<string>, message?: H.In<string>): H.Ref<void>;
/**
* Inform the asset system that the asset library at the given URL failed loading, and should be aborted.
* @param library_url The URL identifying the asset library being loaded
* @param message An error message to show to users
*/
asset_library_status_failed_loading(library_url: H.In<string>, kw: {
/** An error message to show to users */
message?: H.In<string>;
}): H.Ref<void>;
/**
* Inform the asset system that the asset library at the given URL failed loading, and should be aborted.
* @param library_url The URL identifying the asset library being loaded
* @param message An error message to show to users
*/
asset_library_status_failed_loading(kw: {
/** The URL identifying the asset library being loaded */
library_url: H.In<string>;
/** An error message to show to users */
message?: H.In<string>;
}): H.Ref<void>;
/** Trigger manual re-registration of node group operators. Useful in background mode where this doesn't happen automatically. */
register_node_group_operators(): H.Ref<void>;
/**
* Display a popover populated by *draw_func*.
* @param draw_func Function to populate the popover layout.
*/
popover(draw_func: any, kw?: {
/** Width of the popover in UI units (0 for the default). */
ui_units_x?: H.In<number>;
/** Optional keymap to attach to the popover. */
keymap?: R.KeyMap | null;
/** Anchor the popover to the active button. */
from_active_button?: H.In<boolean>;
}): H.Ref<void>;
/**
* Display a popover populated by *draw_func*.
* @param draw_func Function to populate the popover layout.
*/
popover(kw: {
/** Function to populate the popover layout. */
draw_func: any;
/** Width of the popover in UI units (0 for the default). */
ui_units_x?: H.In<number>;
/** Optional keymap to attach to the popover. */
keymap?: R.KeyMap | null;
/** Anchor the popover to the active button. */
from_active_button?: H.In<boolean>;
}): H.Ref<void>;
/**
* Display a popup menu populated by *draw_func*.
* @param draw_func Function to populate the menu layout.
*/
popup_menu(draw_func: any, kw?: {
/** Title shown above the menu. */
title?: H.In<string>;
/** Icon shown next to the title. */
icon?: H.In<string>;
}): H.Ref<void>;
/**
* Display a popup menu populated by *draw_func*.
* @param draw_func Function to populate the menu layout.
*/
popup_menu(kw: {
/** Function to populate the menu layout. */
draw_func: any;
/** Title shown above the menu. */
title?: H.In<string>;
/** Icon shown next to the title. */
icon?: H.In<string>;
}): H.Ref<void>;
/**
* Display a pie menu populated by *draw_func* at the location of *event*.
* @param event Event used to position the pie menu.
* @param draw_func Function to populate the pie menu layout.
*/
popup_menu_pie(event: R.Event, draw_func: any, kw?: {
/** Title shown at the center of the pie. */
title?: H.In<string>;
/** Icon shown next to the title. */
icon?: H.In<string>;
}): H.Ref<void>;
/**
* Display a pie menu populated by *draw_func* at the location of *event*.
* @param event Event used to position the pie menu.
* @param draw_func Function to populate the pie menu layout.
*/
popup_menu_pie(kw: {
/** Event used to position the pie menu. */
event: R.Event;
/** Function to populate the pie menu layout. */
draw_func: any;
/** Title shown at the center of the pie. */
title?: H.In<string>;
/** Icon shown next to the title. */
icon?: H.In<string>;
}): H.Ref<void>;
/**
* Add a new draw cursor handler to this space type.
* It will be called every time the cursor for the specified region in the space type will be drawn.
* Note: All arguments are positional only for now.
* @returns Handler that can be removed later on.
* @param callback A function that will be called when the cursor is drawn. It gets the specified arguments as input with the mouse position (``tuple[int, int]``) as last argument.
* @param args Arguments that will be passed to the callback.
* @param space_type The space type the callback draws in; for example ``VIEW_3D``. (:class:`bpy.types.Space.type`)
* @param region_type The region type the callback draws in; usually ``WINDOW``. (:class:`bpy.types.Region.type`)
*/
draw_cursor_add(callback: any, args: H.In<any[]>, space_type: H.In<string>, region_type: H.In<string>): any;
/**
* Add a new draw cursor handler to this space type.
* It will be called every time the cursor for the specified region in the space type will be drawn.
* Note: All arguments are positional only for now.
* @returns Handler that can be removed later on.
* @param callback A function that will be called when the cursor is drawn. It gets the specified arguments as input with the mouse position (``tuple[int, int]``) as last argument.
* @param args Arguments that will be passed to the callback.
* @param space_type The space type the callback draws in; for example ``VIEW_3D``. (:class:`bpy.types.Space.type`)
* @param region_type The region type the callback draws in; usually ``WINDOW``. (:class:`bpy.types.Region.type`)
*/
draw_cursor_add(kw: {
/**
* A function that will be called when the cursor is drawn.
* It gets the specified arguments as input with the mouse position (``tuple[int, int]``) as last argument.
*/
callback: any;
/** Arguments that will be passed to the callback. */
args: H.In<any[]>;
/** The space type the callback draws in; for example ``VIEW_3D``. (:class:`bpy.types.Space.type`) */
space_type: H.In<string>;
/** The region type the callback draws in; usually ``WINDOW``. (:class:`bpy.types.Region.type`) */
region_type: H.In<string>;
}): any;
/**
* Remove a draw cursor handler that was added previously.
* @param handler The draw cursor handler that should be removed.
*/
draw_cursor_remove(handler: any): H.Ref<void>;
/**
* Remove a draw cursor handler that was added previously.
* @param handler The draw cursor handler that should be removed.
*/
draw_cursor_remove(kw: {
/** The draw cursor handler that should be removed. */
handler: any;
}): H.Ref<void>;
}
/**
* Collection of windows
*
* bpy.types.Windows
*/
export interface Windows {
/**
* find_playing
* @param scrub Check if time in the window is being scrubbed
*/
find_playing(scrub?: H.In<boolean>): H.Ptr<R.Window>;
/**
* find_playing
* @param scrub Check if time in the window is being scrubbed
*/
find_playing(kw: {
/** Check if time in the window is being scrubbed */
scrub?: H.In<boolean>;
}): H.Ptr<R.Window>;
}
/**
* Sequence strip creating a wipe transition
*
* bpy.types.WipeStrip
*/
export interface WipeStrip extends R.EffectStrip {
/** Range: 0 to 2147483647. Default: 0. */
get input_count(): H.Ref<number>;
/** First input for the effect strip */
get input_1(): H.Own<R.Strip>;
set input_1(v: R.Strip);
/** Second input for the effect strip */
get input_2(): H.Own<R.Strip>;
set input_2(v: R.Strip);
/** Width of the blur for the transition, in percentage relative to the image size Range: 0 to 1. Default: 0.0. */
get blur_width(): H.Ref<number>;
set blur_width(v: H.In<number>);
/** Angle of the transition Range: -1.5707963705062866 to 1.5707963705062866. Default: 0.0. */
get angle(): H.Ref<number>;
set angle(v: H.In<number>);
/**
* Whether to fade in or out Default: 'OUT'.
* - `OUT`: Out
* - `IN`: In
*/
get direction(): H.Ref<"OUT" | "IN">;
set direction(v: H.In<"OUT" | "IN">);
/**
* Transition Type Default: 'SINGLE'.
* - `SINGLE`: Single
* - `DOUBLE`: Double
* - `IRIS`: Iris
* - `CLOCK`: Clock
*/
get transition_type(): H.Ref<"SINGLE" | "DOUBLE" | "IRIS" | "CLOCK">;
set transition_type(v: H.In<"SINGLE" | "DOUBLE" | "IRIS" | "CLOCK">);
}
/**
* Wireframe effect modifier
*
* bpy.types.WireframeModifier
*/
export interface WireframeModifier extends R.Modifier {
/** Thickness factor Default: 0.02. */
get thickness(): H.Ref<number>;
set thickness(v: H.In<number>);
/** Thickness factor to use for zero vertex group influence Range: 0 to 1. Default: 0.0. */
get thickness_vertex_group(): H.Ref<number>;
set thickness_vertex_group(v: H.In<number>);
/** Offset the thickness from the center Default: 0.0. */
get offset(): H.Ref<number>;
set offset(v: H.In<number>);
/** Remove original geometry Default: True. */
get use_replace(): H.Ref<boolean>;
set use_replace(v: H.In<boolean>);
/** Support face boundaries Default: False. */
get use_boundary(): H.Ref<boolean>;
set use_boundary(v: H.In<boolean>);
/** Scale the offset to give more even thickness Default: True. */
get use_even_offset(): H.Ref<boolean>;
set use_even_offset(v: H.In<boolean>);
/** Scale the offset by surrounding geometry Default: False. */
get use_relative_offset(): H.Ref<boolean>;
set use_relative_offset(v: H.In<boolean>);
/** Crease hub edges for improved subdivision surface Default: False. */
get use_crease(): H.Ref<boolean>;
set use_crease(v: H.In<boolean>);
/** Crease weight (if active) Default: 1.0. */
get crease_weight(): H.Ref<number>;
set crease_weight(v: H.In<number>);
/** Offset material index of generated faces Range: -32768 to 32767. Default: 0. */
get material_offset(): H.Ref<number>;
set material_offset(v: H.In<number>);
/** Vertex group name for selecting the affected areas Default: "". */
get vertex_group(): H.Ref<string>;
set vertex_group(v: H.In<string>);
/** Invert vertex group influence Default: False. */
get invert_vertex_group(): H.Ref<boolean>;
set invert_vertex_group(v: H.In<boolean>);
}
/**
* Procedural noise texture
*
* bpy.types.WoodTexture
*/
export interface WoodTexture extends R.Texture {
/** Scaling for noise input Range: 0.00009999999747378752 to inf. Default: 0.25. */
get noise_scale(): H.Ref<number>;
set noise_scale(v: H.In<number>);
/** Turbulence of the bandnoise and ringnoise types Range: 0.00009999999747378752 to inf. Default: 5.0. */
get turbulence(): H.Ref<number>;
set turbulence(v: H.In<number>);
/** Noise basis used for turbulence Default: 'BLENDER_ORIGINAL'. */
get noise_basis(): H.Ref<E.CloudsTextureNoiseBasis>;
set noise_basis(v: H.In<E.CloudsTextureNoiseBasis>);
/**
* Noise Type Default: 'SOFT_NOISE'.
* - `SOFT_NOISE`: Soft (Generate soft noise (smooth transitions))
* - `HARD_NOISE`: Hard (Generate hard noise (sharp transitions))
*/
get noise_type(): H.Ref<"SOFT_NOISE" | "HARD_NOISE">;
set noise_type(v: H.In<"SOFT_NOISE" | "HARD_NOISE">);
/**
* Pattern Default: 'BANDS'.
* - `BANDS`: Bands (Use standard wood texture in bands)
* - `RINGS`: Rings (Use wood texture in rings)
* - `BANDNOISE`: Band Noise (Add noise to standard wood)
* - `RINGNOISE`: Ring Noise (Add noise to rings)
*/
get wood_type(): H.Ref<"BANDS" | "RINGS" | "BANDNOISE" | "RINGNOISE">;
set wood_type(v: H.In<"BANDS" | "RINGS" | "BANDNOISE" | "RINGNOISE">);
/**
* Noise Basis 2 Default: 'SIN'.
* - `SIN`: Sine (Use a sine wave to produce bands)
* - `SAW`: Saw (Use a saw wave to produce bands)
* - `TRI`: Tri (Use a triangle wave to produce bands)
*/
get noise_basis_2(): H.Ref<"SIN" | "SAW" | "TRI">;
set noise_basis_2(v: H.In<"SIN" | "SAW" | "TRI">);
/** Size of derivative offset used for calculating normal Range: 0.0010000000474974513 to 0.10000000149011612. Default: 0.025. */
get nabla(): H.Ref<number>;
set nabla(v: H.In<number>);
}
/**
* Workspace data-block, defining the working environment for the user
*
* bpy.types.WorkSpace
*/
export interface WorkSpace extends R.ID {
/** Screen layouts of a workspace */
readonly screens: H.Own<H.Coll<R.Screen>>;
/** UI Tags */
readonly owner_ids: H.Own<H.Coll<R.wmOwnerID> & R.wmOwnerIDs>;
/** Tools */
readonly tools: H.Own<H.Coll<R.WorkSpaceTool> & R.wmTools>;
/** Switch to this object mode when activating the workspace Default: 'OBJECT'. */
get object_mode(): H.Ref<E.WorkSpaceObjectMode>;
set object_mode(v: H.In<E.WorkSpaceObjectMode>);
/** Remember the last used scene for the workspace and switch to it whenever this workspace is activated again Default: False. */
get use_pin_scene(): H.Ref<boolean>;
set use_pin_scene(v: H.In<boolean>);
/** Filter the UI by tags Default: False. */
get use_filter_by_owner(): H.Ref<boolean>;
set use_filter_by_owner(v: H.In<boolean>);
/**
* Active asset library to show in the UI, not used by the Asset Browser (which has its own active asset library) Default: 'ALL'.
* - `ALL`: All Libraries (Show assets from all of the listed asset libraries)
* - `LOCAL`: Current File (Show the assets currently available in this Blender session)
* - `ESSENTIALS`: Essentials (Show basic building blocks and utilities coming with Blender)
* - `ONLINE_ESSENTIALS`: Online Essentials (Show additional building blocks and utilities available online)
* - `CUSTOM`: Custom (Show assets from the asset libraries configured in the Preferences)
*/
get asset_library_reference(): H.Ref<"ALL" | "LOCAL" | "ESSENTIALS" | "ONLINE_ESSENTIALS" | "CUSTOM" | (string & {})>;
set asset_library_reference(v: H.In<"ALL" | "LOCAL" | "ESSENTIALS" | "ONLINE_ESSENTIALS" | "CUSTOM" | (string & {})>);
/** Sequencer Scene */
get sequencer_scene(): H.Ptr<R.Scene>;
set sequencer_scene(v: R.Scene | null);
/** Set the active scene and time based on the current scene strip Default: False. */
get use_scene_time_sync(): H.Ref<boolean>;
set use_scene_time_sync(v: H.In<boolean>);
/** Active Add-on in the Workspace Add-ons filter Range: -2147483648 to 2147483647. Default: 0. */
get active_addon(): H.Ref<number>;
set active_addon(v: H.In<number>);
/**
* Set the status bar text, typically key shortcuts for modal operators
* @param text New string for the status bar, None clears the text
*/
status_text_set_internal(text: H.In<string>): H.Ref<void>;
/**
* Set the status bar text, typically key shortcuts for modal operators
* @param text New string for the status bar, None clears the text
*/
status_text_set_internal(kw: {
/** New string for the status bar, None clears the text */
text: H.In<string>;
}): H.Ref<void>;
/**
* Set the status text or None to clear,
* When text is a function, this will be called with the (header, context) arguments.
* @param text Status text to display, ``None`` to clear, or a callable to install as the status bar's draw function.
*/
status_text_set(text: any): H.Ref<void>;
/**
* Set the status text or None to clear,
* When text is a function, this will be called with the (header, context) arguments.
* @param text Status text to display, ``None`` to clear, or a callable to install as the status bar's draw function.
*/
status_text_set(kw: {
/**
* Status text to display, ``None`` to clear, or a callable
* to install as the status bar's draw function.
*/
text: any;
}): H.Ref<void>;
}
/** bpy.types.WorkSpaceTool */
export interface WorkSpaceTool extends R.bpy_struct {
/** Identifier Default: "". */
get idname(): H.Ref<string>;
set idname(v: H.In<string>);
/** Identifier Fallback Default: "". */
get idname_fallback(): H.Ref<string>;
set idname_fallback(v: H.In<string>);
/** Index Range: -2147483648 to 2147483647. Default: 0. */
get index(): H.Ref<number>;
/** Space Type Default: 'EMPTY'. */
get space_type(): H.Ref<E.AreaType>;
/**
* Tool Mode Default: 'DEFAULT'.
* - `DEFAULT`: Default
*/
get mode(): H.Ref<string>;
/** Does this tool use a painting canvas Default: False. */
get use_paint_canvas(): H.Ref<boolean>;
/** Has Data-Block Default: False. */
get has_datablock(): H.Ref<boolean>;
/** Uses Brushes Default: False. */
get use_brushes(): H.Ref<boolean>;
/**
* If the tool uses brushes and is limited to a specific brush type, the identifier of the brush type Default: 'DEFAULT'.
* - `DEFAULT`: Default
*/
get brush_type(): H.Ref<string>;
/** Widget Default: "". */
get widget(): H.Ref<string>;
/**
* Set the tool settings
* @param brush_type Limit this tool to a specific type of brush
* @param options - `KEYMAP_FALLBACK`: Fallback - `USE_BRUSHES`: Uses Brushes (Allow this tool to use brushes via the asset system)
*/
setup(idname: H.In<string>, cursor?: H.In<E.MacroBlCursorPending>, keymap?: H.In<string>, gizmo_group?: H.In<string>, brush_type?: H.In<string>, data_block?: H.In<string>, operator?: H.In<string>, index?: H.In<number>, options?: H.In<Set<"KEYMAP_FALLBACK" | "USE_BRUSHES">>, idname_fallback?: H.In<string>, keymap_fallback?: H.In<string>): H.Ref<void>;
/**
* Set the tool settings
* @param brush_type Limit this tool to a specific type of brush
* @param options - `KEYMAP_FALLBACK`: Fallback - `USE_BRUSHES`: Uses Brushes (Allow this tool to use brushes via the asset system)
*/
setup(idname: H.In<string>, kw: {
cursor?: H.In<E.MacroBlCursorPending>;
keymap?: H.In<string>;
gizmo_group?: H.In<string>;
/** Limit this tool to a specific type of brush */
brush_type?: H.In<string>;
data_block?: H.In<string>;
operator?: H.In<string>;
index?: H.In<number>;
/**
* - `KEYMAP_FALLBACK`: Fallback
* - `USE_BRUSHES`: Uses Brushes (Allow this tool to use brushes via the asset system)
*/
options?: H.In<Set<"KEYMAP_FALLBACK" | "USE_BRUSHES">>;
idname_fallback?: H.In<string>;
keymap_fallback?: H.In<string>;
}): H.Ref<void>;
/**
* Set the tool settings
* @param brush_type Limit this tool to a specific type of brush
* @param options - `KEYMAP_FALLBACK`: Fallback - `USE_BRUSHES`: Uses Brushes (Allow this tool to use brushes via the asset system)
*/
setup(kw: {
idname: H.In<string>;
cursor?: H.In<E.MacroBlCursorPending>;
keymap?: H.In<string>;
gizmo_group?: H.In<string>;
/** Limit this tool to a specific type of brush */
brush_type?: H.In<string>;
data_block?: H.In<string>;
operator?: H.In<string>;
index?: H.In<number>;
/**
* - `KEYMAP_FALLBACK`: Fallback
* - `USE_BRUSHES`: Uses Brushes (Allow this tool to use brushes via the asset system)
*/
options?: H.In<Set<"KEYMAP_FALLBACK" | "USE_BRUSHES">>;
idname_fallback?: H.In<string>;
keymap_fallback?: H.In<string>;
}): H.Ref<void>;
/** operator_properties */
operator_properties(operator: H.In<string>): H.Own<R.OperatorProperties>;
/** operator_properties */
operator_properties(kw: { operator: H.In<string> }): H.Own<R.OperatorProperties>;
/** gizmo_group_properties */
gizmo_group_properties(group: H.In<string>): H.Own<R.GizmoGroupProperties>;
/** gizmo_group_properties */
gizmo_group_properties(kw: { group: H.In<string> }): H.Own<R.GizmoGroupProperties>;
/** refresh_from_context */
refresh_from_context(): H.Ref<void>;
}
/**
* World data-block describing the environment and ambient lighting of a scene
*
* bpy.types.World
*/
export interface World extends R.ID {
/** Animation data for this data-block */
get animation_data(): H.Ptr<R.AnimData>;
/** The world's volume used to be rendered by EEVEE Legacy. Conversion is needed for it to render properly. Default: False. */
get use_eevee_finite_volume(): H.Ref<boolean>;
set use_eevee_finite_volume(v: H.In<boolean>);
/** Color of the background Range: 0 to inf. Default: (0.05, 0.05, 0.05). */
get color(): H.Remote<M.Color>;
set color(v: H.In<M.Color | readonly number[]>);
/** World lighting settings */
get light_settings(): H.Own<R.WorldLighting>;
/** World mist settings */
get mist_settings(): H.Own<R.WorldMistSettings>;
/** Node tree for node based worlds */
get node_tree(): H.Ptr<R.NodeTree>;
/** Use shader nodes to render the world Default: False. @deprecated Unused but kept for compatibility reasons. Setting the property has no effect, and getting it always returns True. (5, 0, 0) (6, 0, 0) */
get use_nodes(): H.Ref<boolean>;
set use_nodes(v: H.In<boolean>);
/** Lightgroup that the world belongs to Default: "". */
get lightgroup(): H.Ref<string>;
set lightgroup(v: H.In<string>);
/**
* Resolution when baked to a texture Default: '1024'.
* - `128`: 128
* - `256`: 256
* - `512`: 512
* - `1024`: 1024
* - `2048`: 2048
* - `4096`: 4096
*/
get probe_resolution(): H.Ref<"128" | "256" | "512" | "1024" | "2048" | "4096">;
set probe_resolution(v: H.In<"128" | "256" | "512" | "1024" | "2048" | "4096">);
/** If non-zero, the maximum value for world contribution that will be recorded inside the world light probe. The excess contribution is converted to a sun light. This reduces the light bleeding caused by very bright light sources. Range: 0 to inf. Default: 10.0. */
get sun_threshold(): H.Ref<number>;
set sun_threshold(v: H.In<number>);
/** Angular diameter of the Sun as seen from the Earth Range: 0 to 3.1415927410125732. Default: 0.00918043. */
get sun_angle(): H.Ref<number>;
set sun_angle(v: H.In<number>);
/** Enable sun shadow casting Default: True. */
get use_sun_shadow(): H.Ref<boolean>;
set use_sun_shadow(v: H.In<boolean>);
/** Maximum size of a shadow map pixel. Higher values use less memory at the cost of shadow quality. Range: 0 to inf. Default: 0.001. */
get sun_shadow_maximum_resolution(): H.Ref<number>;
set sun_shadow_maximum_resolution(v: H.In<number>);
/** Blur shadow aliasing using Percentage Closer Filtering Range: 0 to inf. Default: 1.0. */
get sun_shadow_filter_radius(): H.Ref<number>;
set sun_shadow_filter_radius(v: H.In<number>);
/** Enable jittered soft shadows to increase shadow precision (disabled in viewport unless enabled in the render settings). Has a high performance impact. Default: False. */
get use_sun_shadow_jitter(): H.Ref<boolean>;
set use_sun_shadow_jitter(v: H.In<boolean>);
/** Apply shadow tracing to each jittered sample to reduce under-sampling artifacts Range: 0 to 100. Default: 10.0. */
get sun_shadow_jitter_overblur(): H.Ref<number>;
set sun_shadow_jitter_overblur(v: H.In<number>);
/** Cycles world settings */
get cycles(): H.Ptr<R.CyclesWorldSettings>;
/** Cycles visibility settings */
get cycles_visibility(): H.Ptr<R.CyclesVisibilitySettings>;
/**
* Get the inlined shader nodes of this world. This preprocesses the node tree
* to remove nested groups, repeat zones and more.
* @returns The inlined shader nodes.
*/
inline_shader_nodes(): any;
}
/**
* Lighting for a World data-block
*
* bpy.types.WorldLighting (in World)
*/
export interface WorldLighting extends R.bpy_struct {
/** Factor for ambient occlusion blending Range: 0 to 2147483648. Default: 1.0. */
get ao_factor(): H.Ref<number>;
set ao_factor(v: H.In<number>);
/** Length of rays, defines how far away other faces give occlusion effect Range: 0 to inf. Default: 10.0. */
get distance(): H.Ref<number>;
set distance(v: H.In<number>);
}
/**
* Mist settings for a World data-block
*
* bpy.types.WorldMistSettings (in World)
*/
export interface WorldMistSettings extends R.bpy_struct {
/** Occlude objects with the environment color as they are further away Default: False. */
get use_mist(): H.Ref<boolean>;
set use_mist(v: H.In<boolean>);
/** Overall minimum intensity of the mist effect Range: 0 to 1. Default: 0.0. */
get intensity(): H.Ref<number>;
set intensity(v: H.In<number>);
/** Starting distance of the mist, measured from the camera Range: 0 to inf. Default: 5.0. */
get start(): H.Ref<number>;
set start(v: H.In<number>);
/** Distance over which the mist effect fades in Range: 0 to inf. Default: 25.0. */
get depth(): H.Ref<number>;
set depth(v: H.In<number>);
/** Control how much mist density decreases with height Range: 0 to 100. Default: 0.0. */
get height(): H.Ref<number>;
set height(v: H.In<number>);
/**
* Type of transition used to fade mist Default: 'QUADRATIC'.
* - `QUADRATIC`: Quadratic (Use quadratic progression)
* - `LINEAR`: Linear (Use linear progression)
* - `INVERSE_QUADRATIC`: Inverse Quadratic (Use inverse quadratic progression)
*/
get falloff(): H.Ref<"QUADRATIC" | "LINEAR" | "INVERSE_QUADRATIC">;
set falloff(v: H.In<"QUADRATIC" | "LINEAR" | "INVERSE_QUADRATIC">);
}