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";
/**
* Bake data for a Scene data-block
*
* bpy.types.BakeSettings (in RenderSettings)
*/
export interface BakeSettings extends R.bpy_struct {
/**
* Choose shading information to bake into the image Default: 'NORMALS'.
* - `NORMALS`: Normals (Bake normals)
* - `DISPLACEMENT`: Displacement (Bake displacement)
* - `VECTOR_DISPLACEMENT`: Vector Displacement (Bake vector displacement)
*/
get type(): H.Ref<"NORMALS" | "DISPLACEMENT" | "VECTOR_DISPLACEMENT">;
set type(v: H.In<"NORMALS" | "DISPLACEMENT" | "VECTOR_DISPLACEMENT">);
/** Object to use as cage instead of calculating the cage from the active object with cage extrusion */
get cage_object(): H.Ptr<R.Object>;
set cage_object(v: R.Object | null);
/** Image filepath to use when saving externally Default: "//". */
get filepath(): H.Ref<string>;
set filepath(v: H.In<string>);
/** Horizontal dimension of the baking map Range: 4 to 10000. Default: 512. */
get width(): H.Ref<number>;
set width(v: H.In<number>);
/** Vertical dimension of the baking map Range: 4 to 10000. Default: 512. */
get height(): H.Ref<number>;
set height(v: H.In<number>);
/** Extends the baked result as a post process filter Range: 0 to 32767. Default: 16. */
get margin(): H.Ref<number>;
set margin(v: H.In<number>);
/**
* Algorithm to extend the baked result Default: 'ADJACENT_FACES'.
* - `ADJACENT_FACES`: Adjacent Faces (Use pixels from adjacent faces across UV seams)
* - `EXTEND`: Extend (Extend border pixels outwards)
*/
get margin_type(): H.Ref<"ADJACENT_FACES" | "EXTEND">;
set margin_type(v: H.In<"ADJACENT_FACES" | "EXTEND">);
/** The maximum ray distance for matching points between the active and selected objects. If zero, there is no limit. Range: 0 to inf. Default: 0.0. */
get max_ray_distance(): H.Ref<number>;
set max_ray_distance(v: H.In<number>);
/** Inflate the active object by the specified distance for baking. This helps matching to points nearer to the outside of the selected object meshes. Range: 0 to inf. Default: 0.0. */
get cage_extrusion(): H.Ref<number>;
set cage_extrusion(v: H.In<number>);
/**
* Choose normal space for baking Default: 'TANGENT'.
* - `OBJECT`: Object (Bake the normals in object space)
* - `TANGENT`: Tangent (Bake the normals in tangent space)
*/
get normal_space(): H.Ref<"OBJECT" | "TANGENT">;
set normal_space(v: H.In<"OBJECT" | "TANGENT">);
/**
* Axis to bake in red channel Default: 'POS_X'.
* - `POS_X`: +X
* - `POS_Y`: +Y
* - `POS_Z`: +Z
* - `NEG_X`: -X
* - `NEG_Y`: -Y
* - `NEG_Z`: -Z
*/
get normal_r(): H.Ref<"POS_X" | "POS_Y" | "POS_Z" | "NEG_X" | "NEG_Y" | "NEG_Z">;
set normal_r(v: H.In<"POS_X" | "POS_Y" | "POS_Z" | "NEG_X" | "NEG_Y" | "NEG_Z">);
/**
* Axis to bake in green channel Default: 'POS_X'.
* - `POS_X`: +X
* - `POS_Y`: +Y
* - `POS_Z`: +Z
* - `NEG_X`: -X
* - `NEG_Y`: -Y
* - `NEG_Z`: -Z
*/
get normal_g(): H.Ref<"POS_X" | "POS_Y" | "POS_Z" | "NEG_X" | "NEG_Y" | "NEG_Z">;
set normal_g(v: H.In<"POS_X" | "POS_Y" | "POS_Z" | "NEG_X" | "NEG_Y" | "NEG_Z">);
/**
* Axis to bake in blue channel Default: 'POS_X'.
* - `POS_X`: +X
* - `POS_Y`: +Y
* - `POS_Z`: +Z
* - `NEG_X`: -X
* - `NEG_Y`: -Y
* - `NEG_Z`: -Z
*/
get normal_b(): H.Ref<"POS_X" | "POS_Y" | "POS_Z" | "NEG_X" | "NEG_Y" | "NEG_Z">;
set normal_b(v: H.In<"POS_X" | "POS_Y" | "POS_Z" | "NEG_X" | "NEG_Y" | "NEG_Z">);
/** Image Format */
get image_settings(): H.Own<R.ImageFormatSettings>;
/**
* Where to output the baked map Default: 'IMAGE_TEXTURES'.
* - `IMAGE_TEXTURES`: Image Textures (Bake to image data-blocks associated with active image texture nodes in materials)
* - `VERTEX_COLORS`: Active Color Attribute (Bake to the active color attribute on meshes)
*/
get target(): H.Ref<"IMAGE_TEXTURES" | "VERTEX_COLORS">;
set target(v: H.In<"IMAGE_TEXTURES" | "VERTEX_COLORS">);
/**
* Where to save baked image textures Default: 'INTERNAL'.
* - `INTERNAL`: Internal (Save the baking map in an internal image data-block)
* - `EXTERNAL`: External (Save the baking map in an external file)
*/
get save_mode(): H.Ref<"INTERNAL" | "EXTERNAL">;
set save_mode(v: H.In<"INTERNAL" | "EXTERNAL">);
/**
* Source of reflection ray directions Default: 'ABOVE_SURFACE'.
* - `ABOVE_SURFACE`: Above Surface (Cast rays from above the surface)
* - `ACTIVE_CAMERA`: Active Camera (Use the active camera's position to cast rays)
*/
get view_from(): H.Ref<"ABOVE_SURFACE" | "ACTIVE_CAMERA">;
set view_from(v: H.In<"ABOVE_SURFACE" | "ACTIVE_CAMERA">);
/** Bake shading on the surface of selected objects to the active object Default: False. */
get use_selected_to_active(): H.Ref<boolean>;
set use_selected_to_active(v: H.In<boolean>);
/** Clear Images before baking (internal only) Default: True. */
get use_clear(): H.Ref<boolean>;
set use_clear(v: H.In<boolean>);
/** Split external images per material (external only) Default: False. */
get use_split_materials(): H.Ref<boolean>;
set use_split_materials(v: H.In<boolean>);
/** Automatically name the output file with the pass type (external only) Default: False. */
get use_automatic_name(): H.Ref<boolean>;
set use_automatic_name(v: H.In<boolean>);
/** Cast rays to active object from a cage Default: False. */
get use_cage(): H.Ref<boolean>;
set use_cage(v: H.In<boolean>);
/** Add emission contribution Default: True. */
get use_pass_emit(): H.Ref<boolean>;
set use_pass_emit(v: H.In<boolean>);
/** Add direct lighting contribution Default: True. */
get use_pass_direct(): H.Ref<boolean>;
set use_pass_direct(v: H.In<boolean>);
/** Add indirect lighting contribution Default: True. */
get use_pass_indirect(): H.Ref<boolean>;
set use_pass_indirect(v: H.In<boolean>);
/** Color the pass Default: True. */
get use_pass_color(): H.Ref<boolean>;
set use_pass_color(v: H.In<boolean>);
/** Add diffuse contribution Default: True. */
get use_pass_diffuse(): H.Ref<boolean>;
set use_pass_diffuse(v: H.In<boolean>);
/** Add glossy contribution Default: True. */
get use_pass_glossy(): H.Ref<boolean>;
set use_pass_glossy(v: H.In<boolean>);
/** Add transmission contribution Default: True. */
get use_pass_transmission(): H.Ref<boolean>;
set use_pass_transmission(v: H.In<boolean>);
/** Passes to include in the active baking pass Default: {'COLOR', 'DIFFUSE', 'DIRECT', 'EMIT', 'GLOSSY', 'INDIRECT', 'TRANSMISSION'}. */
get pass_filter(): H.Ref<Set<E.BakeSettingsPassFilter>>;
/** Bake directly from multires object Default: False. */
get use_multires(): H.Ref<boolean>;
set use_multires(v: H.In<boolean>);
/** Calculate heights against unsubdivided low resolution mesh Default: False. */
get use_lores_mesh(): H.Ref<boolean>;
set use_lores_mesh(v: H.In<boolean>);
/**
* Choose displacement space for baking Default: 'OBJECT'.
* - `OBJECT`: Object (Bake the displacement in object space)
* - `TANGENT`: Tangent (Bake the displacement in tangent space)
*/
get displacement_space(): H.Ref<"OBJECT" | "TANGENT">;
set displacement_space(v: H.In<"OBJECT" | "TANGENT">);
}
/** bpy.types.BatchRenameAction */
export interface BatchRenameAction extends R.PropertyGroup {
/**
* Operation Default: 'REPLACE'.
* - `REPLACE`: Find/Replace (Replace text in the name)
* - `SET`: Set Name (Set a new name or prefix/suffix the existing one)
* - `STRIP`: Strip Characters (Strip leading/trailing text from the name)
* - `CASE`: Change Case (Change case of each name)
*/
get type(): H.Ref<"REPLACE" | "SET" | "STRIP" | "CASE">;
set type(v: H.In<"REPLACE" | "SET" | "STRIP" | "CASE">);
/** Name Default: "". */
get set_name(): H.Ref<string>;
set set_name(v: H.In<string>);
/**
* Method Default: 'SUFFIX'.
* - `NEW`: New
* - `PREFIX`: Prefix
* - `SUFFIX`: Suffix
*/
get set_method(): H.Ref<"NEW" | "PREFIX" | "SUFFIX">;
set set_method(v: H.In<"NEW" | "PREFIX" | "SUFFIX">);
/**
* Strip Characters Default: set().
* - `SPACE`: Spaces
* - `DIGIT`: Digits
* - `PUNCT`: Punctuation
*/
get strip_chars(): H.Ref<Set<"SPACE" | "DIGIT" | "PUNCT">>;
set strip_chars(v: H.In<Set<"SPACE" | "DIGIT" | "PUNCT">>);
/**
* Strip Part Default: set().
* - `START`: Start
* - `END`: End
*/
get strip_part(): H.Ref<Set<"START" | "END">>;
set strip_part(v: H.In<Set<"START" | "END">>);
/** Find Default: "". */
get replace_src(): H.Ref<string>;
set replace_src(v: H.In<string>);
/** Replace Default: "". */
get replace_dst(): H.Ref<string>;
set replace_dst(v: H.In<string>);
/** Case Sensitive Default: False. */
get replace_match_case(): H.Ref<boolean>;
set replace_match_case(v: H.In<boolean>);
/** Use regular expressions to match text in the 'Find' field Default: False. */
get use_replace_regex_src(): H.Ref<boolean>;
set use_replace_regex_src(v: H.In<boolean>);
/** Use regular expression for the replacement text (supporting groups) Default: False. */
get use_replace_regex_dst(): H.Ref<boolean>;
set use_replace_regex_dst(v: H.In<boolean>);
/**
* Case Default: 'UPPER'.
* - `UPPER`: Upper Case
* - `LOWER`: Lower Case
* - `TITLE`: Title Case
*/
get case_method(): H.Ref<"UPPER" | "LOWER" | "TITLE">;
set case_method(v: H.In<"UPPER" | "LOWER" | "TITLE">);
/** Add Default: False. */
get op_add(): H.Ref<boolean>;
set op_add(v: H.In<boolean>);
/** Remove Default: False. */
get op_remove(): H.Ref<boolean>;
set op_remove(v: H.In<boolean>);
}
/**
* Bevel modifier to make edges and vertices more rounded
*
* bpy.types.BevelModifier
*/
export interface BevelModifier extends R.Modifier {
/** Bevel amount Range: 0 to inf. Default: 0.1. */
get width(): H.Ref<number>;
set width(v: H.In<number>);
/** Bevel amount for percentage method Range: 0 to inf. Default: 0.1. */
get width_pct(): H.Ref<number>;
set width_pct(v: H.In<number>);
/** Number of segments for round edges/verts Range: 1 to 1000. Default: 1. */
get segments(): H.Ref<number>;
set segments(v: H.In<number>);
/**
* Affect edges or vertices Default: 'EDGES'.
* - `VERTICES`: Vertices (Affect only vertices)
* - `EDGES`: Edges (Affect only edges)
*/
get affect(): H.Ref<"VERTICES" | "EDGES">;
set affect(v: H.In<"VERTICES" | "EDGES">);
/**
* Limit Method Default: 'ANGLE'.
* - `NONE`: None (Bevel the entire mesh by a constant amount)
* - `ANGLE`: Angle (Only bevel edges with sharp enough angles between faces)
* - `WEIGHT`: Weight (Use bevel weights to determine how much bevel is applied in edge mode)
* - `VGROUP`: Vertex Group (Use vertex group weights to select whether vertex or edge is beveled)
*/
get limit_method(): H.Ref<"NONE" | "ANGLE" | "WEIGHT" | "VGROUP">;
set limit_method(v: H.In<"NONE" | "ANGLE" | "WEIGHT" | "VGROUP">);
/** Attribute name for edge weight Default: "bevel_weight_edge". */
get edge_weight(): H.Ref<string>;
set edge_weight(v: H.In<string>);
/** Attribute name for vertex weight Default: "bevel_weight_vert". */
get vertex_weight(): H.Ref<string>;
set vertex_weight(v: H.In<string>);
/** Angle above which to bevel edges Range: 0 to 3.1415927410125732. Default: 0.523599. */
get angle_limit(): H.Ref<number>;
set angle_limit(v: H.In<number>);
/** Vertex group name 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>);
/** Clamp the width to avoid overlap Default: True. */
get use_clamp_overlap(): H.Ref<boolean>;
set use_clamp_overlap(v: H.In<boolean>);
/**
* What distance Width measures Default: 'OFFSET'.
* - `OFFSET`: Offset (Amount is offset of new edges from original)
* - `WIDTH`: Width (Amount is width of new face)
* - `DEPTH`: Depth (Amount is perpendicular distance from original edge to bevel face)
* - `PERCENT`: Percent (Amount is percent of adjacent edge length)
* - `ABSOLUTE`: Absolute (Amount is absolute distance along adjacent edge)
*/
get offset_type(): H.Ref<"OFFSET" | "WIDTH" | "DEPTH" | "PERCENT" | "ABSOLUTE">;
set offset_type(v: H.In<"OFFSET" | "WIDTH" | "DEPTH" | "PERCENT" | "ABSOLUTE">);
/**
* The type of shape used to rebuild a beveled section Default: 'SUPERELLIPSE'.
* - `SUPERELLIPSE`: Superellipse (The profile can be a concave or convex curve)
* - `CUSTOM`: Custom (The profile can be any arbitrary path between its endpoints)
*/
get profile_type(): H.Ref<"SUPERELLIPSE" | "CUSTOM">;
set profile_type(v: H.In<"SUPERELLIPSE" | "CUSTOM">);
/** The profile shape (0.5 = round) Range: 0 to 1. Default: 0.5. */
get profile(): H.Ref<number>;
set profile(v: H.In<number>);
/** Material index of generated faces, -1 for automatic Range: -1 to 32767. Default: -1. */
get material(): H.Ref<number>;
set material(v: H.In<number>);
/** Prefer sliding along edges to having even widths Default: True. */
get loop_slide(): H.Ref<boolean>;
set loop_slide(v: H.In<boolean>);
/** Mark Seams along beveled edges Default: False. */
get mark_seam(): H.Ref<boolean>;
set mark_seam(v: H.In<boolean>);
/** Mark beveled edges as sharp Default: False. */
get mark_sharp(): H.Ref<boolean>;
set mark_sharp(v: H.In<boolean>);
/** Match normals of new faces to adjacent faces Default: False. */
get harden_normals(): H.Ref<boolean>;
set harden_normals(v: H.In<boolean>);
/**
* Whether to set face strength, and which faces to set it on Default: 'FSTR_NONE'.
* - `FSTR_NONE`: None (Do not set face strength)
* - `FSTR_NEW`: New (Set face strength on new faces only)
* - `FSTR_AFFECTED`: Affected (Set face strength on new and affected faces only)
* - `FSTR_ALL`: All (Set face strength on all faces)
*/
get face_strength_mode(): H.Ref<"FSTR_NONE" | "FSTR_NEW" | "FSTR_AFFECTED" | "FSTR_ALL">;
set face_strength_mode(v: H.In<"FSTR_NONE" | "FSTR_NEW" | "FSTR_AFFECTED" | "FSTR_ALL">);
/**
* Pattern to use for outside of miters Default: 'MITER_SHARP'.
* - `MITER_SHARP`: Sharp (Outside of miter is sharp)
* - `MITER_PATCH`: Patch (Outside of miter is squared-off patch)
* - `MITER_ARC`: Arc (Outside of miter is arc)
*/
get miter_outer(): H.Ref<"MITER_SHARP" | "MITER_PATCH" | "MITER_ARC">;
set miter_outer(v: H.In<"MITER_SHARP" | "MITER_PATCH" | "MITER_ARC">);
/**
* Pattern to use for inside of miters Default: 'MITER_SHARP'.
* - `MITER_SHARP`: Sharp (Inside of miter is sharp)
* - `MITER_ARC`: Arc (Inside of miter is arc)
*/
get miter_inner(): H.Ref<"MITER_SHARP" | "MITER_ARC">;
set miter_inner(v: H.In<"MITER_SHARP" | "MITER_ARC">);
/** Spread distance for inner miter arcs Range: 0 to inf. Default: 0.1. */
get spread(): H.Ref<number>;
set spread(v: H.In<number>);
/** The path for the custom profile */
get custom_profile(): H.Ptr<R.CurveProfile>;
/**
* The method to use to create the mesh at intersections Default: 'ADJ'.
* - `ADJ`: Grid Fill (Default patterned fill)
* - `CUTOFF`: Cutoff (A cut-off at the end of each profile before the intersection)
*/
get vmesh_method(): H.Ref<"ADJ" | "CUTOFF">;
set vmesh_method(v: H.In<"ADJ" | "CUTOFF">);
}
/**
* Bézier curve point with two handles
*
* bpy.types.BezierSplinePoint
*/
export interface BezierSplinePoint extends R.bpy_struct {
/** Handle 1 selection status Default: False. */
get select_left_handle(): H.Ref<boolean>;
set select_left_handle(v: H.In<boolean>);
/** Handle 2 selection status Default: False. */
get select_right_handle(): H.Ref<boolean>;
set select_right_handle(v: H.In<boolean>);
/** Control point selection status Default: False. */
get select_control_point(): H.Ref<boolean>;
set select_control_point(v: H.In<boolean>);
/** Visibility status Default: False. */
get hide(): H.Ref<boolean>;
set hide(v: H.In<boolean>);
/**
* Handle types Default: 'FREE'.
* - `FREE`: Free
* - `VECTOR`: Vector
* - `ALIGNED`: Aligned
* - `AUTO`: Auto
*/
get handle_left_type(): H.Ref<"FREE" | "VECTOR" | "ALIGNED" | "AUTO">;
set handle_left_type(v: H.In<"FREE" | "VECTOR" | "ALIGNED" | "AUTO">);
/**
* Handle types Default: 'FREE'.
* - `FREE`: Free
* - `VECTOR`: Vector
* - `ALIGNED`: Aligned
* - `AUTO`: Auto
*/
get handle_right_type(): H.Ref<"FREE" | "VECTOR" | "ALIGNED" | "AUTO">;
set handle_right_type(v: H.In<"FREE" | "VECTOR" | "ALIGNED" | "AUTO">);
/** Coordinates of the first handle Default: (0.0, 0.0, 0.0). */
get handle_left(): H.Remote<M.Vector>;
set handle_left(v: H.In<M.VectorLike>);
/** Coordinates of the control point Default: (0.0, 0.0, 0.0). */
get co(): H.Remote<M.Vector>;
set co(v: H.In<M.VectorLike>);
/** Coordinates of the second handle Default: (0.0, 0.0, 0.0). */
get handle_right(): H.Remote<M.Vector>;
set handle_right(v: H.In<M.VectorLike>);
/** Tilt in 3D View Range: -376.9911193847656 to 376.9911193847656. Default: 0.0. */
get tilt(): H.Ref<number>;
set tilt(v: H.In<number>);
/** Softbody goal weight Range: 0.009999999776482582 to 100. Default: 0.0. */
get weight_softbody(): H.Ref<number>;
set weight_softbody(v: H.In<number>);
/** Radius for beveling Range: 0 to inf. Default: 0.0. */
get radius(): H.Ref<number>;
set radius(v: H.In<number>);
}
/** bpy.types.BlExtDummyGroup */
export interface BlExtDummyGroup extends R.PropertyGroup {
/** Default: False. */
get show_tag(): H.Ref<boolean>;
set show_tag(v: H.In<boolean>);
}
/**
* Main data structure representing a .blend file and all its data-blocks
*
* bpy.types.BlendData
*/
export interface BlendData extends R.bpy_struct {
/** Path to the .blend file Default: "". */
get filepath(): H.Ref<string>;
/** Have recent edits been saved to disk Default: False. */
get is_dirty(): H.Ref<boolean>;
/** Has the current session been saved to disk as a .blend file Default: False. */
get is_saved(): H.Ref<boolean>;
/** Automatically pack all external data into .blend file Default: False. */
get use_autopack(): H.Ref<boolean>;
set use_autopack(v: H.In<boolean>);
/** File format version the .blend file was saved with Range: 0 to 2147483647. Default: (0, 0, 0). */
get version(): H.Arr<number>;
/** Camera data-blocks */
readonly cameras: H.Own<H.Coll<R.Camera> & R.BlendDataCameras>;
/** Scene data-blocks */
readonly scenes: H.Own<H.Coll<R.Scene> & R.BlendDataScenes>;
/** Object data-blocks */
readonly objects: H.Own<H.Coll<R.Object> & R.BlendDataObjects>;
/** Material data-blocks */
readonly materials: H.Own<H.Coll<R.Material> & R.BlendDataMaterials>;
/** Node group data-blocks */
readonly node_groups: H.Own<H.Coll<R.NodeTree> & R.BlendDataNodeTrees>;
/** Mesh data-blocks */
readonly meshes: H.Own<H.Coll<R.Mesh> & R.BlendDataMeshes>;
/** Light data-blocks */
readonly lights: H.Own<H.Coll<R.Light> & R.BlendDataLights>;
/** Library data-blocks */
readonly libraries: H.Own<H.Coll<R.Library> & R.BlendDataLibraries>;
/** Screen data-blocks */
readonly screens: H.Own<H.Coll<R.Screen> & R.BlendDataScreens>;
/** Window manager data-blocks */
readonly window_managers: H.Own<H.Coll<R.WindowManager> & R.BlendDataWindowManagers>;
/** Image data-blocks */
readonly images: H.Own<H.Coll<R.Image> & R.BlendDataImages>;
/** Lattice data-blocks */
readonly lattices: H.Own<H.Coll<R.Lattice> & R.BlendDataLattices>;
/** Curve data-blocks */
readonly curves: H.Own<H.Coll<R.Curve> & R.BlendDataCurves>;
/** Metaball data-blocks */
readonly metaballs: H.Own<H.Coll<R.MetaBall> & R.BlendDataMetaBalls>;
/** Vector font data-blocks */
readonly fonts: H.Own<H.Coll<R.VectorFont> & R.BlendDataFonts>;
/** Texture data-blocks */
readonly textures: H.Own<H.Coll<R.Texture> & R.BlendDataTextures>;
/** Brush data-blocks */
readonly brushes: H.Own<H.Coll<R.Brush> & R.BlendDataBrushes>;
/** World data-blocks */
readonly worlds: H.Own<H.Coll<R.World> & R.BlendDataWorlds>;
/** Collection data-blocks */
readonly collections: H.Own<H.Coll<R.Collection> & R.BlendDataCollections>;
/** Shape Key data-blocks */
readonly shape_keys: H.Own<H.Coll<R.Key>>;
/** Text data-blocks */
readonly texts: H.Own<H.Coll<R.Text> & R.BlendDataTexts>;
/** Speaker data-blocks */
readonly speakers: H.Own<H.Coll<R.Speaker> & R.BlendDataSpeakers>;
/** Sound data-blocks */
readonly sounds: H.Own<H.Coll<R.Sound> & R.BlendDataSounds>;
/** Armature data-blocks */
readonly armatures: H.Own<H.Coll<R.Armature> & R.BlendDataArmatures>;
/** Action data-blocks */
readonly actions: H.Own<H.Coll<R.Action> & R.BlendDataActions>;
/** Particle data-blocks */
readonly particles: H.Own<H.Coll<R.ParticleSettings> & R.BlendDataParticles>;
/** Palette data-blocks */
readonly palettes: H.Own<H.Coll<R.Palette> & R.BlendDataPalettes>;
/** Annotation data-blocks (legacy Grease Pencil) */
readonly annotations: H.Own<H.Coll<R.Annotation> & R.BlendDataAnnotations>;
/** Grease Pencil data-blocks */
readonly grease_pencils: H.Own<H.Coll<R.GreasePencil> & R.BlendDataGreasePencilsV3>;
/** Movie Clip data-blocks */
readonly movieclips: H.Own<H.Coll<R.MovieClip> & R.BlendDataMovieClips>;
/** Masks data-blocks */
readonly masks: H.Own<H.Coll<R.Mask> & R.BlendDataMasks>;
/** Line Style data-blocks */
readonly linestyles: H.Own<H.Coll<R.FreestyleLineStyle> & R.BlendDataLineStyles>;
/** Cache Files data-blocks */
readonly cache_files: H.Own<H.Coll<R.CacheFile> & R.BlendDataCacheFiles>;
/** Paint Curves data-blocks */
readonly paint_curves: H.Own<H.Coll<R.PaintCurve> & R.BlendDataPaintCurves>;
/** Workspace data-blocks */
readonly workspaces: H.Own<H.Coll<R.WorkSpace> & R.BlendDataWorkSpaces>;
/** Light Probe data-blocks */
readonly lightprobes: H.Own<H.Coll<R.LightProbe> & R.BlendDataProbes>;
/** Hair curve data-blocks */
readonly hair_curves: H.Own<H.Coll<R.Curves> & R.BlendDataHairCurves>;
/** Point cloud data-blocks */
readonly pointclouds: H.Own<H.Coll<R.PointCloud> & R.BlendDataPointClouds>;
/** Volume data-blocks */
readonly volumes: H.Own<H.Coll<R.Volume> & R.BlendDataVolumes>;
/** Information about the color space used for data-blocks in a blend file */
get colorspace(): H.Own<R.BlendFileColorspace>;
/** Read-only list of all IDs listed in Blender data-base */
readonly all_ids: H.Own<H.Coll<R.ID>>;
/**
* Pack the given linked ID and its dependencies into current blendfile
* @param root_id Root linked ID to pack
*/
pack_linked_ids_hierarchy(root_id: R.ID): H.Ptr<R.ID>;
/**
* Pack the given linked ID and its dependencies into current blendfile
* @param root_id Root linked ID to pack
*/
pack_linked_ids_hierarchy(kw: {
/** Root linked ID to pack */
root_id: R.ID;
}): H.Ptr<R.ID>;
/**
* Remove (delete) several IDs at once.
*
* Note that this function is quicker than individual calls to :func:`remove()` (from :class:`bpy.types.BlendData`
* ID collections), but less safe/versatile (it can break Blender, e.g. by removing all scenes...).
* @param ids Sequence of IDs (types can be mixed).
*/
batch_remove(ids: H.In<readonly R.ID[]>): H.Ref<void>;
/**
* Remove (delete) several IDs at once.
*
* Note that this function is quicker than individual calls to :func:`remove()` (from :class:`bpy.types.BlendData`
* ID collections), but less safe/versatile (it can break Blender, e.g. by removing all scenes...).
* @param ids Sequence of IDs (types can be mixed).
*/
batch_remove(kw: {
/** Sequence of IDs (types can be mixed). */
ids: H.In<readonly R.ID[]>;
}): H.Ref<void>;
/**
* Call ``visit_path_fn`` for the file paths used by all ID data-blocks in current ``bpy.data``.
*
* For list of valid set members for visit_types, see: :class:`bpy.types.KeyingSetPath.id_type`.
* @param visit_path_fn function that takes three parameters: the data-block, a file path, and a :class:`bpy.types.BlendDataPathMeta` metadata object. The function should return either ``None`` or a ``str``. In the latter case, the visited file path will be replaced with the returned string.
*/
file_path_foreach(visit_path_fn: any, kw?: {
/** When given, only these data-blocks and their used file paths will be visited. */
subset?: H.In<Set<string> | null>;
/** When given, only visit data-blocks of these types. Ignored if ``subset`` is also given. */
visit_types?: H.In<Set<string> | null>;
/** Set of flags that influence which data-blocks are visited. See :ref:`rna_enum_file_path_foreach_flag_items`. */
flags?: H.In<Set<string>>;
}): H.Ref<void>;
/**
* Call ``visit_path_fn`` for the file paths used by all ID data-blocks in current ``bpy.data``.
*
* For list of valid set members for visit_types, see: :class:`bpy.types.KeyingSetPath.id_type`.
* @param visit_path_fn function that takes three parameters: the data-block, a file path, and a :class:`bpy.types.BlendDataPathMeta` metadata object. The function should return either ``None`` or a ``str``. In the latter case, the visited file path will be replaced with the returned string.
*/
file_path_foreach(kw: {
/** function that takes three parameters: the data-block, a file path, and a :class:`bpy.types.BlendDataPathMeta` metadata object. The function should return either ``None`` or a ``str``. In the latter case, the visited file path will be replaced with the returned string. */
visit_path_fn: any;
/** When given, only these data-blocks and their used file paths will be visited. */
subset?: H.In<Set<string> | null>;
/** When given, only visit data-blocks of these types. Ignored if ``subset`` is also given. */
visit_types?: H.In<Set<string> | null>;
/** Set of flags that influence which data-blocks are visited. See :ref:`rna_enum_file_path_foreach_flag_items`. */
flags?: H.In<Set<string>>;
}): H.Ref<void>;
/**
* Returns a mapping of all ID data-blocks in current ``bpy.data`` to a set of all file paths used by them.
*
* For list of valid set members for key_types, see: :class:`bpy.types.KeyingSetPath.id_type`.
* @returns dictionary of :class:`bpy.types.ID` instances, with sets of file path strings as their values.
*/
file_path_map(kw?: {
/** When given, only these data-blocks and their used file paths will be included as keys/values in the map. */
subset?: H.In<readonly R.ID[] | null>;
/** When given, filter the keys mapped by ID types. Ignored if ``subset`` is also given. */
key_types?: H.In<Set<string> | null>;
/** Include library file paths of linked data. False by default. */
include_libraries?: H.In<boolean>;
}): H.Ref<Map<R.ID, Set<string>>>;
/**
* Remove (delete) all IDs with no user.
* @returns The number of deleted IDs.
* @param do_local_ids Include unused local IDs in the deletion, defaults to True
* @param do_linked_ids Include unused linked IDs in the deletion, defaults to True
* @param do_recursive Recursively check for unused IDs, ensuring no orphaned one remain after a single run of that function, defaults to False
*/
orphans_purge(do_local_ids?: H.In<boolean>, do_linked_ids?: H.In<boolean>, do_recursive?: H.In<boolean>): H.Ref<number>;
/**
* Remove (delete) all IDs with no user.
* @returns The number of deleted IDs.
* @param do_local_ids Include unused local IDs in the deletion, defaults to True
* @param do_linked_ids Include unused linked IDs in the deletion, defaults to True
* @param do_recursive Recursively check for unused IDs, ensuring no orphaned one remain after a single run of that function, defaults to False
*/
orphans_purge(kw: {
/** Include unused local IDs in the deletion, defaults to True */
do_local_ids?: H.In<boolean>;
/** Include unused linked IDs in the deletion, defaults to True */
do_linked_ids?: H.In<boolean>;
/** Recursively check for unused IDs, ensuring no orphaned one remain after a single run of that function, defaults to False */
do_recursive?: H.In<boolean>;
}): H.Ref<number>;
/**
* A context manager that temporarily creates blender file data.
* @returns Blend file data which is freed once the context exits.
*/
temp_data(kw?: {
/** The file path for the newly temporary data. When None, the path of the currently open file is used. */
filepath?: H.In<string | H.Bytes | null>;
}): H.Ptr<R.BlendData>;
/**
* Returns a mapping of all ID data-blocks in current ``bpy.data`` to a set of all data-blocks using them.
*
* For list of valid set members for key_types & value_types, see: :class:`bpy.types.KeyingSetPath.id_type`.
* @returns dictionary that maps data-blocks ID's to their users.
*/
user_map(kw?: {
/** When passed, only these data-blocks and their users will be included as keys/values in the map. */
subset?: H.In<readonly R.ID[] | null>;
/** Filter the keys mapped by ID types. */
key_types?: H.In<Set<string> | null>;
/** Filter the values in the set by ID types. */
value_types?: H.In<Set<string> | null>;
}): H.Ref<Map<R.ID, Set<R.ID>>>;
}
/**
* Collection of actions
*
* bpy.types.BlendDataActions
*/
export interface BlendDataActions {
/**
* Add a new action to the main database
* @param name New name for the data-block
*/
"new"(name: H.In<string>): H.Ptr<R.Action>;
/**
* Add a new action to the main database
* @param name New name for the data-block
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
}): H.Ptr<R.Action>;
/**
* Remove an action from the current blendfile
* @param action Action to remove
* @param do_unlink Unlink all usages of this action before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this action
* @param do_ui_user Make sure interface does not reference this action
*/
remove(action: R.Action, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove an action from the current blendfile
* @param action Action to remove
* @param do_unlink Unlink all usages of this action before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this action
* @param do_ui_user Make sure interface does not reference this action
*/
remove(action: R.Action, kw: {
/** Unlink all usages of this action before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this action */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this action */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove an action from the current blendfile
* @param action Action to remove
* @param do_unlink Unlink all usages of this action before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this action
* @param do_ui_user Make sure interface does not reference this action
*/
remove(kw: {
/** Action to remove */
action: R.Action;
/** Unlink all usages of this action before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this action */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this action */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of annotations
*
* bpy.types.BlendDataAnnotations
*/
export interface BlendDataAnnotations {
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
/**
* Add a new annotation data-block to the main database
* @param name New name for the data-block
*/
"new"(name: H.In<string>): H.Ptr<R.Annotation>;
/**
* Add a new annotation data-block to the main database
* @param name New name for the data-block
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
}): H.Ptr<R.Annotation>;
/**
* Remove annotation instance from the current blendfile
* @param annotation Grease Pencil to remove
* @param do_unlink Unlink all usages of this annotation before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this annotation
* @param do_ui_user Make sure interface does not reference this annotation
*/
remove(annotation: R.Annotation, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove annotation instance from the current blendfile
* @param annotation Grease Pencil to remove
* @param do_unlink Unlink all usages of this annotation before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this annotation
* @param do_ui_user Make sure interface does not reference this annotation
*/
remove(annotation: R.Annotation, kw: {
/** Unlink all usages of this annotation before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this annotation */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this annotation */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove annotation instance from the current blendfile
* @param annotation Grease Pencil to remove
* @param do_unlink Unlink all usages of this annotation before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this annotation
* @param do_ui_user Make sure interface does not reference this annotation
*/
remove(kw: {
/** Grease Pencil to remove */
annotation: R.Annotation;
/** Unlink all usages of this annotation before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this annotation */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this annotation */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
}
/**
* Collection of armatures
*
* bpy.types.BlendDataArmatures
*/
export interface BlendDataArmatures {
/**
* Add a new armature to the main database
* @param name New name for the data-block
*/
"new"(name: H.In<string>): H.Ptr<R.Armature>;
/**
* Add a new armature to the main database
* @param name New name for the data-block
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
}): H.Ptr<R.Armature>;
/**
* Remove an armature from the current blendfile
* @param armature Armature to remove
* @param do_unlink Unlink all usages of this armature before deleting it (WARNING: will also delete objects instancing that armature data)
* @param do_id_user Decrement user counter of all data-blocks used by this armature data
* @param do_ui_user Make sure interface does not reference this armature data
*/
remove(armature: R.Armature, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove an armature from the current blendfile
* @param armature Armature to remove
* @param do_unlink Unlink all usages of this armature before deleting it (WARNING: will also delete objects instancing that armature data)
* @param do_id_user Decrement user counter of all data-blocks used by this armature data
* @param do_ui_user Make sure interface does not reference this armature data
*/
remove(armature: R.Armature, kw: {
/** Unlink all usages of this armature before deleting it (WARNING: will also delete objects instancing that armature data) */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this armature data */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this armature data */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove an armature from the current blendfile
* @param armature Armature to remove
* @param do_unlink Unlink all usages of this armature before deleting it (WARNING: will also delete objects instancing that armature data)
* @param do_id_user Decrement user counter of all data-blocks used by this armature data
* @param do_ui_user Make sure interface does not reference this armature data
*/
remove(kw: {
/** Armature to remove */
armature: R.Armature;
/** Unlink all usages of this armature before deleting it (WARNING: will also delete objects instancing that armature data) */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this armature data */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this armature data */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of brushes
*
* bpy.types.BlendDataBrushes
*/
export interface BlendDataBrushes {
/**
* Add a new brush to the main database
* @param name New name for the data-block
* @param mode Paint Mode for the new brush
*/
"new"(name: H.In<string>, mode?: H.In<E.BlendDataBrushesMode>): H.Ptr<R.Brush>;
/**
* Add a new brush to the main database
* @param name New name for the data-block
* @param mode Paint Mode for the new brush
*/
"new"(name: H.In<string>, kw: {
/** Paint Mode for the new brush */
mode?: H.In<E.BlendDataBrushesMode>;
}): H.Ptr<R.Brush>;
/**
* Add a new brush to the main database
* @param name New name for the data-block
* @param mode Paint Mode for the new brush
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
/** Paint Mode for the new brush */
mode?: H.In<E.BlendDataBrushesMode>;
}): H.Ptr<R.Brush>;
/**
* Remove a brush from the current blendfile
* @param brush Brush to remove
* @param do_unlink Unlink all usages of this brush before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this brush
* @param do_ui_user Make sure interface does not reference this brush
*/
remove(brush: R.Brush, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove a brush from the current blendfile
* @param brush Brush to remove
* @param do_unlink Unlink all usages of this brush before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this brush
* @param do_ui_user Make sure interface does not reference this brush
*/
remove(brush: R.Brush, kw: {
/** Unlink all usages of this brush before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this brush */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this brush */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a brush from the current blendfile
* @param brush Brush to remove
* @param do_unlink Unlink all usages of this brush before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this brush
* @param do_ui_user Make sure interface does not reference this brush
*/
remove(kw: {
/** Brush to remove */
brush: R.Brush;
/** Unlink all usages of this brush before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this brush */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this brush */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
/**
* Add Grease Pencil brush settings
* @param brush Brush
*/
create_gpencil_data(brush: R.Brush): H.Ref<void>;
/**
* Add Grease Pencil brush settings
* @param brush Brush
*/
create_gpencil_data(kw: {
/** Brush */
brush: R.Brush;
}): H.Ref<void>;
}
/**
* Collection of cache files
*
* bpy.types.BlendDataCacheFiles
*/
export interface BlendDataCacheFiles {
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of cameras
*
* bpy.types.BlendDataCameras
*/
export interface BlendDataCameras {
/**
* Add a new camera to the main database
* @param name New name for the data-block
*/
"new"(name: H.In<string>): H.Ptr<R.Camera>;
/**
* Add a new camera to the main database
* @param name New name for the data-block
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
}): H.Ptr<R.Camera>;
/**
* Remove a camera from the current blendfile
* @param camera Camera to remove
* @param do_unlink Unlink all usages of this camera before deleting it (WARNING: will also delete objects instancing that camera data)
* @param do_id_user Decrement user counter of all data-blocks used by this camera
* @param do_ui_user Make sure interface does not reference this camera
*/
remove(camera: R.Camera, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove a camera from the current blendfile
* @param camera Camera to remove
* @param do_unlink Unlink all usages of this camera before deleting it (WARNING: will also delete objects instancing that camera data)
* @param do_id_user Decrement user counter of all data-blocks used by this camera
* @param do_ui_user Make sure interface does not reference this camera
*/
remove(camera: R.Camera, kw: {
/** Unlink all usages of this camera before deleting it (WARNING: will also delete objects instancing that camera data) */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this camera */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this camera */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a camera from the current blendfile
* @param camera Camera to remove
* @param do_unlink Unlink all usages of this camera before deleting it (WARNING: will also delete objects instancing that camera data)
* @param do_id_user Decrement user counter of all data-blocks used by this camera
* @param do_ui_user Make sure interface does not reference this camera
*/
remove(kw: {
/** Camera to remove */
camera: R.Camera;
/** Unlink all usages of this camera before deleting it (WARNING: will also delete objects instancing that camera data) */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this camera */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this camera */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of collections
*
* bpy.types.BlendDataCollections
*/
export interface BlendDataCollections {
/**
* Add a new collection to the main database
* @param name New name for the data-block
*/
"new"(name: H.In<string>): H.Ptr<R.Collection>;
/**
* Add a new collection to the main database
* @param name New name for the data-block
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
}): H.Ptr<R.Collection>;
/**
* Remove a collection from the current blendfile
* @param collection Collection to remove
* @param do_unlink Unlink all usages of this collection before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this collection
* @param do_ui_user Make sure interface does not reference this collection
*/
remove(collection: R.Collection, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove a collection from the current blendfile
* @param collection Collection to remove
* @param do_unlink Unlink all usages of this collection before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this collection
* @param do_ui_user Make sure interface does not reference this collection
*/
remove(collection: R.Collection, kw: {
/** Unlink all usages of this collection before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this collection */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this collection */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a collection from the current blendfile
* @param collection Collection to remove
* @param do_unlink Unlink all usages of this collection before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this collection
* @param do_ui_user Make sure interface does not reference this collection
*/
remove(kw: {
/** Collection to remove */
collection: R.Collection;
/** Unlink all usages of this collection before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this collection */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this collection */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of curves
*
* bpy.types.BlendDataCurves
*/
export interface BlendDataCurves {
/**
* Add a new curve to the main database
* @param name New name for the data-block
* @param type The type of curve to add - `CURVE`: Curve - `SURFACE`: Surface - `FONT`: Text
*/
"new"(name: H.In<string>, type: H.In<"CURVE" | "SURFACE" | "FONT">): H.Ptr<R.Curve>;
/**
* Add a new curve to the main database
* @param name New name for the data-block
* @param type The type of curve to add - `CURVE`: Curve - `SURFACE`: Surface - `FONT`: Text
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
/**
* The type of curve to add
* - `CURVE`: Curve
* - `SURFACE`: Surface
* - `FONT`: Text
*/
type: H.In<"CURVE" | "SURFACE" | "FONT">;
}): H.Ptr<R.Curve>;
/**
* Remove a curve from the current blendfile
* @param curve Curve to remove
* @param do_unlink Unlink all usages of this curve before deleting it (WARNING: will also delete objects instancing that curve data)
* @param do_id_user Decrement user counter of all data-blocks used by this curve data
* @param do_ui_user Make sure interface does not reference this curve data
*/
remove(curve: R.Curve, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove a curve from the current blendfile
* @param curve Curve to remove
* @param do_unlink Unlink all usages of this curve before deleting it (WARNING: will also delete objects instancing that curve data)
* @param do_id_user Decrement user counter of all data-blocks used by this curve data
* @param do_ui_user Make sure interface does not reference this curve data
*/
remove(curve: R.Curve, kw: {
/** Unlink all usages of this curve before deleting it (WARNING: will also delete objects instancing that curve data) */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this curve data */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this curve data */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a curve from the current blendfile
* @param curve Curve to remove
* @param do_unlink Unlink all usages of this curve before deleting it (WARNING: will also delete objects instancing that curve data)
* @param do_id_user Decrement user counter of all data-blocks used by this curve data
* @param do_ui_user Make sure interface does not reference this curve data
*/
remove(kw: {
/** Curve to remove */
curve: R.Curve;
/** Unlink all usages of this curve before deleting it (WARNING: will also delete objects instancing that curve data) */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this curve data */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this curve data */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of fonts
*
* bpy.types.BlendDataFonts
*/
export interface BlendDataFonts {
/**
* Load a new font into the main database
* @param filepath path of the font to load
* @param check_existing Using existing data-block if this file is already loaded
*/
load(filepath: H.In<string>, check_existing?: H.In<boolean>): H.Ptr<R.VectorFont>;
/**
* Load a new font into the main database
* @param filepath path of the font to load
* @param check_existing Using existing data-block if this file is already loaded
*/
load(filepath: H.In<string>, kw: {
/** Using existing data-block if this file is already loaded */
check_existing?: H.In<boolean>;
}): H.Ptr<R.VectorFont>;
/**
* Load a new font into the main database
* @param filepath path of the font to load
* @param check_existing Using existing data-block if this file is already loaded
*/
load(kw: {
/** path of the font to load */
filepath: H.In<string>;
/** Using existing data-block if this file is already loaded */
check_existing?: H.In<boolean>;
}): H.Ptr<R.VectorFont>;
/**
* Remove a font from the current blendfile
* @param vfont Font to remove
* @param do_unlink Unlink all usages of this font before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this font
* @param do_ui_user Make sure interface does not reference this font
*/
remove(vfont: R.VectorFont, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove a font from the current blendfile
* @param vfont Font to remove
* @param do_unlink Unlink all usages of this font before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this font
* @param do_ui_user Make sure interface does not reference this font
*/
remove(vfont: R.VectorFont, kw: {
/** Unlink all usages of this font before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this font */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this font */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a font from the current blendfile
* @param vfont Font to remove
* @param do_unlink Unlink all usages of this font before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this font
* @param do_ui_user Make sure interface does not reference this font
*/
remove(kw: {
/** Font to remove */
vfont: R.VectorFont;
/** Unlink all usages of this font before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this font */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this font */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of Grease Pencils
*
* bpy.types.BlendDataGreasePencilsV3
*/
export interface BlendDataGreasePencilsV3 {
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
/**
* Add a new Grease Pencil data-block to the main database
* @param name New name for the data-block
*/
"new"(name: H.In<string>): H.Ptr<R.GreasePencil>;
/**
* Add a new Grease Pencil data-block to the main database
* @param name New name for the data-block
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
}): H.Ptr<R.GreasePencil>;
/**
* Remove a Grease Pencil instance from the current blendfile
* @param grease_pencil Grease Pencil to remove
* @param do_unlink Unlink all usages of this Grease Pencil before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this Grease Pencil
* @param do_ui_user Make sure interface does not reference this Grease Pencil
*/
remove(grease_pencil: R.GreasePencil, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove a Grease Pencil instance from the current blendfile
* @param grease_pencil Grease Pencil to remove
* @param do_unlink Unlink all usages of this Grease Pencil before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this Grease Pencil
* @param do_ui_user Make sure interface does not reference this Grease Pencil
*/
remove(grease_pencil: R.GreasePencil, kw: {
/** Unlink all usages of this Grease Pencil before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this Grease Pencil */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this Grease Pencil */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a Grease Pencil instance from the current blendfile
* @param grease_pencil Grease Pencil to remove
* @param do_unlink Unlink all usages of this Grease Pencil before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this Grease Pencil
* @param do_ui_user Make sure interface does not reference this Grease Pencil
*/
remove(kw: {
/** Grease Pencil to remove */
grease_pencil: R.GreasePencil;
/** Unlink all usages of this Grease Pencil before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this Grease Pencil */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this Grease Pencil */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
}
/**
* Collection of hair curves
*
* bpy.types.BlendDataHairCurves
*/
export interface BlendDataHairCurves {
/**
* Add a new hair to the main database
* @param name New name for the data-block
*/
"new"(name: H.In<string>): H.Ptr<R.Curves>;
/**
* Add a new hair to the main database
* @param name New name for the data-block
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
}): H.Ptr<R.Curves>;
/**
* Remove a curves data-block from the current blendfile
* @param curves Curves data-block to remove
* @param do_unlink Unlink all usages of this curves before deleting it (WARNING: will also delete objects instancing that curves data)
* @param do_id_user Decrement user counter of all data-blocks used by this curves data
* @param do_ui_user Make sure interface does not reference this curves data
*/
remove(curves: R.Curves, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove a curves data-block from the current blendfile
* @param curves Curves data-block to remove
* @param do_unlink Unlink all usages of this curves before deleting it (WARNING: will also delete objects instancing that curves data)
* @param do_id_user Decrement user counter of all data-blocks used by this curves data
* @param do_ui_user Make sure interface does not reference this curves data
*/
remove(curves: R.Curves, kw: {
/** Unlink all usages of this curves before deleting it (WARNING: will also delete objects instancing that curves data) */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this curves data */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this curves data */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a curves data-block from the current blendfile
* @param curves Curves data-block to remove
* @param do_unlink Unlink all usages of this curves before deleting it (WARNING: will also delete objects instancing that curves data)
* @param do_id_user Decrement user counter of all data-blocks used by this curves data
* @param do_ui_user Make sure interface does not reference this curves data
*/
remove(kw: {
/** Curves data-block to remove */
curves: R.Curves;
/** Unlink all usages of this curves before deleting it (WARNING: will also delete objects instancing that curves data) */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this curves data */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this curves data */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of images
*
* bpy.types.BlendDataImages
*/
export interface BlendDataImages {
/**
* Add a new image to the main database
* @param name New name for the data-block
* @param width Width of the image
* @param height Height of the image
* @param alpha Use alpha channel
* @param float_buffer Create an image with floating-point color
* @param stereo3d Create left and right views
* @param is_data Create image with non-color data color space
* @param tiled Create a tiled image
*/
"new"(name: H.In<string>, width: H.In<number>, height: H.In<number>, alpha?: H.In<boolean>, float_buffer?: H.In<boolean>, stereo3d?: H.In<boolean>, is_data?: H.In<boolean>, tiled?: H.In<boolean>): H.Ptr<R.Image>;
/**
* Add a new image to the main database
* @param name New name for the data-block
* @param width Width of the image
* @param height Height of the image
* @param alpha Use alpha channel
* @param float_buffer Create an image with floating-point color
* @param stereo3d Create left and right views
* @param is_data Create image with non-color data color space
* @param tiled Create a tiled image
*/
"new"(name: H.In<string>, width: H.In<number>, height: H.In<number>, kw: {
/** Use alpha channel */
alpha?: H.In<boolean>;
/** Create an image with floating-point color */
float_buffer?: H.In<boolean>;
/** Create left and right views */
stereo3d?: H.In<boolean>;
/** Create image with non-color data color space */
is_data?: H.In<boolean>;
/** Create a tiled image */
tiled?: H.In<boolean>;
}): H.Ptr<R.Image>;
/**
* Add a new image to the main database
* @param name New name for the data-block
* @param width Width of the image
* @param height Height of the image
* @param alpha Use alpha channel
* @param float_buffer Create an image with floating-point color
* @param stereo3d Create left and right views
* @param is_data Create image with non-color data color space
* @param tiled Create a tiled image
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
/** Width of the image */
width: H.In<number>;
/** Height of the image */
height: H.In<number>;
/** Use alpha channel */
alpha?: H.In<boolean>;
/** Create an image with floating-point color */
float_buffer?: H.In<boolean>;
/** Create left and right views */
stereo3d?: H.In<boolean>;
/** Create image with non-color data color space */
is_data?: H.In<boolean>;
/** Create a tiled image */
tiled?: H.In<boolean>;
}): H.Ptr<R.Image>;
/**
* Load a new image into the main database
* @param filepath Path of the file to load
* @param check_existing Using existing data-block if this file is already loaded
*/
load(filepath: H.In<string>, check_existing?: H.In<boolean>): H.Ptr<R.Image>;
/**
* Load a new image into the main database
* @param filepath Path of the file to load
* @param check_existing Using existing data-block if this file is already loaded
*/
load(filepath: H.In<string>, kw: {
/** Using existing data-block if this file is already loaded */
check_existing?: H.In<boolean>;
}): H.Ptr<R.Image>;
/**
* Load a new image into the main database
* @param filepath Path of the file to load
* @param check_existing Using existing data-block if this file is already loaded
*/
load(kw: {
/** Path of the file to load */
filepath: H.In<string>;
/** Using existing data-block if this file is already loaded */
check_existing?: H.In<boolean>;
}): H.Ptr<R.Image>;
/**
* Remove an image from the current blendfile
* @param image Image to remove
* @param do_unlink Unlink all usages of this image before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this image
* @param do_ui_user Make sure interface does not reference this image
*/
remove(image: R.Image, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove an image from the current blendfile
* @param image Image to remove
* @param do_unlink Unlink all usages of this image before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this image
* @param do_ui_user Make sure interface does not reference this image
*/
remove(image: R.Image, kw: {
/** Unlink all usages of this image before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this image */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this image */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove an image from the current blendfile
* @param image Image to remove
* @param do_unlink Unlink all usages of this image before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this image
* @param do_ui_user Make sure interface does not reference this image
*/
remove(kw: {
/** Image to remove */
image: R.Image;
/** Unlink all usages of this image before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this image */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this image */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of lattices
*
* bpy.types.BlendDataLattices
*/
export interface BlendDataLattices {
/**
* Add a new lattice to the main database
* @param name New name for the data-block
*/
"new"(name: H.In<string>): H.Ptr<R.Lattice>;
/**
* Add a new lattice to the main database
* @param name New name for the data-block
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
}): H.Ptr<R.Lattice>;
/**
* Remove a lattice from the current blendfile
* @param lattice Lattice to remove
* @param do_unlink Unlink all usages of this lattice before deleting it (WARNING: will also delete objects instancing that lattice data)
* @param do_id_user Decrement user counter of all data-blocks used by this lattice data
* @param do_ui_user Make sure interface does not reference this lattice data
*/
remove(lattice: R.Lattice, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove a lattice from the current blendfile
* @param lattice Lattice to remove
* @param do_unlink Unlink all usages of this lattice before deleting it (WARNING: will also delete objects instancing that lattice data)
* @param do_id_user Decrement user counter of all data-blocks used by this lattice data
* @param do_ui_user Make sure interface does not reference this lattice data
*/
remove(lattice: R.Lattice, kw: {
/** Unlink all usages of this lattice before deleting it (WARNING: will also delete objects instancing that lattice data) */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this lattice data */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this lattice data */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a lattice from the current blendfile
* @param lattice Lattice to remove
* @param do_unlink Unlink all usages of this lattice before deleting it (WARNING: will also delete objects instancing that lattice data)
* @param do_id_user Decrement user counter of all data-blocks used by this lattice data
* @param do_ui_user Make sure interface does not reference this lattice data
*/
remove(kw: {
/** Lattice to remove */
lattice: R.Lattice;
/** Unlink all usages of this lattice before deleting it (WARNING: will also delete objects instancing that lattice data) */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this lattice data */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this lattice data */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of libraries
*
* bpy.types.BlendDataLibraries
*/
export interface BlendDataLibraries {
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
/**
* Remove a library from the current blendfile
* @param library Library to remove
* @param do_unlink Unlink all usages of this library before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this library
* @param do_ui_user Make sure interface does not reference this library
*/
remove(library: R.Library, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove a library from the current blendfile
* @param library Library to remove
* @param do_unlink Unlink all usages of this library before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this library
* @param do_ui_user Make sure interface does not reference this library
*/
remove(library: R.Library, kw: {
/** Unlink all usages of this library before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this library */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this library */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a library from the current blendfile
* @param library Library to remove
* @param do_unlink Unlink all usages of this library before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this library
* @param do_ui_user Make sure interface does not reference this library
*/
remove(kw: {
/** Library to remove */
library: R.Library;
/** Unlink all usages of this library before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this library */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this library */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Returns a context manager which exposes a pair of library objects (input and output)
* on entering.
*
* The input contains the data-blocks available in the loaded blend-file library and should
* be treated as read-only.
* Data-block names added to the output are linked/appended when the context exits.
*
* Each library object contains:
* - Attributes matching ``bpy.data``, which are lists of strings representing linkable
* data-blocks.
* - A ``libraries`` attribute, which for the input is a list of all other libraries
* used by the loaded one, as named tuples (``filepath``, ``is_archive``). The
* filepath may be absolute, or relative to the loaded blend-file. The output
* ``libraries`` attribute is always ``None``.
* - A ``version`` attribute, representing the version of the loaded library blend-file
* (for the input) or the version of the current Blender (for the output).
*
* Notes:
* - Not all data-block types are linkable (e.g. WindowManager, Library, ...).
* - Packed linked data-blocks are not linkable and are not listed in the input
* ``libraries`` attribute.
* @param filepath The path to a blend file.
*/
load(filepath: H.In<string | H.Bytes>, kw?: {
/** When False reference to the original file is lost. */
link?: H.In<boolean>;
/** If True, and ``link`` is also True, pack linked data-blocks into the current blend-file. */
pack?: H.In<boolean>;
/** When True the path is stored relative to the open blend file. */
relative?: H.In<boolean>;
/** If True, set fake user on appended IDs. */
set_fake?: H.In<boolean>;
/** If True, also make indirect dependencies of appended libraries local. */
recursive?: H.In<boolean>;
/** If True,try to re-use previously appended matching ID on new append. */
reuse_local_id?: H.In<boolean>;
/** If True, only list data-blocks marked as assets. */
assets_only?: H.In<boolean>;
/** If True, clear the asset data on append (it is always kept for linked data). */
clear_asset_data?: H.In<boolean>;
/**
* If True and ``link`` is True, liboverrides will
* be created for linked data.
*/
create_liboverrides?: H.In<boolean>;
/**
* If True and ``create_liboverride`` is True,
* search for existing liboverride first.
*/
reuse_liboverrides?: H.In<boolean>;
/**
* If True and ``create_liboverride`` is True,
* create (or search for existing) runtime liboverride.
*/
create_liboverrides_runtime?: H.In<boolean>;
}): any;
/**
* Returns a context manager which exposes a pair of library objects (input and output)
* on entering.
*
* The input contains the data-blocks available in the loaded blend-file library and should
* be treated as read-only.
* Data-block names added to the output are linked/appended when the context exits.
*
* Each library object contains:
* - Attributes matching ``bpy.data``, which are lists of strings representing linkable
* data-blocks.
* - A ``libraries`` attribute, which for the input is a list of all other libraries
* used by the loaded one, as named tuples (``filepath``, ``is_archive``). The
* filepath may be absolute, or relative to the loaded blend-file. The output
* ``libraries`` attribute is always ``None``.
* - A ``version`` attribute, representing the version of the loaded library blend-file
* (for the input) or the version of the current Blender (for the output).
*
* Notes:
* - Not all data-block types are linkable (e.g. WindowManager, Library, ...).
* - Packed linked data-blocks are not linkable and are not listed in the input
* ``libraries`` attribute.
* @param filepath The path to a blend file.
*/
load(kw: {
/** The path to a blend file. */
filepath: H.In<string | H.Bytes>;
/** When False reference to the original file is lost. */
link?: H.In<boolean>;
/** If True, and ``link`` is also True, pack linked data-blocks into the current blend-file. */
pack?: H.In<boolean>;
/** When True the path is stored relative to the open blend file. */
relative?: H.In<boolean>;
/** If True, set fake user on appended IDs. */
set_fake?: H.In<boolean>;
/** If True, also make indirect dependencies of appended libraries local. */
recursive?: H.In<boolean>;
/** If True,try to re-use previously appended matching ID on new append. */
reuse_local_id?: H.In<boolean>;
/** If True, only list data-blocks marked as assets. */
assets_only?: H.In<boolean>;
/** If True, clear the asset data on append (it is always kept for linked data). */
clear_asset_data?: H.In<boolean>;
/**
* If True and ``link`` is True, liboverrides will
* be created for linked data.
*/
create_liboverrides?: H.In<boolean>;
/**
* If True and ``create_liboverride`` is True,
* search for existing liboverride first.
*/
reuse_liboverrides?: H.In<boolean>;
/**
* If True and ``create_liboverride`` is True,
* create (or search for existing) runtime liboverride.
*/
create_liboverrides_runtime?: H.In<boolean>;
}): any;
/**
* Write data-blocks into a blend file.
*
* .. note::
*
* Indirectly referenced data-blocks will be expanded and written too.
* @param filepath The path to write the blend-file.
* @param datablocks set of data-blocks.
*/
write(filepath: H.In<string | H.Bytes>, datablocks: H.In<Set<R.ID>>, kw?: {
/**
* Optionally remap paths when writing the file:
* - ``NONE`` No path manipulation (default).
* - ``RELATIVE`` Remap paths that are already relative to the new location.
* - ``RELATIVE_ALL`` Remap all paths to be relative to the new location.
* - ``ABSOLUTE`` Make all paths absolute on writing.
*/
path_remap?: H.In<string>;
/** When True, data-blocks will be written with fake-user flag enabled. */
fake_user?: H.In<boolean>;
/** When True, write a compressed blend file. */
compress?: H.In<boolean>;
}): H.Ref<void>;
/**
* Write data-blocks into a blend file.
*
* .. note::
*
* Indirectly referenced data-blocks will be expanded and written too.
* @param filepath The path to write the blend-file.
* @param datablocks set of data-blocks.
*/
write(kw: {
/** The path to write the blend-file. */
filepath: H.In<string | H.Bytes>;
/** set of data-blocks. */
datablocks: H.In<Set<R.ID>>;
/**
* Optionally remap paths when writing the file:
* - ``NONE`` No path manipulation (default).
* - ``RELATIVE`` Remap paths that are already relative to the new location.
* - ``RELATIVE_ALL`` Remap all paths to be relative to the new location.
* - ``ABSOLUTE`` Make all paths absolute on writing.
*/
path_remap?: H.In<string>;
/** When True, data-blocks will be written with fake-user flag enabled. */
fake_user?: H.In<boolean>;
/** When True, write a compressed blend file. */
compress?: H.In<boolean>;
}): H.Ref<void>;
}
/**
* Collection of lights
*
* bpy.types.BlendDataLights
*/
export interface BlendDataLights {
/**
* Add a new light to the main database
* @param name New name for the data-block
* @param type The type of light to add - `POINT`: Point (Omnidirectional point light source) - `SUN`: Sun (Constant direction parallel ray light source) - `SPOT`: Spot (Directional cone light source) - `AREA`: Area (Directional area light source)
*/
"new"<K extends keyof R.BlendDataLights_new_types>(name: H.In<string>, type: K): H.Ptr<R.BlendDataLights_new_types[K]>;
/**
* Add a new light to the main database
* @param name New name for the data-block
* @param type The type of light to add - `POINT`: Point (Omnidirectional point light source) - `SUN`: Sun (Constant direction parallel ray light source) - `SPOT`: Spot (Directional cone light source) - `AREA`: Area (Directional area light source)
*/
"new"<K extends keyof R.BlendDataLights_new_types>(kw: {
/** New name for the data-block */
name: H.In<string>;
/**
* The type of light to add
* - `POINT`: Point (Omnidirectional point light source)
* - `SUN`: Sun (Constant direction parallel ray light source)
* - `SPOT`: Spot (Directional cone light source)
* - `AREA`: Area (Directional area light source)
*/
type: K;
}): H.Ptr<R.BlendDataLights_new_types[K]>;
/**
* Add a new light to the main database
* @param name New name for the data-block
* @param type The type of light to add - `POINT`: Point (Omnidirectional point light source) - `SUN`: Sun (Constant direction parallel ray light source) - `SPOT`: Spot (Directional cone light source) - `AREA`: Area (Directional area light source)
*/
"new"(name: H.In<string>, type: H.In<"POINT" | "SUN" | "SPOT" | "AREA">): H.Ptr<R.Light>;
/**
* Add a new light to the main database
* @param name New name for the data-block
* @param type The type of light to add - `POINT`: Point (Omnidirectional point light source) - `SUN`: Sun (Constant direction parallel ray light source) - `SPOT`: Spot (Directional cone light source) - `AREA`: Area (Directional area light source)
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
/**
* The type of light to add
* - `POINT`: Point (Omnidirectional point light source)
* - `SUN`: Sun (Constant direction parallel ray light source)
* - `SPOT`: Spot (Directional cone light source)
* - `AREA`: Area (Directional area light source)
*/
type: H.In<"POINT" | "SUN" | "SPOT" | "AREA">;
}): H.Ptr<R.Light>;
/**
* Remove a light from the current blendfile
* @param light Light to remove
* @param do_unlink Unlink all usages of this light before deleting it (WARNING: will also delete objects instancing that light data)
* @param do_id_user Decrement user counter of all data-blocks used by this light data
* @param do_ui_user Make sure interface does not reference this light data
*/
remove(light: R.Light, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove a light from the current blendfile
* @param light Light to remove
* @param do_unlink Unlink all usages of this light before deleting it (WARNING: will also delete objects instancing that light data)
* @param do_id_user Decrement user counter of all data-blocks used by this light data
* @param do_ui_user Make sure interface does not reference this light data
*/
remove(light: R.Light, kw: {
/** Unlink all usages of this light before deleting it (WARNING: will also delete objects instancing that light data) */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this light data */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this light data */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a light from the current blendfile
* @param light Light to remove
* @param do_unlink Unlink all usages of this light before deleting it (WARNING: will also delete objects instancing that light data)
* @param do_id_user Decrement user counter of all data-blocks used by this light data
* @param do_ui_user Make sure interface does not reference this light data
*/
remove(kw: {
/** Light to remove */
light: R.Light;
/** Unlink all usages of this light before deleting it (WARNING: will also delete objects instancing that light data) */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this light data */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this light data */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of line styles
*
* bpy.types.BlendDataLineStyles
*/
export interface BlendDataLineStyles {
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
/**
* Add a new line style instance to the main database
* @param name New name for the data-block
*/
"new"(name: H.In<string>): H.Ptr<R.FreestyleLineStyle>;
/**
* Add a new line style instance to the main database
* @param name New name for the data-block
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
}): H.Ptr<R.FreestyleLineStyle>;
/**
* Remove a line style instance from the current blendfile
* @param linestyle Line style to remove
* @param do_unlink Unlink all usages of this line style before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this line style
* @param do_ui_user Make sure interface does not reference this line style
*/
remove(linestyle: R.FreestyleLineStyle, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove a line style instance from the current blendfile
* @param linestyle Line style to remove
* @param do_unlink Unlink all usages of this line style before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this line style
* @param do_ui_user Make sure interface does not reference this line style
*/
remove(linestyle: R.FreestyleLineStyle, kw: {
/** Unlink all usages of this line style before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this line style */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this line style */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a line style instance from the current blendfile
* @param linestyle Line style to remove
* @param do_unlink Unlink all usages of this line style before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this line style
* @param do_ui_user Make sure interface does not reference this line style
*/
remove(kw: {
/** Line style to remove */
linestyle: R.FreestyleLineStyle;
/** Unlink all usages of this line style before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this line style */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this line style */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
}
/**
* Collection of masks
*
* bpy.types.BlendDataMasks
*/
export interface BlendDataMasks {
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
/**
* Add a new mask with a given name to the main database
* @param name Name of new mask data-block
*/
"new"(name: H.In<string>): H.Ptr<R.Mask>;
/**
* Add a new mask with a given name to the main database
* @param name Name of new mask data-block
*/
"new"(kw: {
/** Name of new mask data-block */
name: H.In<string>;
}): H.Ptr<R.Mask>;
/**
* Remove a mask from the current blendfile
* @param mask Mask to remove
* @param do_unlink Unlink all usages of this mask before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this mask
* @param do_ui_user Make sure interface does not reference this mask
*/
remove(mask: R.Mask, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove a mask from the current blendfile
* @param mask Mask to remove
* @param do_unlink Unlink all usages of this mask before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this mask
* @param do_ui_user Make sure interface does not reference this mask
*/
remove(mask: R.Mask, kw: {
/** Unlink all usages of this mask before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this mask */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this mask */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a mask from the current blendfile
* @param mask Mask to remove
* @param do_unlink Unlink all usages of this mask before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this mask
* @param do_ui_user Make sure interface does not reference this mask
*/
remove(kw: {
/** Mask to remove */
mask: R.Mask;
/** Unlink all usages of this mask before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this mask */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this mask */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
}
/**
* Collection of materials
*
* bpy.types.BlendDataMaterials
*/
export interface BlendDataMaterials {
/**
* Add a new material to the main database
* @param name New name for the data-block
*/
"new"(name: H.In<string>): H.Ptr<R.Material>;
/**
* Add a new material to the main database
* @param name New name for the data-block
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
}): H.Ptr<R.Material>;
/**
* Add Grease Pencil material settings
* @param material Material
*/
create_gpencil_data(material: R.Material): H.Ref<void>;
/**
* Add Grease Pencil material settings
* @param material Material
*/
create_gpencil_data(kw: {
/** Material */
material: R.Material;
}): H.Ref<void>;
/**
* Remove Grease Pencil material settings
* @param material Material
*/
remove_gpencil_data(material: R.Material): H.Ref<void>;
/**
* Remove Grease Pencil material settings
* @param material Material
*/
remove_gpencil_data(kw: {
/** Material */
material: R.Material;
}): H.Ref<void>;
/**
* Remove a material from the current blendfile
* @param material Material to remove
* @param do_unlink Unlink all usages of this material before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this material
* @param do_ui_user Make sure interface does not reference this material
*/
remove(material: R.Material, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove a material from the current blendfile
* @param material Material to remove
* @param do_unlink Unlink all usages of this material before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this material
* @param do_ui_user Make sure interface does not reference this material
*/
remove(material: R.Material, kw: {
/** Unlink all usages of this material before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this material */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this material */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a material from the current blendfile
* @param material Material to remove
* @param do_unlink Unlink all usages of this material before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this material
* @param do_ui_user Make sure interface does not reference this material
*/
remove(kw: {
/** Material to remove */
material: R.Material;
/** Unlink all usages of this material before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this material */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this material */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of meshes
*
* bpy.types.BlendDataMeshes
*/
export interface BlendDataMeshes {
/**
* Add a new mesh to the main database
* @param name New name for the data-block
*/
"new"(name: H.In<string>): H.Ptr<R.Mesh>;
/**
* Add a new mesh to the main database
* @param name New name for the data-block
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
}): H.Ptr<R.Mesh>;
/**
* Add a new mesh created from given object (undeformed geometry if object is original, and final evaluated geometry, with all modifiers etc., if object is evaluated)
* @param object Object to create mesh from
* @param preserve_all_data_layers Preserve all data layers in the mesh, like UV maps and vertex groups. By default Blender only computes the subset of data layers needed for viewport display and rendering, for better performance.
* @param depsgraph Evaluated dependency graph which is required when preserve_all_data_layers is true
*/
new_from_object(object: R.Object, preserve_all_data_layers?: H.In<boolean>, depsgraph?: R.Depsgraph | null): H.Ptr<R.Mesh>;
/**
* Add a new mesh created from given object (undeformed geometry if object is original, and final evaluated geometry, with all modifiers etc., if object is evaluated)
* @param object Object to create mesh from
* @param preserve_all_data_layers Preserve all data layers in the mesh, like UV maps and vertex groups. By default Blender only computes the subset of data layers needed for viewport display and rendering, for better performance.
* @param depsgraph Evaluated dependency graph which is required when preserve_all_data_layers is true
*/
new_from_object(object: R.Object, kw: {
/** Preserve all data layers in the mesh, like UV maps and vertex groups. By default Blender only computes the subset of data layers needed for viewport display and rendering, for better performance. */
preserve_all_data_layers?: H.In<boolean>;
/** Evaluated dependency graph which is required when preserve_all_data_layers is true */
depsgraph?: R.Depsgraph | null;
}): H.Ptr<R.Mesh>;
/**
* Add a new mesh created from given object (undeformed geometry if object is original, and final evaluated geometry, with all modifiers etc., if object is evaluated)
* @param object Object to create mesh from
* @param preserve_all_data_layers Preserve all data layers in the mesh, like UV maps and vertex groups. By default Blender only computes the subset of data layers needed for viewport display and rendering, for better performance.
* @param depsgraph Evaluated dependency graph which is required when preserve_all_data_layers is true
*/
new_from_object(kw: {
/** Object to create mesh from */
object: R.Object;
/** Preserve all data layers in the mesh, like UV maps and vertex groups. By default Blender only computes the subset of data layers needed for viewport display and rendering, for better performance. */
preserve_all_data_layers?: H.In<boolean>;
/** Evaluated dependency graph which is required when preserve_all_data_layers is true */
depsgraph?: R.Depsgraph | null;
}): H.Ptr<R.Mesh>;
/**
* Remove a mesh from the current blendfile
* @param mesh Mesh to remove
* @param do_unlink Unlink all usages of this mesh before deleting it (WARNING: will also delete objects instancing that mesh data)
* @param do_id_user Decrement user counter of all data-blocks used by this mesh data
* @param do_ui_user Make sure interface does not reference this mesh data
*/
remove(mesh: R.Mesh, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove a mesh from the current blendfile
* @param mesh Mesh to remove
* @param do_unlink Unlink all usages of this mesh before deleting it (WARNING: will also delete objects instancing that mesh data)
* @param do_id_user Decrement user counter of all data-blocks used by this mesh data
* @param do_ui_user Make sure interface does not reference this mesh data
*/
remove(mesh: R.Mesh, kw: {
/** Unlink all usages of this mesh before deleting it (WARNING: will also delete objects instancing that mesh data) */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this mesh data */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this mesh data */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a mesh from the current blendfile
* @param mesh Mesh to remove
* @param do_unlink Unlink all usages of this mesh before deleting it (WARNING: will also delete objects instancing that mesh data)
* @param do_id_user Decrement user counter of all data-blocks used by this mesh data
* @param do_ui_user Make sure interface does not reference this mesh data
*/
remove(kw: {
/** Mesh to remove */
mesh: R.Mesh;
/** Unlink all usages of this mesh before deleting it (WARNING: will also delete objects instancing that mesh data) */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this mesh data */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this mesh data */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of metaballs
*
* bpy.types.BlendDataMetaBalls
*/
export interface BlendDataMetaBalls {
/**
* Add a new metaball to the main database
* @param name New name for the data-block
*/
"new"(name: H.In<string>): H.Ptr<R.MetaBall>;
/**
* Add a new metaball to the main database
* @param name New name for the data-block
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
}): H.Ptr<R.MetaBall>;
/**
* Remove a metaball from the current blendfile
* @param metaball Metaball to remove
* @param do_unlink Unlink all usages of this metaball before deleting it (WARNING: will also delete objects instancing that metaball data)
* @param do_id_user Decrement user counter of all data-blocks used by this metaball data
* @param do_ui_user Make sure interface does not reference this metaball data
*/
remove(metaball: R.MetaBall, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove a metaball from the current blendfile
* @param metaball Metaball to remove
* @param do_unlink Unlink all usages of this metaball before deleting it (WARNING: will also delete objects instancing that metaball data)
* @param do_id_user Decrement user counter of all data-blocks used by this metaball data
* @param do_ui_user Make sure interface does not reference this metaball data
*/
remove(metaball: R.MetaBall, kw: {
/** Unlink all usages of this metaball before deleting it (WARNING: will also delete objects instancing that metaball data) */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this metaball data */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this metaball data */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a metaball from the current blendfile
* @param metaball Metaball to remove
* @param do_unlink Unlink all usages of this metaball before deleting it (WARNING: will also delete objects instancing that metaball data)
* @param do_id_user Decrement user counter of all data-blocks used by this metaball data
* @param do_ui_user Make sure interface does not reference this metaball data
*/
remove(kw: {
/** Metaball to remove */
metaball: R.MetaBall;
/** Unlink all usages of this metaball before deleting it (WARNING: will also delete objects instancing that metaball data) */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this metaball data */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this metaball data */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of movie clips
*
* bpy.types.BlendDataMovieClips
*/
export interface BlendDataMovieClips {
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
/**
* Remove a movie clip from the current blendfile.
* @param clip Movie clip to remove
* @param do_unlink Unlink all usages of this movie clip before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this movie clip
* @param do_ui_user Make sure interface does not reference this movie clip
*/
remove(clip: R.MovieClip, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove a movie clip from the current blendfile.
* @param clip Movie clip to remove
* @param do_unlink Unlink all usages of this movie clip before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this movie clip
* @param do_ui_user Make sure interface does not reference this movie clip
*/
remove(clip: R.MovieClip, kw: {
/** Unlink all usages of this movie clip before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this movie clip */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this movie clip */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a movie clip from the current blendfile.
* @param clip Movie clip to remove
* @param do_unlink Unlink all usages of this movie clip before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this movie clip
* @param do_ui_user Make sure interface does not reference this movie clip
*/
remove(kw: {
/** Movie clip to remove */
clip: R.MovieClip;
/** Unlink all usages of this movie clip before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this movie clip */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this movie clip */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Add a new movie clip to the main database from a file (while ``check_existing`` is disabled for consistency with other load functions, behavior with multiple movie-clips using the same file may incorrectly generate proxies)
* @param filepath path for the data-block
* @param check_existing Using existing data-block if this file is already loaded
*/
load(filepath: H.In<string>, check_existing?: H.In<boolean>): H.Ptr<R.MovieClip>;
/**
* Add a new movie clip to the main database from a file (while ``check_existing`` is disabled for consistency with other load functions, behavior with multiple movie-clips using the same file may incorrectly generate proxies)
* @param filepath path for the data-block
* @param check_existing Using existing data-block if this file is already loaded
*/
load(filepath: H.In<string>, kw: {
/** Using existing data-block if this file is already loaded */
check_existing?: H.In<boolean>;
}): H.Ptr<R.MovieClip>;
/**
* Add a new movie clip to the main database from a file (while ``check_existing`` is disabled for consistency with other load functions, behavior with multiple movie-clips using the same file may incorrectly generate proxies)
* @param filepath path for the data-block
* @param check_existing Using existing data-block if this file is already loaded
*/
load(kw: {
/** path for the data-block */
filepath: H.In<string>;
/** Using existing data-block if this file is already loaded */
check_existing?: H.In<boolean>;
}): H.Ptr<R.MovieClip>;
}
/**
* Collection of node trees
*
* bpy.types.BlendDataNodeTrees
*/
export interface BlendDataNodeTrees {
/**
* Add a new node tree to the main database
* @param name New name for the data-block
* @param type The type of node_group to add - `GeometryNodeTree`: Geometry Node Editor (Advanced geometry editing and tools creation using nodes) - `CompositorNodeTree`: Compositor (Create effects and post-process renders, images, and the 3D Viewport) - `ShaderNodeTree`: Shader Editor (Edit materials, lights, and world shading using nodes) - `TextureNodeTree`: Texture Node Editor (Edit textures using nodes)
*/
"new"<K extends keyof R.BlendDataNodeTrees_new_types>(name: H.In<string>, type: K): H.Ptr<R.BlendDataNodeTrees_new_types[K]>;
/**
* Add a new node tree to the main database
* @param name New name for the data-block
* @param type The type of node_group to add - `GeometryNodeTree`: Geometry Node Editor (Advanced geometry editing and tools creation using nodes) - `CompositorNodeTree`: Compositor (Create effects and post-process renders, images, and the 3D Viewport) - `ShaderNodeTree`: Shader Editor (Edit materials, lights, and world shading using nodes) - `TextureNodeTree`: Texture Node Editor (Edit textures using nodes)
*/
"new"<K extends keyof R.BlendDataNodeTrees_new_types>(kw: {
/** New name for the data-block */
name: H.In<string>;
/**
* The type of node_group to add
* - `GeometryNodeTree`: Geometry Node Editor (Advanced geometry editing and tools creation using nodes)
* - `CompositorNodeTree`: Compositor (Create effects and post-process renders, images, and the 3D Viewport)
* - `ShaderNodeTree`: Shader Editor (Edit materials, lights, and world shading using nodes)
* - `TextureNodeTree`: Texture Node Editor (Edit textures using nodes)
*/
type: K;
}): H.Ptr<R.BlendDataNodeTrees_new_types[K]>;
/**
* Add a new node tree to the main database
* @param name New name for the data-block
* @param type The type of node_group to add - `GeometryNodeTree`: Geometry Node Editor (Advanced geometry editing and tools creation using nodes) - `CompositorNodeTree`: Compositor (Create effects and post-process renders, images, and the 3D Viewport) - `ShaderNodeTree`: Shader Editor (Edit materials, lights, and world shading using nodes) - `TextureNodeTree`: Texture Node Editor (Edit textures using nodes)
*/
"new"(name: H.In<string>, type: H.In<"GeometryNodeTree" | "CompositorNodeTree" | "ShaderNodeTree" | "TextureNodeTree" | (string & {})>): H.Ptr<R.NodeTree>;
/**
* Add a new node tree to the main database
* @param name New name for the data-block
* @param type The type of node_group to add - `GeometryNodeTree`: Geometry Node Editor (Advanced geometry editing and tools creation using nodes) - `CompositorNodeTree`: Compositor (Create effects and post-process renders, images, and the 3D Viewport) - `ShaderNodeTree`: Shader Editor (Edit materials, lights, and world shading using nodes) - `TextureNodeTree`: Texture Node Editor (Edit textures using nodes)
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
/**
* The type of node_group to add
* - `GeometryNodeTree`: Geometry Node Editor (Advanced geometry editing and tools creation using nodes)
* - `CompositorNodeTree`: Compositor (Create effects and post-process renders, images, and the 3D Viewport)
* - `ShaderNodeTree`: Shader Editor (Edit materials, lights, and world shading using nodes)
* - `TextureNodeTree`: Texture Node Editor (Edit textures using nodes)
*/
type: H.In<"GeometryNodeTree" | "CompositorNodeTree" | "ShaderNodeTree" | "TextureNodeTree" | (string & {})>;
}): H.Ptr<R.NodeTree>;
/**
* Remove a node tree from the current blendfile
* @param tree Node tree to remove
* @param do_unlink Unlink all usages of this node tree before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this node tree
* @param do_ui_user Make sure interface does not reference this node tree
*/
remove(tree: R.NodeTree, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove a node tree from the current blendfile
* @param tree Node tree to remove
* @param do_unlink Unlink all usages of this node tree before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this node tree
* @param do_ui_user Make sure interface does not reference this node tree
*/
remove(tree: R.NodeTree, kw: {
/** Unlink all usages of this node tree before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this node tree */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this node tree */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a node tree from the current blendfile
* @param tree Node tree to remove
* @param do_unlink Unlink all usages of this node tree before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this node tree
* @param do_ui_user Make sure interface does not reference this node tree
*/
remove(kw: {
/** Node tree to remove */
tree: R.NodeTree;
/** Unlink all usages of this node tree before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this node tree */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this node tree */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of objects
*
* bpy.types.BlendDataObjects
*/
export interface BlendDataObjects {
/**
* Add a new object to the main database
* @param name New name for the data-block
* @param object_data Object data or None for an empty object
*/
"new"(name: H.In<string>, object_data: R.ID): H.Ptr<R.Object>;
/**
* Add a new object to the main database
* @param name New name for the data-block
* @param object_data Object data or None for an empty object
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
/** Object data or None for an empty object */
object_data: R.ID;
}): H.Ptr<R.Object>;
/**
* Remove an object from the current blendfile
* @param object Object to remove
* @param do_unlink Unlink all usages of this object before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this object
* @param do_ui_user Make sure interface does not reference this object
*/
remove(object: R.Object, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove an object from the current blendfile
* @param object Object to remove
* @param do_unlink Unlink all usages of this object before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this object
* @param do_ui_user Make sure interface does not reference this object
*/
remove(object: R.Object, kw: {
/** Unlink all usages of this object before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this object */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this object */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove an object from the current blendfile
* @param object Object to remove
* @param do_unlink Unlink all usages of this object before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this object
* @param do_ui_user Make sure interface does not reference this object
*/
remove(kw: {
/** Object to remove */
object: R.Object;
/** Unlink all usages of this object before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this object */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this object */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of paint curves
*
* bpy.types.BlendDataPaintCurves
*/
export interface BlendDataPaintCurves {
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of palettes
*
* bpy.types.BlendDataPalettes
*/
export interface BlendDataPalettes {
/**
* Add a new palette to the main database
* @param name New name for the data-block
*/
"new"(name: H.In<string>): H.Ptr<R.Palette>;
/**
* Add a new palette to the main database
* @param name New name for the data-block
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
}): H.Ptr<R.Palette>;
/**
* Remove a palette from the current blendfile
* @param palette Palette to remove
* @param do_unlink Unlink all usages of this palette before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this palette
* @param do_ui_user Make sure interface does not reference this palette
*/
remove(palette: R.Palette, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove a palette from the current blendfile
* @param palette Palette to remove
* @param do_unlink Unlink all usages of this palette before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this palette
* @param do_ui_user Make sure interface does not reference this palette
*/
remove(palette: R.Palette, kw: {
/** Unlink all usages of this palette before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this palette */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this palette */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a palette from the current blendfile
* @param palette Palette to remove
* @param do_unlink Unlink all usages of this palette before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this palette
* @param do_ui_user Make sure interface does not reference this palette
*/
remove(kw: {
/** Palette to remove */
palette: R.Palette;
/** Unlink all usages of this palette before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this palette */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this palette */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of particle settings
*
* bpy.types.BlendDataParticles
*/
export interface BlendDataParticles {
/**
* Add a new particle settings instance to the main database
* @param name New name for the data-block
*/
"new"(name: H.In<string>): H.Ptr<R.ParticleSettings>;
/**
* Add a new particle settings instance to the main database
* @param name New name for the data-block
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
}): H.Ptr<R.ParticleSettings>;
/**
* Remove a particle settings instance from the current blendfile
* @param particle Particle Settings to remove
* @param do_unlink Unlink all usages of those particle settings before deleting them
* @param do_id_user Decrement user counter of all data-blocks used by this particle settings
* @param do_ui_user Make sure interface does not reference this particle settings
*/
remove(particle: R.ParticleSettings, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove a particle settings instance from the current blendfile
* @param particle Particle Settings to remove
* @param do_unlink Unlink all usages of those particle settings before deleting them
* @param do_id_user Decrement user counter of all data-blocks used by this particle settings
* @param do_ui_user Make sure interface does not reference this particle settings
*/
remove(particle: R.ParticleSettings, kw: {
/** Unlink all usages of those particle settings before deleting them */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this particle settings */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this particle settings */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a particle settings instance from the current blendfile
* @param particle Particle Settings to remove
* @param do_unlink Unlink all usages of those particle settings before deleting them
* @param do_id_user Decrement user counter of all data-blocks used by this particle settings
* @param do_ui_user Make sure interface does not reference this particle settings
*/
remove(kw: {
/** Particle Settings to remove */
particle: R.ParticleSettings;
/** Unlink all usages of those particle settings before deleting them */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this particle settings */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this particle settings */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of point clouds
*
* bpy.types.BlendDataPointClouds
*/
export interface BlendDataPointClouds {
/**
* Add a new point cloud to the main database
* @param name New name for the data-block
*/
"new"(name: H.In<string>): H.Ptr<R.PointCloud>;
/**
* Add a new point cloud to the main database
* @param name New name for the data-block
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
}): H.Ptr<R.PointCloud>;
/**
* Remove a point cloud from the current blendfile
* @param pointcloud Point cloud to remove
* @param do_unlink Unlink all usages of this point cloud before deleting it (WARNING: will also delete objects instancing that point cloud data)
* @param do_id_user Decrement user counter of all data-blocks used by this point cloud data
* @param do_ui_user Make sure interface does not reference this point cloud data
*/
remove(pointcloud: R.PointCloud, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove a point cloud from the current blendfile
* @param pointcloud Point cloud to remove
* @param do_unlink Unlink all usages of this point cloud before deleting it (WARNING: will also delete objects instancing that point cloud data)
* @param do_id_user Decrement user counter of all data-blocks used by this point cloud data
* @param do_ui_user Make sure interface does not reference this point cloud data
*/
remove(pointcloud: R.PointCloud, kw: {
/** Unlink all usages of this point cloud before deleting it (WARNING: will also delete objects instancing that point cloud data) */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this point cloud data */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this point cloud data */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a point cloud from the current blendfile
* @param pointcloud Point cloud to remove
* @param do_unlink Unlink all usages of this point cloud before deleting it (WARNING: will also delete objects instancing that point cloud data)
* @param do_id_user Decrement user counter of all data-blocks used by this point cloud data
* @param do_ui_user Make sure interface does not reference this point cloud data
*/
remove(kw: {
/** Point cloud to remove */
pointcloud: R.PointCloud;
/** Unlink all usages of this point cloud before deleting it (WARNING: will also delete objects instancing that point cloud data) */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this point cloud data */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this point cloud data */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of light probes
*
* bpy.types.BlendDataProbes
*/
export interface BlendDataProbes {
/**
* Add a new light probe to the main database
* @param name New name for the data-block
* @param type The type of light probe to add - `SPHERE`: Sphere - `PLANE`: Plane - `VOLUME`: Volume
*/
"new"(name: H.In<string>, type: H.In<"SPHERE" | "PLANE" | "VOLUME">): H.Ptr<R.LightProbe>;
/**
* Add a new light probe to the main database
* @param name New name for the data-block
* @param type The type of light probe to add - `SPHERE`: Sphere - `PLANE`: Plane - `VOLUME`: Volume
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
/**
* The type of light probe to add
* - `SPHERE`: Sphere
* - `PLANE`: Plane
* - `VOLUME`: Volume
*/
type: H.In<"SPHERE" | "PLANE" | "VOLUME">;
}): H.Ptr<R.LightProbe>;
/**
* Remove a light probe from the current blendfile
* @param lightprobe Light probe to remove
* @param do_unlink Unlink all usages of this light probe before deleting it (WARNING: will also delete objects instancing that light probe data)
* @param do_id_user Decrement user counter of all data-blocks used by this light probe
* @param do_ui_user Make sure interface does not reference this light probe
*/
remove(lightprobe: R.LightProbe, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove a light probe from the current blendfile
* @param lightprobe Light probe to remove
* @param do_unlink Unlink all usages of this light probe before deleting it (WARNING: will also delete objects instancing that light probe data)
* @param do_id_user Decrement user counter of all data-blocks used by this light probe
* @param do_ui_user Make sure interface does not reference this light probe
*/
remove(lightprobe: R.LightProbe, kw: {
/** Unlink all usages of this light probe before deleting it (WARNING: will also delete objects instancing that light probe data) */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this light probe */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this light probe */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a light probe from the current blendfile
* @param lightprobe Light probe to remove
* @param do_unlink Unlink all usages of this light probe before deleting it (WARNING: will also delete objects instancing that light probe data)
* @param do_id_user Decrement user counter of all data-blocks used by this light probe
* @param do_ui_user Make sure interface does not reference this light probe
*/
remove(kw: {
/** Light probe to remove */
lightprobe: R.LightProbe;
/** Unlink all usages of this light probe before deleting it (WARNING: will also delete objects instancing that light probe data) */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this light probe */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this light probe */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of scenes
*
* bpy.types.BlendDataScenes
*/
export interface BlendDataScenes {
/**
* Add a new scene to the main database
* @param name New name for the data-block
*/
"new"(name: H.In<string>): H.Ptr<R.Scene>;
/**
* Add a new scene to the main database
* @param name New name for the data-block
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
}): H.Ptr<R.Scene>;
/**
* Remove a scene from the current blendfile
* @param scene Scene to remove
* @param do_unlink Unlink all usages of this scene before deleting it
*/
remove(scene: R.Scene, do_unlink?: H.In<boolean>): H.Ref<void>;
/**
* Remove a scene from the current blendfile
* @param scene Scene to remove
* @param do_unlink Unlink all usages of this scene before deleting it
*/
remove(scene: R.Scene, kw: {
/** Unlink all usages of this scene before deleting it */
do_unlink?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a scene from the current blendfile
* @param scene Scene to remove
* @param do_unlink Unlink all usages of this scene before deleting it
*/
remove(kw: {
/** Scene to remove */
scene: R.Scene;
/** Unlink all usages of this scene before deleting it */
do_unlink?: H.In<boolean>;
}): H.Ref<void>;
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of screens
*
* bpy.types.BlendDataScreens
*/
export interface BlendDataScreens {
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of sounds
*
* bpy.types.BlendDataSounds
*/
export interface BlendDataSounds {
/**
* Add a new sound to the main database from a file
* @param filepath path for the data-block
* @param check_existing Using existing data-block if this file is already loaded
*/
load(filepath: H.In<string>, check_existing?: H.In<boolean>): H.Ptr<R.Sound>;
/**
* Add a new sound to the main database from a file
* @param filepath path for the data-block
* @param check_existing Using existing data-block if this file is already loaded
*/
load(filepath: H.In<string>, kw: {
/** Using existing data-block if this file is already loaded */
check_existing?: H.In<boolean>;
}): H.Ptr<R.Sound>;
/**
* Add a new sound to the main database from a file
* @param filepath path for the data-block
* @param check_existing Using existing data-block if this file is already loaded
*/
load(kw: {
/** path for the data-block */
filepath: H.In<string>;
/** Using existing data-block if this file is already loaded */
check_existing?: H.In<boolean>;
}): H.Ptr<R.Sound>;
/**
* Remove a sound from the current blendfile
* @param sound Sound to remove
* @param do_unlink Unlink all usages of this sound before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this sound
* @param do_ui_user Make sure interface does not reference this sound
*/
remove(sound: R.Sound, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove a sound from the current blendfile
* @param sound Sound to remove
* @param do_unlink Unlink all usages of this sound before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this sound
* @param do_ui_user Make sure interface does not reference this sound
*/
remove(sound: R.Sound, kw: {
/** Unlink all usages of this sound before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this sound */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this sound */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a sound from the current blendfile
* @param sound Sound to remove
* @param do_unlink Unlink all usages of this sound before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this sound
* @param do_ui_user Make sure interface does not reference this sound
*/
remove(kw: {
/** Sound to remove */
sound: R.Sound;
/** Unlink all usages of this sound before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this sound */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this sound */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of speakers
*
* bpy.types.BlendDataSpeakers
*/
export interface BlendDataSpeakers {
/**
* Add a new speaker to the main database
* @param name New name for the data-block
*/
"new"(name: H.In<string>): H.Ptr<R.Speaker>;
/**
* Add a new speaker to the main database
* @param name New name for the data-block
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
}): H.Ptr<R.Speaker>;
/**
* Remove a speaker from the current blendfile
* @param speaker Speaker to remove
* @param do_unlink Unlink all usages of this speaker before deleting it (WARNING: will also delete objects instancing that speaker data)
* @param do_id_user Decrement user counter of all data-blocks used by this speaker data
* @param do_ui_user Make sure interface does not reference this speaker data
*/
remove(speaker: R.Speaker, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove a speaker from the current blendfile
* @param speaker Speaker to remove
* @param do_unlink Unlink all usages of this speaker before deleting it (WARNING: will also delete objects instancing that speaker data)
* @param do_id_user Decrement user counter of all data-blocks used by this speaker data
* @param do_ui_user Make sure interface does not reference this speaker data
*/
remove(speaker: R.Speaker, kw: {
/** Unlink all usages of this speaker before deleting it (WARNING: will also delete objects instancing that speaker data) */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this speaker data */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this speaker data */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a speaker from the current blendfile
* @param speaker Speaker to remove
* @param do_unlink Unlink all usages of this speaker before deleting it (WARNING: will also delete objects instancing that speaker data)
* @param do_id_user Decrement user counter of all data-blocks used by this speaker data
* @param do_ui_user Make sure interface does not reference this speaker data
*/
remove(kw: {
/** Speaker to remove */
speaker: R.Speaker;
/** Unlink all usages of this speaker before deleting it (WARNING: will also delete objects instancing that speaker data) */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this speaker data */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this speaker data */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of texts
*
* bpy.types.BlendDataTexts
*/
export interface BlendDataTexts {
/**
* Add a new text to the main database
* @param name New name for the data-block
*/
"new"(name: H.In<string>): H.Ptr<R.Text>;
/**
* Add a new text to the main database
* @param name New name for the data-block
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
}): H.Ptr<R.Text>;
/**
* Remove a text from the current blendfile
* @param text Text to remove
* @param do_unlink Unlink all usages of this text before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this text
* @param do_ui_user Make sure interface does not reference this text
*/
remove(text: R.Text, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove a text from the current blendfile
* @param text Text to remove
* @param do_unlink Unlink all usages of this text before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this text
* @param do_ui_user Make sure interface does not reference this text
*/
remove(text: R.Text, kw: {
/** Unlink all usages of this text before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this text */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this text */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a text from the current blendfile
* @param text Text to remove
* @param do_unlink Unlink all usages of this text before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this text
* @param do_ui_user Make sure interface does not reference this text
*/
remove(kw: {
/** Text to remove */
text: R.Text;
/** Unlink all usages of this text before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this text */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this text */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Add a new text to the main database from a file
* @param filepath path for the data-block
* @param internal Make text file internal after loading
*/
load(filepath: H.In<string>, internal?: H.In<boolean>): H.Ptr<R.Text>;
/**
* Add a new text to the main database from a file
* @param filepath path for the data-block
* @param internal Make text file internal after loading
*/
load(filepath: H.In<string>, kw: {
/** Make text file internal after loading */
internal?: H.In<boolean>;
}): H.Ptr<R.Text>;
/**
* Add a new text to the main database from a file
* @param filepath path for the data-block
* @param internal Make text file internal after loading
*/
load(kw: {
/** path for the data-block */
filepath: H.In<string>;
/** Make text file internal after loading */
internal?: H.In<boolean>;
}): H.Ptr<R.Text>;
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of textures
*
* bpy.types.BlendDataTextures
*/
export interface BlendDataTextures {
/**
* Add a new texture to the main database
* @param name New name for the data-block
* @param type The type of texture to add
*/
"new"<K extends keyof R.BlendDataTextures_new_types>(name: H.In<string>, type: K): H.Ptr<R.BlendDataTextures_new_types[K]>;
/**
* Add a new texture to the main database
* @param name New name for the data-block
* @param type The type of texture to add
*/
"new"<K extends keyof R.BlendDataTextures_new_types>(kw: {
/** New name for the data-block */
name: H.In<string>;
/** The type of texture to add */
type: K;
}): H.Ptr<R.BlendDataTextures_new_types[K]>;
/**
* Add a new texture to the main database
* @param name New name for the data-block
* @param type The type of texture to add
*/
"new"(name: H.In<string>, type: H.In<E.BlendDataTexturesType>): H.Ptr<R.Texture>;
/**
* Add a new texture to the main database
* @param name New name for the data-block
* @param type The type of texture to add
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
/** The type of texture to add */
type: H.In<E.BlendDataTexturesType>;
}): H.Ptr<R.Texture>;
/**
* Remove a texture from the current blendfile
* @param texture Texture to remove
* @param do_unlink Unlink all usages of this texture before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this texture
* @param do_ui_user Make sure interface does not reference this texture
*/
remove(texture: R.Texture, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove a texture from the current blendfile
* @param texture Texture to remove
* @param do_unlink Unlink all usages of this texture before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this texture
* @param do_ui_user Make sure interface does not reference this texture
*/
remove(texture: R.Texture, kw: {
/** Unlink all usages of this texture before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this texture */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this texture */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a texture from the current blendfile
* @param texture Texture to remove
* @param do_unlink Unlink all usages of this texture before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this texture
* @param do_ui_user Make sure interface does not reference this texture
*/
remove(kw: {
/** Texture to remove */
texture: R.Texture;
/** Unlink all usages of this texture before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this texture */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this texture */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of volumes
*
* bpy.types.BlendDataVolumes
*/
export interface BlendDataVolumes {
/**
* Add a new volume to the main database
* @param name New name for the data-block
*/
"new"(name: H.In<string>): H.Ptr<R.Volume>;
/**
* Add a new volume to the main database
* @param name New name for the data-block
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
}): H.Ptr<R.Volume>;
/**
* Remove a volume from the current blendfile
* @param volume Volume to remove
* @param do_unlink Unlink all usages of this volume before deleting it (WARNING: will also delete objects instancing that volume data)
* @param do_id_user Decrement user counter of all data-blocks used by this volume data
* @param do_ui_user Make sure interface does not reference this volume data
*/
remove(volume: R.Volume, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove a volume from the current blendfile
* @param volume Volume to remove
* @param do_unlink Unlink all usages of this volume before deleting it (WARNING: will also delete objects instancing that volume data)
* @param do_id_user Decrement user counter of all data-blocks used by this volume data
* @param do_ui_user Make sure interface does not reference this volume data
*/
remove(volume: R.Volume, kw: {
/** Unlink all usages of this volume before deleting it (WARNING: will also delete objects instancing that volume data) */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this volume data */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this volume data */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a volume from the current blendfile
* @param volume Volume to remove
* @param do_unlink Unlink all usages of this volume before deleting it (WARNING: will also delete objects instancing that volume data)
* @param do_id_user Decrement user counter of all data-blocks used by this volume data
* @param do_ui_user Make sure interface does not reference this volume data
*/
remove(kw: {
/** Volume to remove */
volume: R.Volume;
/** Unlink all usages of this volume before deleting it (WARNING: will also delete objects instancing that volume data) */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this volume data */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this volume data */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of window managers
*
* bpy.types.BlendDataWindowManagers
*/
export interface BlendDataWindowManagers {
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of workspaces
*
* bpy.types.BlendDataWorkSpaces
*/
export interface BlendDataWorkSpaces {
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Collection of worlds
*
* bpy.types.BlendDataWorlds
*/
export interface BlendDataWorlds {
/**
* Add a new world to the main database
* @param name New name for the data-block
*/
"new"(name: H.In<string>): H.Ptr<R.World>;
/**
* Add a new world to the main database
* @param name New name for the data-block
*/
"new"(kw: {
/** New name for the data-block */
name: H.In<string>;
}): H.Ptr<R.World>;
/**
* Remove a world from the current blendfile
* @param world World to remove
* @param do_unlink Unlink all usages of this world before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this world
* @param do_ui_user Make sure interface does not reference this world
*/
remove(world: R.World, do_unlink?: H.In<boolean>, do_id_user?: H.In<boolean>, do_ui_user?: H.In<boolean>): H.Ref<void>;
/**
* Remove a world from the current blendfile
* @param world World to remove
* @param do_unlink Unlink all usages of this world before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this world
* @param do_ui_user Make sure interface does not reference this world
*/
remove(world: R.World, kw: {
/** Unlink all usages of this world before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this world */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this world */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/**
* Remove a world from the current blendfile
* @param world World to remove
* @param do_unlink Unlink all usages of this world before deleting it
* @param do_id_user Decrement user counter of all data-blocks used by this world
* @param do_ui_user Make sure interface does not reference this world
*/
remove(kw: {
/** World to remove */
world: R.World;
/** Unlink all usages of this world before deleting it */
do_unlink?: H.In<boolean>;
/** Decrement user counter of all data-blocks used by this world */
do_id_user?: H.In<boolean>;
/** Make sure interface does not reference this world */
do_ui_user?: H.In<boolean>;
}): H.Ref<void>;
/** tag */
tag(value: H.In<boolean>): H.Ref<void>;
/** tag */
tag(kw: { value: H.In<boolean> }): H.Ref<void>;
}
/**
* Information about the color space used for data-blocks in a blend file
*
* bpy.types.BlendFileColorspace
*/
export interface BlendFileColorspace extends R.bpy_struct {
/**
* Color space used for all scene linear colors in this file, and for compositing, shader and geometry nodes processing Default: ''.
* - `Linear Rec.709`: Linear Rec.709 (Linear BT.709 with illuminant D65 white point)
* - `Linear Rec.2020`: Linear Rec.2020 (Linear BT.2020 with illuminant D65 white point)
* - `ACEScg`: ACEScg (Linear AP1 with ACES white point)
*/
get working_space(): H.Ref<"Linear Rec.709" | "Linear Rec.2020" | "ACEScg" | (string & {})>;
/** Unique identifier for common color spaces, as defined by the Color Interop Forum. May be empty if there is no interop ID for the working space. Common values are lin_rec709_scene, lin_rec2020_scene and lin_ap1_scene (for ACEScg) Default: "". */
get working_space_interop_id(): H.Ref<string>;
/** A color space, view or display was not found, which likely means the OpenColorIO config used to create this blend file is missing Default: False. */
get is_missing_opencolorio_config(): H.Ref<boolean>;
}
/**
* Contextual data for a blendfile library/linked-data related operation. Currently only exposed as read-only data for the pre/post blendimport handlers
*
* bpy.types.BlendImportContext
*/
export interface BlendImportContext extends R.bpy_struct {
readonly import_items: H.Own<H.Coll<R.BlendImportContextItem> & R.BlendImportContextItems>;
/** Options for this blendfile import operation Default: set(). */
get options(): H.Ref<Set<E.BlendImportContextOptions>>;
/**
* Current stage of the import process Default: 'INIT'.
* - `INIT`: (Blendfile import context has been initialized and filled with a list of items to import, no data has been linked or appended yet)
* - `DONE`: (All data has been imported and is available in the list of "import_items")
*/
get process_stage(): H.Ref<"INIT" | "DONE">;
}
/**
* An item (representing a data-block) in a BlendImportContext data. Currently only exposed as read-only data for the pre/post linking handlers
*
* bpy.types.BlendImportContextItem
*/
export interface BlendImportContextItem extends R.bpy_struct {
/** ID name of the item Default: "". */
get name(): H.Ref<string>;
/** ID type of the item Default: 'ACTION'. */
get id_type(): H.Ref<E.ActionSlotsIdType>;
/** List of libraries to search and import that ID from. The ID will be imported from the first file in that list that contains it */
readonly source_libraries: H.Own<H.Coll<R.BlendImportContextLibrary> & R.BlendImportContextLibraries>;
/**
* How this item has been handled by the append operation. Only set if the data has been appended Default: 'UNSET'.
* - `UNSET`: (Not yet defined)
* - `KEEP_LINKED`: (ID has been kept linked)
* - `REUSE_LOCAL`: (An existing matching local ID has been re-used)
* - `MAKE_LOCAL`: (The newly linked ID has been made local)
* - `COPY_LOCAL`: (The linked ID had other unrelated usages, so it has been duplicated into a local copy)
*/
get append_action(): H.Ref<"UNSET" | "KEEP_LINKED" | "REUSE_LOCAL" | "MAKE_LOCAL" | "COPY_LOCAL">;
/**
* Various status info about an item after it has been imported Default: set().
* - `INDIRECT_USAGE`: (That item was added for an indirectly imported ID, as a dependency of another data-block)
* - `LIBOVERRIDE_DEPENDENCY`: (That item represents an ID also used as liboverride dependency (either directly, as a liboverride reference, or indirectly, as data used by a liboverride reference). It should never be directly made local. Mutually exclusive with `LIBOVERRIDE_DEPENDENCY_ONLY`)
* - `LIBOVERRIDE_DEPENDENCY_ONLY`: (That item represents an ID only used as liboverride dependency (either directly or indirectly, see `LIBOVERRIDE_DEPENDENCY` for precisions). It should not be considered during the 'make local' (append) process, and remain purely linked data. Mutually exclusive with `LIBOVERRIDE_DEPENDENCY`)
*/
get import_info(): H.Ref<Set<"INDIRECT_USAGE" | "LIBOVERRIDE_DEPENDENCY" | "LIBOVERRIDE_DEPENDENCY_ONLY">>;
/** The imported ID. None until it has been linked or appended. May be the same as ``reusable_local_id`` when appended */
get id(): H.Ptr<R.ID>;
/** Library ID representing the blendfile from which the ID was imported. None until the ID has been linked or appended */
get source_library(): H.Ptr<R.Library>;
/** The library override of the linked ID. None until it has been created */
get library_override_id(): H.Ptr<R.ID>;
/** The already existing local ID that may be reused in append & reuse case. None until it has been found */
get reusable_local_id(): H.Ptr<R.ID>;
}
/**
* Collection of blendfile import context items
*
* bpy.types.BlendImportContextItems
*/
export interface BlendImportContextItems {
}
/**
* Collection of source libraries, i.e. blendfile paths
*
* bpy.types.BlendImportContextLibraries
*/
export interface BlendImportContextLibraries {
}
/**
* Library (blendfile) reference in a BlendImportContext data. Currently only exposed as read-only data for the pre/post blendimport handlers
*
* bpy.types.BlendImportContextLibrary
*/
export interface BlendImportContextLibrary extends R.bpy_struct {
/** Default: "". */
get filepath(): H.Ref<string>;
}
/**
* Procedural color blending texture
*
* bpy.types.BlendTexture
*/
export interface BlendTexture extends R.Texture {
/** Style of the color blending Default: 'LINEAR'. */
get progression(): H.Ref<E.BlendTextureProgression>;
set progression(v: H.In<E.BlendTextureProgression>);
/**
* Flip the texture's X and Y axis Default: 'HORIZONTAL'.
* - `HORIZONTAL`: Horizontal (No flipping)
* - `VERTICAL`: Vertical (Flip the texture's X and Y axis)
*/
get use_flip_axis(): H.Ref<"HORIZONTAL" | "VERTICAL">;
set use_flip_axis(v: H.In<"HORIZONTAL" | "VERTICAL">);
}
/**
* Blender RNA structure definitions
*
* bpy.types.BlenderRNA
*/
export interface BlenderRNA extends R.bpy_struct {
/** Structs */
readonly structs: H.Own<H.Coll<R.Struct>>;
}
/** bpy.types.BoidRule */
export interface BoidRule extends R.bpy_struct {
/** Boid rule name Default: "". */
get name(): H.Ref<string>;
set name(v: H.In<string>);
/** Type Default: 'GOAL'. */
get type(): H.Ref<E.BoidRuleType>;
/** Use rule when boid is flying Default: False. */
get use_in_air(): H.Ref<boolean>;
set use_in_air(v: H.In<boolean>);
/** Use rule when boid is on land Default: False. */
get use_on_land(): H.Ref<boolean>;
set use_on_land(v: H.In<boolean>);
}
/** bpy.types.BoidRuleAverageSpeed */
export interface BoidRuleAverageSpeed extends R.BoidRule {
/** How fast velocity's direction is randomized Range: 0 to 1. Default: 0.0. */
get wander(): H.Ref<number>;
set wander(v: H.In<number>);
/** How much velocity's z-component is kept constant Range: 0 to 1. Default: 0.0. */
get level(): H.Ref<number>;
set level(v: H.In<number>);
/** Percentage of maximum speed Range: 0 to 1. Default: 0.0. */
get speed(): H.Ref<number>;
set speed(v: H.In<number>);
}
/** bpy.types.BoidRuleAvoid */
export interface BoidRuleAvoid extends R.BoidRule {
/** Object to avoid */
get object(): H.Ptr<R.Object>;
set object(v: R.Object | null);
/** Predict target movement Default: False. */
get use_predict(): H.Ref<boolean>;
set use_predict(v: H.In<boolean>);
/** Avoid object if danger from it is above this threshold Range: 0 to 100. Default: 0.0. */
get fear_factor(): H.Ref<number>;
set fear_factor(v: H.In<number>);
}
/** bpy.types.BoidRuleAvoidCollision */
export interface BoidRuleAvoidCollision extends R.BoidRule {
/** Avoid collision with other boids Default: False. */
get use_avoid(): H.Ref<boolean>;
set use_avoid(v: H.In<boolean>);
/** Avoid collision with deflector objects Default: False. */
get use_avoid_collision(): H.Ref<boolean>;
set use_avoid_collision(v: H.In<boolean>);
/** Time to look ahead in seconds Range: 0 to 100. Default: 0.0. */
get look_ahead(): H.Ref<number>;
set look_ahead(v: H.In<number>);
}
/** bpy.types.BoidRuleFight */
export interface BoidRuleFight extends R.BoidRule {
/** Attack boids at max this distance Range: 0 to 100. Default: 0.0. */
get distance(): H.Ref<number>;
set distance(v: H.In<number>);
/** Flee to this distance Range: 0 to 100. Default: 0.0. */
get flee_distance(): H.Ref<number>;
set flee_distance(v: H.In<number>);
}
/** bpy.types.BoidRuleFollowLeader */
export interface BoidRuleFollowLeader extends R.BoidRule {
/** Follow this object instead of a boid */
get object(): H.Ptr<R.Object>;
set object(v: R.Object | null);
/** Distance behind leader to follow Range: 0 to 100. Default: 0.0. */
get distance(): H.Ref<number>;
set distance(v: H.In<number>);
/** How many boids in a line Range: 0 to 100. Default: 0. */
get queue_count(): H.Ref<number>;
set queue_count(v: H.In<number>);
/** Follow leader in a line Default: False. */
get use_line(): H.Ref<boolean>;
set use_line(v: H.In<boolean>);
}
/** bpy.types.BoidRuleGoal */
export interface BoidRuleGoal extends R.BoidRule {
/** Goal object */
get object(): H.Ptr<R.Object>;
set object(v: R.Object | null);
/** Predict target movement Default: False. */
get use_predict(): H.Ref<boolean>;
set use_predict(v: H.In<boolean>);
}
/**
* Settings for boid physics
*
* bpy.types.BoidSettings
*/
export interface BoidSettings extends R.bpy_struct {
/** How smoothly the boids land Range: 0 to 10. Default: 0.0. */
get land_smooth(): H.Ref<number>;
set land_smooth(v: H.In<number>);
/** Amount of rotation around velocity vector on turns Range: 0 to 2. Default: 0.0. */
get bank(): H.Ref<number>;
set bank(v: H.In<number>);
/** Amount of rotation around side vector Range: 0 to 2. Default: 0.0. */
get pitch(): H.Ref<number>;
set pitch(v: H.In<number>);
/** Boid height relative to particle size Range: 0 to 2. Default: 0.0. */
get height(): H.Ref<number>;
set height(v: H.In<number>);
/** Boid States */
readonly states: H.Own<H.Coll<R.BoidState>>;
/** Active Boid Rule */
get active_boid_state(): H.Ptr<R.BoidRule>;
/** Active Boid State Index Range: 0 to 2147483647. Default: 0. */
get active_boid_state_index(): H.Ref<number>;
set active_boid_state_index(v: H.In<number>);
/** Initial boid health when born Range: 0 to 100. Default: 0.0. */
get health(): H.Ref<number>;
set health(v: H.In<number>);
/** Maximum caused damage on attack per second Range: 0 to 100. Default: 0.0. */
get strength(): H.Ref<number>;
set strength(v: H.In<number>);
/** Boid will fight this times stronger enemy Range: 0 to 100. Default: 0.0. */
get aggression(): H.Ref<number>;
set aggression(v: H.In<number>);
/** Accuracy of attack Range: 0 to 1. Default: 0.0. */
get accuracy(): H.Ref<number>;
set accuracy(v: H.In<number>);
/** Maximum distance from which a boid can attack Range: 0 to 100. Default: 0.0. */
get range(): H.Ref<number>;
set range(v: H.In<number>);
/** Minimum speed in air (relative to maximum speed) Range: 0 to 1. Default: 0.0. */
get air_speed_min(): H.Ref<number>;
set air_speed_min(v: H.In<number>);
/** Maximum speed in air Range: 0 to 100. Default: 0.0. */
get air_speed_max(): H.Ref<number>;
set air_speed_max(v: H.In<number>);
/** Maximum acceleration in air (relative to maximum speed) Range: 0 to 1. Default: 0.0. */
get air_acc_max(): H.Ref<number>;
set air_acc_max(v: H.In<number>);
/** Maximum angular velocity in air (relative to 180 degrees) Range: 0 to 1. Default: 0.0. */
get air_ave_max(): H.Ref<number>;
set air_ave_max(v: H.In<number>);
/** Radius of boids personal space in air (% of particle size) Range: 0 to 10. Default: 0.0. */
get air_personal_space(): H.Ref<number>;
set air_personal_space(v: H.In<number>);
/** Maximum speed for jumping Range: 0 to 100. Default: 0.0. */
get land_jump_speed(): H.Ref<number>;
set land_jump_speed(v: H.In<number>);
/** Maximum speed on land Range: 0 to 100. Default: 0.0. */
get land_speed_max(): H.Ref<number>;
set land_speed_max(v: H.In<number>);
/** Maximum acceleration on land (relative to maximum speed) Range: 0 to 1. Default: 0.0. */
get land_acc_max(): H.Ref<number>;
set land_acc_max(v: H.In<number>);
/** Maximum angular velocity on land (relative to 180 degrees) Range: 0 to 1. Default: 0.0. */
get land_ave_max(): H.Ref<number>;
set land_ave_max(v: H.In<number>);
/** Radius of boids personal space on land (% of particle size) Range: 0 to 10. Default: 0.0. */
get land_personal_space(): H.Ref<number>;
set land_personal_space(v: H.In<number>);
/** How strong a force must be to start effecting a boid on land Range: 0 to 1000. Default: 0.0. */
get land_stick_force(): H.Ref<number>;
set land_stick_force(v: H.In<number>);
/** Allow boids to move in air Default: False. */
get use_flight(): H.Ref<boolean>;
set use_flight(v: H.In<boolean>);
/** Allow boids to move on land Default: False. */
get use_land(): H.Ref<boolean>;
set use_land(v: H.In<boolean>);
/** Allow boids to climb goal objects Default: False. */
get use_climb(): H.Ref<boolean>;
set use_climb(v: H.In<boolean>);
}
/**
* Boid state for boid physics
*
* bpy.types.BoidState
*/
export interface BoidState extends R.bpy_struct {
/** Boid state name Default: "". */
get name(): H.Ref<string>;
set name(v: H.In<string>);
/**
* How the rules in the list are evaluated Default: 'FUZZY'.
* - `FUZZY`: Fuzzy (Rules are gone through top to bottom (only the first rule which effect is above fuzziness threshold is evaluated))
* - `RANDOM`: Random (A random rule is selected for each boid)
* - `AVERAGE`: Average (All rules are averaged)
*/
get ruleset_type(): H.Ref<"FUZZY" | "RANDOM" | "AVERAGE">;
set ruleset_type(v: H.In<"FUZZY" | "RANDOM" | "AVERAGE">);
/** Boid Rules */
readonly rules: H.Own<H.Coll<R.BoidRule>>;
/** Active Boid Rule */
get active_boid_rule(): H.Ptr<R.BoidRule>;
/** Active Boid Rule Index Range: 0 to 2147483647. Default: 0. */
get active_boid_rule_index(): H.Ref<number>;
set active_boid_rule_index(v: H.In<number>);
/** Rule Fuzziness Range: 0 to 1. Default: 0.0. */
get rule_fuzzy(): H.Ref<number>;
set rule_fuzzy(v: H.In<number>);
/** Volume Range: 0 to 100. Default: 0.0. */
get volume(): H.Ref<number>;
set volume(v: H.In<number>);
/** Falloff Range: 0 to 10. Default: 0.0. */
get falloff(): H.Ref<number>;
set falloff(v: H.In<number>);
}
/**
* Bone in an Armature data-block
*
* bpy.types.Bone
*/
export interface Bone extends R.bpy_struct {
/** Parent bone (in same Armature) */
get parent(): H.Ptr<R.Bone>;
/** Bones which are children of this bone */
readonly children: H.Own<H.Coll<R.Bone>>;
/** Bone Collections that contain this bone */
readonly collections: H.Own<H.Coll<R.BoneCollection> & R.BoneCollectionMemberships>;
/** Name Default: "". */
get name(): H.Ref<string>;
set name(v: H.In<string>);
get color(): H.Ptr<R.BoneColor>;
/**
* Display Type Default: 'OCTAHEDRAL'.
* - `ARMATURE_DEFINED`: Armature Defined (Use display mode from armature (default))
* - `OCTAHEDRAL`: Octahedral (Display bones as octahedral shape)
* - `STICK`: Stick (Display bones as simple 2D lines with dots)
* - `BBONE`: B-Bone (Display bones as boxes, showing subdivision and B-Splines)
* - `ENVELOPE`: Envelope (Display bones as extruded spheres, showing deformation influence volume)
* - `WIRE`: Wire (Display bones as thin wires, showing subdivision and B-Splines)
*/
get display_type(): H.Ref<"ARMATURE_DEFINED" | "OCTAHEDRAL" | "STICK" | "BBONE" | "ENVELOPE" | "WIRE">;
set display_type(v: H.In<"ARMATURE_DEFINED" | "OCTAHEDRAL" | "STICK" | "BBONE" | "ENVELOPE" | "WIRE">);
/** When bone has a parent, bone's head is stuck to the parent's tail Default: False. */
get use_connect(): H.Ref<boolean>;
/** Bone inherits rotation or scale from parent bone Default: True. */
get use_inherit_rotation(): H.Ref<boolean>;
set use_inherit_rotation(v: H.In<boolean>);
/** When deforming bone, multiply effects of Vertex Group weights with Envelope influence Default: False. */
get use_envelope_multiply(): H.Ref<boolean>;
set use_envelope_multiply(v: H.In<boolean>);
/** Enable Bone to deform geometry Default: True. */
get use_deform(): H.Ref<boolean>;
set use_deform(v: H.In<boolean>);
/**
* Specifies how the bone inherits scaling from the parent bone Default: 'FULL'.
* - `FULL`: Full (Inherit all effects of parent scaling)
* - `FIX_SHEAR`: Fix Shear (Inherit scaling, but remove shearing of the child in the rest orientation)
* - `ALIGNED`: Aligned (Rotate non-uniform parent scaling to align with the child, applying parent X scale to child X axis, and so forth)
* - `AVERAGE`: Average (Inherit uniform scaling representing the overall change in the volume of the parent)
* - `NONE`: None (Completely ignore parent scaling)
* - `NONE_LEGACY`: None (Legacy) (Ignore parent scaling without compensating for parent shear. Replicates the effect of disabling the original Inherit Scale checkbox.)
*/
get inherit_scale(): H.Ref<"FULL" | "FIX_SHEAR" | "ALIGNED" | "AVERAGE" | "NONE" | "NONE_LEGACY">;
set inherit_scale(v: H.In<"FULL" | "FIX_SHEAR" | "ALIGNED" | "AVERAGE" | "NONE" | "NONE_LEGACY">);
/** Bone location is set in local space Default: True. */
get use_local_location(): H.Ref<boolean>;
set use_local_location(v: H.In<boolean>);
/** Object children will use relative transform, like deform Default: False. */
get use_relative_parent(): H.Ref<boolean>;
set use_relative_parent(v: H.In<boolean>);
/** Bone is always displayed in wireframe regardless of viewport shading mode (useful for non-obstructive custom bone shapes) Default: False. */
get show_wire(): H.Ref<boolean>;
set show_wire(v: H.In<boolean>);
/** When bone does not have a parent, it receives cyclic offset effects (Deprecated) Default: True. */
get use_cyclic_offset(): H.Ref<boolean>;
set use_cyclic_offset(v: H.In<boolean>);
/** Bone is able to be selected Default: False. */
get hide_select(): H.Ref<boolean>;
set hide_select(v: H.In<boolean>);
/** Bone deformation distance (for Envelope deform only) Range: 0 to 1000. Default: 0.0. */
get envelope_distance(): H.Ref<number>;
set envelope_distance(v: H.In<number>);
/** Bone deformation weight (for Envelope deform only) Range: 0 to 1000. Default: 0.0. */
get envelope_weight(): H.Ref<number>;
set envelope_weight(v: H.In<number>);
/** Radius of head of bone (for Envelope deform only) Default: 0.0. */
get head_radius(): H.Ref<number>;
set head_radius(v: H.In<number>);
/** Radius of tail of bone (for Envelope deform only) Default: 0.0. */
get tail_radius(): H.Ref<number>;
set tail_radius(v: H.In<number>);
/** Number of subdivisions of bone (for B-Bones only) Range: 1 to 32. Default: 0. */
get bbone_segments(): H.Ref<number>;
set bbone_segments(v: H.In<number>);
/**
* Selects how the vertices are mapped to B-Bone segments based on their position Default: 'STRAIGHT'.
* - `STRAIGHT`: Straight (Fast mapping that is good for most situations, but ignores the rest pose curvature of the B-Bone)
* - `CURVED`: Curved (Slower mapping that gives better deformation for B-Bones that are sharply curved in rest pose)
*/
get bbone_mapping_mode(): H.Ref<"STRAIGHT" | "CURVED">;
set bbone_mapping_mode(v: H.In<"STRAIGHT" | "CURVED">);
/** B-Bone X size Default: 0.0. */
get bbone_x(): H.Ref<number>;
set bbone_x(v: H.In<number>);
/** B-Bone Z size Default: 0.0. */
get bbone_z(): H.Ref<number>;
set bbone_z(v: H.In<number>);
/**
* Selects how the start handle of the B-Bone is computed Default: 'AUTO'.
* - `AUTO`: Automatic (Use connected parent and children to compute the handle)
* - `ABSOLUTE`: Absolute (Use the position of the specified bone to compute the handle)
* - `RELATIVE`: Relative (Use the offset of the specified bone from rest pose to compute the handle)
* - `TANGENT`: Tangent (Use the orientation of the specified bone to compute the handle, ignoring the location)
*/
get bbone_handle_type_start(): H.Ref<"AUTO" | "ABSOLUTE" | "RELATIVE" | "TANGENT">;
set bbone_handle_type_start(v: H.In<"AUTO" | "ABSOLUTE" | "RELATIVE" | "TANGENT">);
/** Bone that serves as the start handle for the B-Bone curve */
get bbone_custom_handle_start(): H.Ptr<R.Bone>;
set bbone_custom_handle_start(v: R.Bone | null);
/** Multiply B-Bone Scale In channels by the local scale values of the start handle. This is done after the Scale Easing option and isn't affected by it. Default: (False, False, False). */
get bbone_handle_use_scale_start(): H.Arr<boolean>;
set bbone_handle_use_scale_start(v: H.In<readonly boolean[]>);
/** Multiply the B-Bone Ease In channel by the local Y scale value of the start handle. This is done after the Scale Easing option and isn't affected by it. Default: False. */
get bbone_handle_use_ease_start(): H.Ref<boolean>;
set bbone_handle_use_ease_start(v: H.In<boolean>);
/**
* Selects how the end handle of the B-Bone is computed Default: 'AUTO'.
* - `AUTO`: Automatic (Use connected parent and children to compute the handle)
* - `ABSOLUTE`: Absolute (Use the position of the specified bone to compute the handle)
* - `RELATIVE`: Relative (Use the offset of the specified bone from rest pose to compute the handle)
* - `TANGENT`: Tangent (Use the orientation of the specified bone to compute the handle, ignoring the location)
*/
get bbone_handle_type_end(): H.Ref<"AUTO" | "ABSOLUTE" | "RELATIVE" | "TANGENT">;
set bbone_handle_type_end(v: H.In<"AUTO" | "ABSOLUTE" | "RELATIVE" | "TANGENT">);
/** Bone that serves as the end handle for the B-Bone curve */
get bbone_custom_handle_end(): H.Ptr<R.Bone>;
set bbone_custom_handle_end(v: R.Bone | null);
/** Multiply B-Bone Scale Out channels by the local scale values of the end handle. This is done after the Scale Easing option and isn't affected by it. Default: (False, False, False). */
get bbone_handle_use_scale_end(): H.Arr<boolean>;
set bbone_handle_use_scale_end(v: H.In<readonly boolean[]>);
/** Multiply the B-Bone Ease Out channel by the local Y scale value of the end handle. This is done after the Scale Easing option and isn't affected by it. Default: False. */
get bbone_handle_use_ease_end(): H.Ref<boolean>;
set bbone_handle_use_ease_end(v: H.In<boolean>);
/** Roll offset for the start of the B-Bone, adjusts twist Default: 0.0. */
get bbone_rollin(): H.Ref<number>;
set bbone_rollin(v: H.In<number>);
/** Roll offset for the end of the B-Bone, adjusts twist Default: 0.0. */
get bbone_rollout(): H.Ref<number>;
set bbone_rollout(v: H.In<number>);
/** Add Roll Out of the Start Handle bone to the Roll In value Default: False. */
get use_endroll_as_inroll(): H.Ref<boolean>;
set use_endroll_as_inroll(v: H.In<boolean>);
/** X-axis handle offset for start of the B-Bone's curve, adjusts curvature Default: 0.0. */
get bbone_curveinx(): H.Ref<number>;
set bbone_curveinx(v: H.In<number>);
/** Z-axis handle offset for start of the B-Bone's curve, adjusts curvature Default: 0.0. */
get bbone_curveinz(): H.Ref<number>;
set bbone_curveinz(v: H.In<number>);
/** X-axis handle offset for end of the B-Bone's curve, adjusts curvature Default: 0.0. */
get bbone_curveoutx(): H.Ref<number>;
set bbone_curveoutx(v: H.In<number>);
/** Z-axis handle offset for end of the B-Bone's curve, adjusts curvature Default: 0.0. */
get bbone_curveoutz(): H.Ref<number>;
set bbone_curveoutz(v: H.In<number>);
/** Length of first Bézier Handle (for B-Bones only) Default: 1.0. */
get bbone_easein(): H.Ref<number>;
set bbone_easein(v: H.In<number>);
/** Length of second Bézier Handle (for B-Bones only) Default: 1.0. */
get bbone_easeout(): H.Ref<number>;
set bbone_easeout(v: H.In<number>);
/** Multiply the final easing values by the Scale In/Out Y factors Default: False. */
get use_scale_easing(): H.Ref<boolean>;
set use_scale_easing(v: H.In<boolean>);
/** Scale factors for the start of the B-Bone, adjusts thickness (for tapering effects) Default: (1.0, 1.0, 1.0). */
get bbone_scalein(): H.Remote<M.Vector>;
set bbone_scalein(v: H.In<M.VectorLike>);
/** Scale factors for the end of the B-Bone, adjusts thickness (for tapering effects) Default: (1.0, 1.0, 1.0). */
get bbone_scaleout(): H.Remote<M.Vector>;
set bbone_scaleout(v: H.In<M.VectorLike>);
/** Bone is not visible when it is in Edit Mode Default: False. */
get hide(): H.Ref<boolean>;
set hide(v: H.In<boolean>);
/** 3×3 bone matrix Default: ((0.0, 0.0, 0.0), (0.0, 0.0, 0.0), (0.0, 0.0, 0.0)). */
get matrix(): H.Remote<M.Matrix>;
/** 4×4 bone matrix relative to armature Default: ((0.0, 0.0, 0.0, 0.0), (0.0, 0.0, 0.0, 0.0), (0.0, 0.0, 0.0, 0.0), (0.0, 0.0, 0.0, 0.0)). */
get matrix_local(): H.Remote<M.Matrix>;
/** Location of tail end of the bone relative to its parent Default: (0.0, 0.0, 0.0). */
get tail(): H.Remote<M.Vector>;
/** Location of tail end of the bone relative to armature Default: (0.0, 0.0, 0.0). */
get tail_local(): H.Remote<M.Vector>;
/** Location of head end of the bone relative to its parent Default: (0.0, 0.0, 0.0). */
get head(): H.Remote<M.Vector>;
/** Location of head end of the bone relative to armature Default: (0.0, 0.0, 0.0). */
get head_local(): H.Remote<M.Vector>;
/** Length of the bone Default: 0.0. */
get length(): H.Ref<number>;
/**
* DEBUG ONLY. Internal access to runtime-defined RNA data storage, intended solely for testing and debugging purposes. Do not access it in regular scripting work, and in particular, do not assume that it contains writable data
* @param do_create Ensure that system properties are created if they do not exist yet
*/
bl_system_properties_get(do_create?: H.In<boolean>): H.Ptr<R.PropertyGroup>;
/**
* DEBUG ONLY. Internal access to runtime-defined RNA data storage, intended solely for testing and debugging purposes. Do not access it in regular scripting work, and in particular, do not assume that it contains writable data
* @param do_create Ensure that system properties are created if they do not exist yet
*/
bl_system_properties_get(kw: {
/** Ensure that system properties are created if they do not exist yet */
do_create?: H.In<boolean>;
}): H.Ptr<R.PropertyGroup>;
/**
* Calculate bone envelope at given point
* @param point Position in 3d space to evaluate
*/
evaluate_envelope(point: H.In<M.VectorLike>): H.Ref<number>;
/**
* Calculate bone envelope at given point
* @param point Position in 3d space to evaluate
*/
evaluate_envelope(kw: {
/** Position in 3d space to evaluate */
point: H.In<M.VectorLike>;
}): H.Ref<number>;
/**
* Transform a matrix from Local to Pose space (or back), taking into account options like Inherit Scale and Local Location. Unlike Object.convert_space, this uses custom rest and pose matrices provided by the caller. If the parent matrices are omitted, the bone is assumed to have no parent.
* @param matrix The matrix to transform
* @param matrix_local The custom rest matrix of this bone (Bone.matrix_local)
* @param parent_matrix The custom pose matrix of the parent bone (PoseBone.matrix)
* @param parent_matrix_local The custom rest matrix of the parent bone (Bone.matrix_local)
* @param invert Convert from Pose to Local space
*/
convert_local_to_pose(matrix: H.In<M.MatrixLike>, matrix_local: H.In<M.MatrixLike>, parent_matrix?: H.In<M.MatrixLike>, parent_matrix_local?: H.In<M.MatrixLike>, invert?: H.In<boolean>): H.Remote<M.Matrix>;
/**
* Transform a matrix from Local to Pose space (or back), taking into account options like Inherit Scale and Local Location. Unlike Object.convert_space, this uses custom rest and pose matrices provided by the caller. If the parent matrices are omitted, the bone is assumed to have no parent.
* @param matrix The matrix to transform
* @param matrix_local The custom rest matrix of this bone (Bone.matrix_local)
* @param parent_matrix The custom pose matrix of the parent bone (PoseBone.matrix)
* @param parent_matrix_local The custom rest matrix of the parent bone (Bone.matrix_local)
* @param invert Convert from Pose to Local space
*/
convert_local_to_pose(matrix: H.In<M.MatrixLike>, matrix_local: H.In<M.MatrixLike>, kw: {
/** The custom pose matrix of the parent bone (PoseBone.matrix) */
parent_matrix?: H.In<M.MatrixLike>;
/** The custom rest matrix of the parent bone (Bone.matrix_local) */
parent_matrix_local?: H.In<M.MatrixLike>;
/** Convert from Pose to Local space */
invert?: H.In<boolean>;
}): H.Remote<M.Matrix>;
/**
* Transform a matrix from Local to Pose space (or back), taking into account options like Inherit Scale and Local Location. Unlike Object.convert_space, this uses custom rest and pose matrices provided by the caller. If the parent matrices are omitted, the bone is assumed to have no parent.
* @param matrix The matrix to transform
* @param matrix_local The custom rest matrix of this bone (Bone.matrix_local)
* @param parent_matrix The custom pose matrix of the parent bone (PoseBone.matrix)
* @param parent_matrix_local The custom rest matrix of the parent bone (Bone.matrix_local)
* @param invert Convert from Pose to Local space
*/
convert_local_to_pose(kw: {
/** The matrix to transform */
matrix: H.In<M.MatrixLike>;
/** The custom rest matrix of this bone (Bone.matrix_local) */
matrix_local: H.In<M.MatrixLike>;
/** The custom pose matrix of the parent bone (PoseBone.matrix) */
parent_matrix?: H.In<M.MatrixLike>;
/** The custom rest matrix of the parent bone (Bone.matrix_local) */
parent_matrix_local?: H.In<M.MatrixLike>;
/** Convert from Pose to Local space */
invert?: H.In<boolean>;
}): H.Remote<M.Matrix>;
/**
* Convert the axis + roll representation to a matrix
* @param axis The main axis of the bone (tail - head)
* @param roll The roll of the bone
*/
MatrixFromAxisRoll(axis: H.In<M.VectorLike>, roll: H.In<number>): H.Remote<M.Matrix>;
/**
* Convert the axis + roll representation to a matrix
* @param axis The main axis of the bone (tail - head)
* @param roll The roll of the bone
*/
MatrixFromAxisRoll(kw: {
/** The main axis of the bone (tail - head) */
axis: H.In<M.VectorLike>;
/** The roll of the bone */
roll: H.In<number>;
}): H.Remote<M.Matrix>;
/**
* Convert a rotational matrix to the axis + roll representation. Note that the resulting value of the roll may not be as expected if the matrix has shear or negative determinant.
* @param matrix The orientation matrix of the bone
* @param axis The optional override for the axis (finds closest approximation for the matrix)
*/
AxisRollFromMatrix(matrix: H.In<M.MatrixLike>, axis?: H.In<readonly number[]>): H.Ref<[M.Vector, number]>;
/**
* Convert a rotational matrix to the axis + roll representation. Note that the resulting value of the roll may not be as expected if the matrix has shear or negative determinant.
* @param matrix The orientation matrix of the bone
* @param axis The optional override for the axis (finds closest approximation for the matrix)
*/
AxisRollFromMatrix(matrix: H.In<M.MatrixLike>, kw: {
/** The optional override for the axis (finds closest approximation for the matrix) */
axis?: H.In<readonly number[]>;
}): H.Ref<[M.Vector, number]>;
/**
* Convert a rotational matrix to the axis + roll representation. Note that the resulting value of the roll may not be as expected if the matrix has shear or negative determinant.
* @param matrix The orientation matrix of the bone
* @param axis The optional override for the axis (finds closest approximation for the matrix)
*/
AxisRollFromMatrix(kw: {
/** The orientation matrix of the bone */
matrix: H.In<M.MatrixLike>;
/** The optional override for the axis (finds closest approximation for the matrix) */
axis?: H.In<readonly number[]>;
}): H.Ref<[M.Vector, number]>;
}
/**
* Bone collection in an Armature data-block
*
* bpy.types.BoneCollection
*/
export interface BoneCollection extends R.bpy_struct {
/** Unique within the Armature Default: "". */
get name(): H.Ref<string>;
set name(v: H.In<string>);
/** This bone collection is expanded in the bone collections tree view Default: False. */
get is_expanded(): H.Ref<boolean>;
set is_expanded(v: H.In<boolean>);
/** Bones in this collection will be visible in pose/object mode Default: False. */
get is_visible(): H.Ref<boolean>;
set is_visible(v: H.In<boolean>);
/** True when all of the ancestors of this bone collection are marked as visible; always True for root bone collections Default: False. */
get is_visible_ancestors(): H.Ref<boolean>;
/** Whether this bone collection is effectively visible in the viewport. This is True when this bone collection and all of its ancestors are visible, or when it is marked as 'solo'. Default: False. */
get is_visible_effectively(): H.Ref<boolean>;
/** Show only this bone collection, and others also marked as 'solo' Default: False. */
get is_solo(): H.Ref<boolean>;
set is_solo(v: H.In<boolean>);
/** This collection was added via a library override in the current blend file Default: False. */
get is_local_override(): H.Ref<boolean>;
/** This collection is owned by a local Armature, or was added via a library override in the current blend file Default: False. */
get is_editable(): H.Ref<boolean>;
/** Bones assigned to this bone collection. In armature edit mode this will always return an empty list of bones, as the bone collection memberships are only synchronized when exiting edit mode. */
readonly bones: H.Own<H.Coll<R.Bone>>;
readonly children: H.Own<H.Coll<R.BoneCollection>>;
/** Parent bone collection. Note that accessing this requires a scan of all the bone collections to find the parent. */
get parent(): H.Ptr<R.BoneCollection>;
set parent(v: R.BoneCollection | null);
/** Index of this bone collection in the armature.collections_all array. Note that finding this index requires a scan of all the bone collections, so do access this with care. Range: -2147483648 to 2147483647. Default: 0. */
get index(): H.Ref<number>;
/** Index of this collection into its parent's list of children. Note that finding this index requires a scan of all the bone collections, so do access this with care. Range: -2147483648 to 2147483647. Default: 0. */
get child_number(): H.Ref<number>;
set child_number(v: H.In<number>);
/**
* DEBUG ONLY. Internal access to runtime-defined RNA data storage, intended solely for testing and debugging purposes. Do not access it in regular scripting work, and in particular, do not assume that it contains writable data
* @param do_create Ensure that system properties are created if they do not exist yet
*/
bl_system_properties_get(do_create?: H.In<boolean>): H.Ptr<R.PropertyGroup>;
/**
* DEBUG ONLY. Internal access to runtime-defined RNA data storage, intended solely for testing and debugging purposes. Do not access it in regular scripting work, and in particular, do not assume that it contains writable data
* @param do_create Ensure that system properties are created if they do not exist yet
*/
bl_system_properties_get(kw: {
/** Ensure that system properties are created if they do not exist yet */
do_create?: H.In<boolean>;
}): H.Ptr<R.PropertyGroup>;
/**
* Assign the given bone to this collection
* @param bone Bone, PoseBone, or EditBone to assign to this collection
*/
assign(bone: R.AnyType): H.Ref<boolean>;
/**
* Assign the given bone to this collection
* @param bone Bone, PoseBone, or EditBone to assign to this collection
*/
assign(kw: {
/** Bone, PoseBone, or EditBone to assign to this collection */
bone: R.AnyType;
}): H.Ref<boolean>;
/**
* Remove the given bone from this collection
* @param bone Bone, PoseBone, or EditBone to remove from this collection
*/
unassign(bone: R.AnyType): H.Ref<boolean>;
/**
* Remove the given bone from this collection
* @param bone Bone, PoseBone, or EditBone to remove from this collection
*/
unassign(kw: {
/** Bone, PoseBone, or EditBone to remove from this collection */
bone: R.AnyType;
}): H.Ref<boolean>;
/** A set of all bones assigned to this bone collection and its child collections. */
get bones_recursive(): H.Ref<Set<any>>;
}
/**
* The Bone Collections that contain this Bone
*
* bpy.types.BoneCollectionMemberships
*/
export interface BoneCollectionMemberships {
/** Remove this bone from all bone collections */
clear(): H.Ref<void>;
}
/**
* The Bone Collections of this Armature
*
* bpy.types.BoneCollections
*/
export interface BoneCollections {
/** Armature's active bone collection */
get active(): H.Ptr<R.BoneCollection>;
set active(v: R.BoneCollection | null);
/** The index of the Armature's active bone collection; -1 when there is no active collection. Note that this is indexing the underlying array of bone collections, which may not be in the order you expect. Root collections are listed first, and siblings are always sequential. Apart from that, bone collections can be in any order, and thus incrementing or decrementing this index can make the active bone collection jump around in unexpected ways. For a more predictable interface, use ``active`` or ``active_name``. Range: -2147483648 to 2147483647. Default: 0. */
get active_index(): H.Ref<number>;
set active_index(v: H.In<number>);
/** The name of the Armature's active bone collection; empty when there is no active collection Default: "". */
get active_name(): H.Ref<string>;
set active_name(v: H.In<string>);
/** Read-only flag that indicates there is at least one bone collection marked as 'solo' Default: False. */
get is_solo_active(): H.Ref<boolean>;
/**
* Add a new empty bone collection to the armature
* @param name Name of the new collection. Blender will ensure it is unique within the collections of the Armature.
* @param parent If not None, the new bone collection becomes a child of this collection
*/
"new"(name: H.In<string>, parent?: R.BoneCollection | null): H.Ptr<R.BoneCollection>;
/**
* Add a new empty bone collection to the armature
* @param name Name of the new collection. Blender will ensure it is unique within the collections of the Armature.
* @param parent If not None, the new bone collection becomes a child of this collection
*/
"new"(name: H.In<string>, kw: {
/** If not None, the new bone collection becomes a child of this collection */
parent?: R.BoneCollection | null;
}): H.Ptr<R.BoneCollection>;
/**
* Add a new empty bone collection to the armature
* @param name Name of the new collection. Blender will ensure it is unique within the collections of the Armature.
* @param parent If not None, the new bone collection becomes a child of this collection
*/
"new"(kw: {
/** Name of the new collection. Blender will ensure it is unique within the collections of the Armature. */
name: H.In<string>;
/** If not None, the new bone collection becomes a child of this collection */
parent?: R.BoneCollection | null;
}): H.Ptr<R.BoneCollection>;
/**
* Remove the bone collection from the armature. If this bone collection has any children, they will be reassigned to their grandparent; in other words, the children will take the place of the removed bone collection.
* @param bone_collection The bone collection to remove
*/
remove(bone_collection: R.BoneCollection): H.Ref<void>;
/**
* Remove the bone collection from the armature. If this bone collection has any children, they will be reassigned to their grandparent; in other words, the children will take the place of the removed bone collection.
* @param bone_collection The bone collection to remove
*/
remove(kw: {
/** The bone collection to remove */
bone_collection: R.BoneCollection;
}): H.Ref<void>;
/**
* Move a bone collection to a different position in the collection list. This can only be used to reorder siblings, and not to change parent-child relationships.
* @param from_index Index to move
* @param to_index Target index
*/
move(from_index: H.In<number>, to_index: H.In<number>): H.Ref<void>;
/**
* Move a bone collection to a different position in the collection list. This can only be used to reorder siblings, and not to change parent-child relationships.
* @param from_index Index to move
* @param to_index Target index
*/
move(kw: {
/** Index to move */
from_index: H.In<number>;
/** Target index */
to_index: H.In<number>;
}): H.Ref<void>;
}
/**
* Theme color or custom color of a bone
*
* bpy.types.BoneColor
*/
export interface BoneColor extends R.bpy_struct {
/** Color palette to use Default: 'DEFAULT'. */
get palette(): H.Ref<E.ActionGroupColorSet>;
set palette(v: H.In<E.ActionGroupColorSet>);
/** A color palette is user-defined, instead of using a theme-defined one Default: False. */
get is_custom(): H.Ref<boolean>;
/** The custom bone colors, used when palette is 'CUSTOM' */
get custom(): H.Own<R.ThemeBoneColorSet>;
}
/**
* Geometry attribute that stores booleans
*
* bpy.types.BoolAttribute
*/
export interface BoolAttribute extends R.Attribute {
readonly data: H.Own<H.Coll<R.BoolAttributeValue>>;
}
/**
* Bool value in geometry attribute
*
* bpy.types.BoolAttributeValue
*/
export interface BoolAttributeValue extends R.bpy_struct {
/** Default: False. */
get value(): H.Ref<boolean>;
set value(v: H.In<boolean>);
}
/**
* RNA boolean property definition
*
* bpy.types.BoolProperty
*/
export interface BoolProperty extends R.Property {
/** Default value for this number Default: False. */
get default(): H.Ref<boolean>;
/** Default value for this array Default: (False, False, False). */
get default_array(): H.Arr<boolean>;
/** Maximum length of the array, 0 means unlimited Range: 0 to 2147483647. Default: 0. */
get array_length(): H.Ref<number>;
/** Length of each dimension of the array Range: 0 to 2147483647. Default: (0, 0, 0). */
get array_dimensions(): H.Arr<number>;
/** Is Array Default: False. */
get is_array(): H.Ref<boolean>;
}
/**
* Boolean operations modifier
*
* bpy.types.BooleanModifier
*/
export interface BooleanModifier extends R.Modifier {
/** Mesh object to use for Boolean operation */
get object(): H.Ptr<R.Object>;
set object(v: R.Object | null);
/** Use mesh objects in this collection for Boolean operation */
get collection(): H.Ptr<R.Collection>;
set collection(v: R.Collection | null);
/**
* Operation Default: 'DIFFERENCE'.
* - `INTERSECT`: Intersect (Keep the part of the mesh that is common between all operands)
* - `UNION`: Union (Combine meshes in an additive way)
* - `DIFFERENCE`: Difference (Combine meshes in a subtractive way)
*/
get operation(): H.Ref<"INTERSECT" | "UNION" | "DIFFERENCE">;
set operation(v: H.In<"INTERSECT" | "UNION" | "DIFFERENCE">);
/**
* Operand Type Default: 'OBJECT'.
* - `OBJECT`: Object (Use a mesh object as the operand for the Boolean operation)
* - `COLLECTION`: Collection (Use a collection of mesh objects as the operand for the Boolean operation)
*/
get operand_type(): H.Ref<"OBJECT" | "COLLECTION">;
set operand_type(v: H.In<"OBJECT" | "COLLECTION">);
/** Threshold for checking overlapping geometry Range: 0 to 1. Default: 1e-06. */
get double_threshold(): H.Ref<number>;
set double_threshold(v: H.In<number>);
/**
* Method for calculating booleans Default: 'EXACT'.
* - `FLOAT`: Float (Simple solver with good performance, without support for overlapping geometry)
* - `EXACT`: Exact (Slower solver with the best results for coplanar faces)
* - `MANIFOLD`: Manifold (Fastest solver that works only on manifold meshes but gives better results)
*/
get solver(): H.Ref<"FLOAT" | "EXACT" | "MANIFOLD">;
set solver(v: H.In<"FLOAT" | "EXACT" | "MANIFOLD">);
/** Allow self-intersection in operands Default: False. */
get use_self(): H.Ref<boolean>;
set use_self(v: H.In<boolean>);
/** Better results when there are holes (slower) Default: False. */
get use_hole_tolerant(): H.Ref<boolean>;
set use_hole_tolerant(v: H.In<boolean>);
/**
* Method for setting materials on the new faces Default: 'INDEX'.
* - `INDEX`: Index Based (Set the material on new faces based on the order of the material slot lists. If a material does not exist on the modifier object, the face will use the same material slot or the first if the object does not have enough slots.)
* - `TRANSFER`: Transfer (Transfer materials from non-empty slots to the result mesh, adding new materials as necessary. For empty slots, fall back to using the same material index as the operand mesh.)
*/
get material_mode(): H.Ref<"INDEX" | "TRANSFER">;
set material_mode(v: H.In<"INDEX" | "TRANSFER">);
/**
* Debugging options, only when started with '-d' Default: set().
* - `SEPARATE`: Separate
* - `NO_DISSOLVE`: No Dissolve
* - `NO_CONNECT_REGIONS`: No Connect Regions
*/
get debug_options(): H.Ref<Set<"SEPARATE" | "NO_DISSOLVE" | "NO_CONNECT_REGIONS">>;
set debug_options(v: H.In<Set<"SEPARATE" | "NO_DISSOLVE" | "NO_CONNECT_REGIONS">>);
}
/**
* Bright/contrast modifier data for sequence strip
*
* bpy.types.BrightContrastModifier
*/
export interface BrightContrastModifier extends R.StripModifier {
/** Adjust the luminosity of the colors Default: 0.0. */
get bright(): H.Ref<number>;
set bright(v: H.In<number>);
/** Adjust the difference in luminosity between pixels Range: -100 to 100. Default: 0.0. */
get contrast(): H.Ref<number>;
set contrast(v: H.In<number>);
/** Default: False. */
get open_mask_input_panel(): H.Ref<boolean>;
set open_mask_input_panel(v: H.In<boolean>);
}
/**
* Brush data-block for storing brush settings for painting and sculpting
*
* bpy.types.Brush
*/
export interface Brush extends R.ID {
/** Indicates that there are any user visible changes since the brush has been imported or read from the file Default: False. */
get has_unsaved_changes(): H.Ref<boolean>;
/** Brush blending mode Default: 'MIX'. */
get blend(): H.Ref<E.BrushBlend>;
set blend(v: H.In<E.BrushBlend>);
/** Brush Type Default: 'DRAW'. */
get sculpt_brush_type(): H.Ref<E.BrushSculptBrushType>;
set sculpt_brush_type(v: H.In<E.BrushSculptBrushType>);
/**
* Brush Type Default: 'DRAW'.
* - `DRAW`: Draw
* - `BLUR`: Blur
* - `AVERAGE`: Average
* - `SMEAR`: Smear
*/
get vertex_brush_type(): H.Ref<"DRAW" | "BLUR" | "AVERAGE" | "SMEAR">;
set vertex_brush_type(v: H.In<"DRAW" | "BLUR" | "AVERAGE" | "SMEAR">);
/**
* Brush Type Default: 'DRAW'.
* - `DRAW`: Draw
* - `BLUR`: Blur
* - `AVERAGE`: Average
* - `SMEAR`: Smear
*/
get weight_brush_type(): H.Ref<"DRAW" | "BLUR" | "AVERAGE" | "SMEAR">;
set weight_brush_type(v: H.In<"DRAW" | "BLUR" | "AVERAGE" | "SMEAR">);
/**
* Brush Type Default: 'DRAW'.
* - `DRAW`: Draw
* - `SOFTEN`: Soften
* - `SMEAR`: Smear
* - `CLONE`: Clone
* - `FILL`: Fill
* - `MASK`: Mask
*/
get image_brush_type(): H.Ref<"DRAW" | "SOFTEN" | "SMEAR" | "CLONE" | "FILL" | "MASK">;
set image_brush_type(v: H.In<"DRAW" | "SOFTEN" | "SMEAR" | "CLONE" | "FILL" | "MASK">);
/**
* Brush Type Default: 'DRAW'.
* - `DRAW`: Draw (The brush is of type used for drawing strokes)
* - `FILL`: Fill (The brush is of type used for filling areas)
* - `ERASE`: Erase (The brush is used for erasing strokes)
* - `TINT`: Tint (The brush is of type used for tinting strokes)
*/
get gpencil_brush_type(): H.Ref<"DRAW" | "FILL" | "ERASE" | "TINT">;
set gpencil_brush_type(v: H.In<"DRAW" | "FILL" | "ERASE" | "TINT">);
/**
* Brush Type Default: 'DRAW'.
* - `DRAW`: Draw (Paint a color on stroke points)
* - `BLUR`: Blur (Smooth out the colors of adjacent stroke points)
* - `AVERAGE`: Average (Smooth out colors with the average color under the brush)
* - `SMEAR`: Smear (Smudge colors by grabbing and dragging them)
* - `REPLACE`: Replace (Replace the color of stroke points that already have a color applied)
*/
get gpencil_vertex_brush_type(): H.Ref<"DRAW" | "BLUR" | "AVERAGE" | "SMEAR" | "REPLACE">;
set gpencil_vertex_brush_type(v: H.In<"DRAW" | "BLUR" | "AVERAGE" | "SMEAR" | "REPLACE">);
/** Brush Type Default: 'SMOOTH'. */
get gpencil_sculpt_brush_type(): H.Ref<E.BrushGpencilSculptBrushType>;
set gpencil_sculpt_brush_type(v: H.In<E.BrushGpencilSculptBrushType>);
/**
* Brush Type Default: 'WEIGHT'.
* - `WEIGHT`: Weight (Paint weight in active vertex group)
* - `BLUR`: Blur (Blur weight in active vertex group)
* - `AVERAGE`: Average (Average weight in active vertex group)
* - `SMEAR`: Smear (Smear weight in active vertex group)
*/
get gpencil_weight_brush_type(): H.Ref<"WEIGHT" | "BLUR" | "AVERAGE" | "SMEAR">;
set gpencil_weight_brush_type(v: H.In<"WEIGHT" | "BLUR" | "AVERAGE" | "SMEAR">);
/** Brush Type Default: 'COMB'. */
get curves_sculpt_brush_type(): H.Ref<E.BrushCurvesSculptBrushType>;
set curves_sculpt_brush_type(v: H.In<E.BrushCurvesSculptBrushType>);
/**
* Direction Default: 'ADD'.
* - `ADD`: Add (Add effect of brush)
* - `SUBTRACT`: Subtract (Subtract effect of brush)
*/
get direction(): H.Ref<"ADD" | "SUBTRACT" | (string & {})>;
set direction(v: H.In<"ADD" | "SUBTRACT" | (string & {})>);
/** Stroke Method Default: 'DOTS'. */
get stroke_method(): H.Ref<E.BrushStrokeMethod | (string & {})>;
set stroke_method(v: H.In<E.BrushStrokeMethod | (string & {})>);
/**
* Sculpt Plane Default: 'AREA'.
* - `AREA`: Area Plane
* - `VIEW`: View Plane
* - `X`: X Plane
* - `Y`: Y Plane
* - `Z`: Z Plane
*/
get sculpt_plane(): H.Ref<"AREA" | "VIEW" | "X" | "Y" | "Z">;
set sculpt_plane(v: H.In<"AREA" | "VIEW" | "X" | "Y" | "Z">);
/**
* Mask Tool Default: 'DRAW'.
* - `DRAW`: Draw
* - `SMOOTH`: Smooth
*/
get mask_tool(): H.Ref<"DRAW" | "SMOOTH">;
set mask_tool(v: H.In<"DRAW" | "SMOOTH">);
/** Falloff Curve Preset Default: 'CUSTOM'. */
get curve_distance_falloff_preset(): H.Ref<E.BrushCurveDistanceFalloffPreset>;
set curve_distance_falloff_preset(v: H.In<E.BrushCurveDistanceFalloffPreset>);
/**
* How the deformation of the brush will affect the object Default: 'GEOMETRY'.
* - `GEOMETRY`: Geometry (Brush deformation displaces the vertices of the mesh)
* - `CLOTH_SIM`: Cloth Simulation (Brush deforms the mesh by deforming the constraints of a cloth simulation)
*/
get deform_target(): H.Ref<"GEOMETRY" | "CLOTH_SIM">;
set deform_target(v: H.In<"GEOMETRY" | "CLOTH_SIM">);
/**
* Deformation type that is used in the brush Default: 'GRAB'.
* - `GRAB`: Grab
* - `GRAB_BISCALE`: Bi-Scale Grab
* - `GRAB_TRISCALE`: Tri-Scale Grab
* - `SCALE`: Scale
* - `TWIST`: Twist
*/
get elastic_deform_type(): H.Ref<"GRAB" | "GRAB_BISCALE" | "GRAB_TRISCALE" | "SCALE" | "TWIST">;
set elastic_deform_type(v: H.In<"GRAB" | "GRAB_BISCALE" | "GRAB_TRISCALE" | "SCALE" | "TWIST">);
/**
* Deformation type that is used in the brush Default: 'FALLOFF'.
* - `FALLOFF`: Radius Falloff (Applies the brush falloff in the tip of the brush)
* - `ELASTIC`: Elastic (Modifies the entire mesh using elastic deform)
*/
get snake_hook_deform_type(): H.Ref<"FALLOFF" | "ELASTIC">;
set snake_hook_deform_type(v: H.In<"FALLOFF" | "ELASTIC">);
/**
* Inversion Mode Default: 'INVERT_DISPLACEMENT'.
* - `INVERT_DISPLACEMENT`: Invert Displacement (Displace the vertices away from the plane.)
* - `SWAP_DEPTH_AND_HEIGHT`: Swap Height and Depth (Swap the roles of Height and Depth.)
*/
get plane_inversion_mode(): H.Ref<"INVERT_DISPLACEMENT" | "SWAP_DEPTH_AND_HEIGHT">;
set plane_inversion_mode(v: H.In<"INVERT_DISPLACEMENT" | "SWAP_DEPTH_AND_HEIGHT">);
/**
* Ray Direction Default: 'VIEW_NORMAL'.
* - `VIEW_NORMAL`: View Normal (Project the vertices along the view normal.)
* - `PLANE_NORMAL`: Plane Normal (Project the vertices along the plane normal.)
*/
get project_ray_direction_type(): H.Ref<"VIEW_NORMAL" | "PLANE_NORMAL">;
set project_ray_direction_type(v: H.In<"VIEW_NORMAL" | "PLANE_NORMAL">);
/** Minimum distance to other scene objects after projecting onto them Range: 0 to 10. Default: 0.0. */
get minimum_distance(): H.Ref<number>;
set minimum_distance(v: H.In<number>);
/** Deformation type that is used in the brush Default: 'DRAG'. */
get cloth_deform_type(): H.Ref<E.BrushClothDeformType>;
set cloth_deform_type(v: H.In<E.BrushClothDeformType>);
/**
* Shape used in the brush to apply force to the cloth Default: 'RADIAL'.
* - `RADIAL`: Radial
* - `PLANE`: Plane
*/
get cloth_force_falloff_type(): H.Ref<"RADIAL" | "PLANE">;
set cloth_force_falloff_type(v: H.In<"RADIAL" | "PLANE">);
/**
* Part of the mesh that is going to be simulated when the stroke is active Default: 'LOCAL'.
* - `LOCAL`: Local (Simulates only a specific area around the brush limited by a fixed radius)
* - `GLOBAL`: Global (Simulates the entire mesh)
* - `DYNAMIC`: Dynamic (The active simulation area moves with the brush)
*/
get cloth_simulation_area_type(): H.Ref<"LOCAL" | "GLOBAL" | "DYNAMIC">;
set cloth_simulation_area_type(v: H.In<"LOCAL" | "GLOBAL" | "DYNAMIC">);
/**
* How the brush falloff is applied across the boundary Default: 'CONSTANT'.
* - `CONSTANT`: Constant (Applies the same deformation in the entire boundary)
* - `RADIUS`: Brush Radius (Applies the deformation in a localized area limited by the brush radius)
* - `LOOP`: Loop (Applies the brush falloff in a loop pattern)
* - `LOOP_INVERT`: Loop and Invert (Applies the falloff radius in a loop pattern, inverting the displacement direction in each pattern repetition)
*/
get boundary_falloff_type(): H.Ref<"CONSTANT" | "RADIUS" | "LOOP" | "LOOP_INVERT">;
set boundary_falloff_type(v: H.In<"CONSTANT" | "RADIUS" | "LOOP" | "LOOP_INVERT">);
/**
* Deformation type that is used in the brush Default: 'LAPLACIAN'.
* - `LAPLACIAN`: Laplacian (Smooths the surface and the volume)
* - `SURFACE`: Surface (Smooths the surface of the mesh, preserving the volume)
*/
get smooth_deform_type(): H.Ref<"LAPLACIAN" | "SURFACE">;
set smooth_deform_type(v: H.In<"LAPLACIAN" | "SURFACE">);
/**
* Deformation type that is used in the brush Default: 'DRAG'.
* - `DRAG`: Drag
* - `PINCH`: Pinch
* - `EXPAND`: Expand
*/
get smear_deform_type(): H.Ref<"DRAG" | "PINCH" | "EXPAND">;
set smear_deform_type(v: H.In<"DRAG" | "PINCH" | "EXPAND">);
/**
* Deformation type that is used in the brush Default: 'DRAG'.
* - `DRAG`: Drag
* - `PINCH`: Pinch
* - `EXPAND`: Expand
*/
get slide_deform_type(): H.Ref<"DRAG" | "PINCH" | "EXPAND">;
set slide_deform_type(v: H.In<"DRAG" | "PINCH" | "EXPAND">);
/**
* Deformation type that is used in the brush Default: 'BEND'.
* - `BEND`: Bend
* - `EXPAND`: Expand
* - `INFLATE`: Inflate
* - `GRAB`: Grab
* - `TWIST`: Twist
* - `SMOOTH`: Smooth
*/
get boundary_deform_type(): H.Ref<"BEND" | "EXPAND" | "INFLATE" | "GRAB" | "TWIST" | "SMOOTH">;
set boundary_deform_type(v: H.In<"BEND" | "EXPAND" | "INFLATE" | "GRAB" | "TWIST" | "SMOOTH">);
/**
* Deformation type that is used in the brush Default: 'ROTATE_TWIST'.
* - `ROTATE_TWIST`: Rotate/Twist
* - `SCALE_TRANSLATE`: Scale/Translate
* - `SQUASH_STRETCH`: Squash & Stretch
*/
get pose_deform_type(): H.Ref<"ROTATE_TWIST" | "SCALE_TRANSLATE" | "SQUASH_STRETCH">;
set pose_deform_type(v: H.In<"ROTATE_TWIST" | "SCALE_TRANSLATE" | "SQUASH_STRETCH">);
/**
* Method to set the rotation origins for the segments of the brush Default: 'TOPOLOGY'.
* - `TOPOLOGY`: Topology (Sets the rotation origin automatically using the topology and shape of the mesh as a guide)
* - `FACE_SETS`: Face Sets (Creates a pose segment per face set, starting from the active face set)
* - `FACE_SETS_FK`: Face Sets FK (Simulates an FK deformation using the face set under the cursor as control)
*/
get pose_origin_type(): H.Ref<"TOPOLOGY" | "FACE_SETS" | "FACE_SETS_FK">;
set pose_origin_type(v: H.In<"TOPOLOGY" | "FACE_SETS" | "FACE_SETS_FK">);
/**
* Jitter in screen space or relative to brush size Default: 'VIEW'.
* - `VIEW`: View (Jittering happens in screen space, in pixels)
* - `BRUSH`: Brush (Jittering happens relative to the brush size)
*/
get jitter_unit(): H.Ref<"VIEW" | "BRUSH">;
set jitter_unit(v: H.In<"VIEW" | "BRUSH">);
/**
* Use projected or spherical falloff Default: 'SPHERE'.
* - `SPHERE`: Sphere (Apply brush influence in a Sphere, outwards from the center)
* - `PROJECTED`: Projected (Apply brush influence in a 2D circle, projected from the view)
*/
get falloff_shape(): H.Ref<"SPHERE" | "PROJECTED">;
set falloff_shape(v: H.In<"SPHERE" | "PROJECTED">);
/** Diameter of the brush in pixels Range: 1 to 10000. Default: 70. */
get size(): H.Ref<number>;
set size(v: H.In<number>);
/** Diameter of brush in Blender units Range: 0.0010000000474974513 to inf. Default: 0.1. */
get unprojected_size(): H.Ref<number>;
set unprojected_size(v: H.In<number>);
/** Number of input samples to average together to smooth the brush stroke Range: 1 to 64. Default: 1. */
get input_samples(): H.Ref<number>;
set input_samples(v: H.In<number>);
/** Jitter the position of the brush while painting Range: 0 to 1000. Default: 0.0. */
get jitter(): H.Ref<number>;
set jitter(v: H.In<number>);
/** Jitter the position of the brush in pixels while painting Range: 0 to 1000000. Default: 0. */
get jitter_absolute(): H.Ref<number>;
set jitter_absolute(v: H.In<number>);
/** Spacing between brush daubs as a percentage of brush diameter Range: 1 to 1000. Default: 10. */
get spacing(): H.Ref<number>;
set spacing(v: H.In<number>);
/** Spacing before brush gradient goes full circle Range: 1 to 10000. Default: 0. */
get grad_spacing(): H.Ref<number>;
set grad_spacing(v: H.In<number>);
/** Jitter brush color Default: False. */
get use_color_jitter(): H.Ref<boolean>;
set use_color_jitter(v: H.In<boolean>);
/** Color jitter effect on hue Range: 0 to 1. Default: 0.0. */
get hue_jitter(): H.Ref<number>;
set hue_jitter(v: H.In<number>);
/** Color jitter effect on saturation Range: 0 to 1. Default: 0.0. */
get saturation_jitter(): H.Ref<number>;
set saturation_jitter(v: H.In<number>);
/** Color jitter effect on value Range: 0 to 1. Default: 0.0. */
get value_jitter(): H.Ref<number>;
set value_jitter(v: H.In<number>);
/** Use randomness at stroke level Default: False. */
get use_stroke_random_hue(): H.Ref<boolean>;
set use_stroke_random_hue(v: H.In<boolean>);
/** Use randomness at stroke level Default: False. */
get use_stroke_random_sat(): H.Ref<boolean>;
set use_stroke_random_sat(v: H.In<boolean>);
/** Use randomness at stroke level Default: False. */
get use_stroke_random_val(): H.Ref<boolean>;
set use_stroke_random_val(v: H.In<boolean>);
/** Use pressure to modulate randomness Default: False. */
get use_random_press_hue(): H.Ref<boolean>;
set use_random_press_hue(v: H.In<boolean>);
/** Use pressure to modulate randomness Default: False. */
get use_random_press_sat(): H.Ref<boolean>;
set use_random_press_sat(v: H.In<boolean>);
/** Use pressure to modulate randomness Default: False. */
get use_random_press_val(): H.Ref<boolean>;
set use_random_press_val(v: H.In<boolean>);
/** Curve used for modulating effect */
get curve_random_hue(): H.Ptr<R.CurveMapping>;
/** Curve used for modulating effect */
get curve_random_saturation(): H.Ptr<R.CurveMapping>;
/** Curve used for modulating effect */
get curve_random_value(): H.Ptr<R.CurveMapping>;
/** Curve used to map pressure to brush size */
get curve_size(): H.Ptr<R.CurveMapping>;
/** Curve used to map pressure to brush strength */
get curve_strength(): H.Ptr<R.CurveMapping>;
/** Curve used to map pressure to brush jitter */
get curve_jitter(): H.Ptr<R.CurveMapping>;
/** Minimum distance from last point before stroke continues Range: 10 to 200. Default: 75. */
get smooth_stroke_radius(): H.Ref<number>;
set smooth_stroke_radius(v: H.In<number>);
/** Higher values give a smoother stroke Range: 0.5 to 0.9900000095367432. Default: 0.9. */
get smooth_stroke_factor(): H.Ref<number>;
set smooth_stroke_factor(v: H.In<number>);
/** Interval between paints for Airbrush Range: 0.00009999999747378752 to 10000. Default: 0.1. */
get rate(): H.Ref<number>;
set rate(v: H.In<number>);
/** Color Range: 0 to inf. Default: (1.0, 1.0, 1.0). */
get color(): H.Remote<M.Color>;
set color(v: H.In<M.Color | readonly number[]>);
/** Secondary Color Range: 0 to inf. Default: (0.0, 0.0, 0.0). */
get secondary_color(): H.Remote<M.Color>;
set secondary_color(v: H.In<M.Color | readonly number[]>);
/** Vertex weight when brush is applied Range: 0 to 1. Default: 1.0. */
get weight(): H.Ref<number>;
set weight(v: H.In<number>);
/** How powerful the effect of the brush is when applied Range: 0 to 10. Default: 1.0. */
get strength(): H.Ref<number>;
set strength(v: H.In<number>);
/** Amount of paint that is applied per stroke sample Range: 0 to 1. Default: 0.0. */
get flow(): H.Ref<number>;
set flow(v: H.In<number>);
/** Amount of paint that is picked from the surface into the brush color Range: 0 to 1. Default: 0.0. */
get wet_mix(): H.Ref<number>;
set wet_mix(v: H.In<number>);
/** Amount of wet paint that stays in the brush after applying paint to the surface Range: 0 to 1. Default: 0.0. */
get wet_persistence(): H.Ref<number>;
set wet_persistence(v: H.In<number>);
/** Amount of random elements that are going to be affected by the brush Range: 0 to 1. Default: 0.0. */
get density(): H.Ref<number>;
set density(v: H.In<number>);
/** Scale of the brush tip in the X axis Range: 0.00009999999747378752 to 1. Default: 1.0. */
get tip_scale_x(): H.Ref<number>;
set tip_scale_x(v: H.In<number>);
/** Use pressure to modulate hardness Default: False. */
get use_hardness_pressure(): H.Ref<boolean>;
set use_hardness_pressure(v: H.In<boolean>);
/** Invert the modulation of pressure in hardness Default: False. */
get invert_hardness_pressure(): H.Ref<boolean>;
set invert_hardness_pressure(v: H.In<boolean>);
/** Use pressure to modulate flow Default: False. */
get use_flow_pressure(): H.Ref<boolean>;
set use_flow_pressure(v: H.In<boolean>);
/** Invert the modulation of pressure in flow Default: False. */
get invert_flow_pressure(): H.Ref<boolean>;
set invert_flow_pressure(v: H.In<boolean>);
/** Use pressure to modulate wet mix Default: False. */
get use_wet_mix_pressure(): H.Ref<boolean>;
set use_wet_mix_pressure(v: H.In<boolean>);
/** Invert the modulation of pressure in wet mix Default: False. */
get invert_wet_mix_pressure(): H.Ref<boolean>;
set invert_wet_mix_pressure(v: H.In<boolean>);
/** Use pressure to modulate wet persistence Default: False. */
get use_wet_persistence_pressure(): H.Ref<boolean>;
set use_wet_persistence_pressure(v: H.In<boolean>);
/** Invert the modulation of pressure in wet persistence Default: False. */
get invert_wet_persistence_pressure(): H.Ref<boolean>;
set invert_wet_persistence_pressure(v: H.In<boolean>);
/** Use pressure to modulate density Default: False. */
get use_density_pressure(): H.Ref<boolean>;
set use_density_pressure(v: H.In<boolean>);
/** Invert the modulation of pressure in density Default: False. */
get invert_density_pressure(): H.Ref<boolean>;
set invert_density_pressure(v: H.In<boolean>);
/** Ratio of samples in a cycle that the brush is enabled Range: 0 to 1. Default: 1.0. */
get dash_ratio(): H.Ref<number>;
set dash_ratio(v: H.In<number>);
/** Length of a dash cycle measured in stroke samples Range: 1 to 10000. Default: 20. */
get dash_samples(): H.Ref<number>;
set dash_samples(v: H.In<number>);
/** Adjust plane on which the brush acts towards or away from the object surface Range: -2 to 2. Default: 0.0. */
get plane_offset(): H.Ref<number>;
set plane_offset(v: H.In<number>);
/** If a vertex is further away from offset plane than this, then it is not affected Range: 0 to 1. Default: 0.5. */
get plane_trim(): H.Ref<number>;
set plane_trim(v: H.In<number>);
/** Affectable height of brush (i.e. the layer height for the layer tool) Range: 0 to 1. Default: 0.5. */
get height(): H.Ref<number>;
set height(v: H.In<number>);
/** The maximum distance below the plane for affected vertices. Increasing the depth affects vertices farther below the plane. Range: 0 to 1. Default: 0.0. */
get plane_depth(): H.Ref<number>;
set plane_depth(v: H.In<number>);
/** The maximum distance above the plane for affected vertices. Increasing the height affects vertices farther above the plane. Range: 0 to 1. Default: 1.0. */
get plane_height(): H.Ref<number>;
set plane_height(v: H.In<number>);
/** How stable the plane normal is over the course of the stroke. A value of 0 corresponds to using the current normal, and a value of 1 corresponds to using the initial normal. Range: 0 to 1. Default: 0.0. */
get stabilize_normal(): H.Ref<number>;
set stabilize_normal(v: H.In<number>);
/** How stable the plane center is over the course of the stroke. A value of 0 corresponds to using the current center, and a value of 1 corresponds to using the initial center. Range: 0 to 1. Default: 0.0. */
get stabilize_plane(): H.Ref<number>;
set stabilize_plane(v: H.In<number>);
/** Value added to texture samples Range: -1 to 1. Default: 0.0. */
get texture_sample_bias(): H.Ref<number>;
set texture_sample_bias(v: H.In<number>);
/** Handle each pixel color as individual vector for displacement (area plane mapping only) Default: False. */
get use_color_as_displacement(): H.Ref<boolean>;
set use_color_as_displacement(v: H.In<boolean>);
/** How much grab will pull vertices out of surface during a grab Range: 0 to 1. Default: 0.0. */
get normal_weight(): H.Ref<number>;
set normal_weight(v: H.In<number>);
/** Poisson ratio for elastic deformation. Higher values preserve volume more, but also lead to more bulging. Range: 0 to 0.8999999761581421. Default: 0.0. */
get elastic_deform_volume_preservation(): H.Ref<number>;
set elastic_deform_volume_preservation(v: H.In<number>);
/** How much grab will follow cursor rotation Range: 0 to 10. Default: 0.0. */
get rake_factor(): H.Ref<number>;
set rake_factor(v: H.In<number>);
/** How much the crease brush pinches Range: 0 to 1. Default: 0.5. */
get crease_pinch_factor(): H.Ref<number>;
set crease_pinch_factor(v: H.In<number>);
/** Offset of the pose origin in relation to the brush radius Range: 0 to 2. Default: 0.0. */
get pose_offset(): H.Ref<number>;
set pose_offset(v: H.In<number>);
/** Maximum distance to search for disconnected loose parts in the mesh Range: 0 to 10. Default: 0.1. */
get disconnected_distance_max(): H.Ref<number>;
set disconnected_distance_max(v: H.In<number>);
/** Offset of the boundary origin in relation to the brush radius Range: 0 to 30. Default: 0.0. */
get boundary_offset(): H.Ref<number>;
set boundary_offset(v: H.In<number>);
/** How much of the original shape is preserved when smoothing Range: 0 to 1. Default: 0.0. */
get surface_smooth_shape_preservation(): H.Ref<number>;
set surface_smooth_shape_preservation(v: H.In<number>);
/** How much the position of each individual vertex influences the final result Range: 0 to 1. Default: 0.0. */
get surface_smooth_current_vertex(): H.Ref<number>;
set surface_smooth_current_vertex(v: H.In<number>);
/** Number of smoothing iterations per brush step Range: 1 to 10. Default: 0. */
get surface_smooth_iterations(): H.Ref<number>;
set surface_smooth_iterations(v: H.In<number>);
/** Angle between the planes of the crease Range: 0 to 160. Default: 0.0. */
get multiplane_scrape_angle(): H.Ref<number>;
set multiplane_scrape_angle(v: H.In<number>);
/** Smooth iterations applied after calculating the pose factor of each vertex Range: 0 to 100. Default: 4. */
get pose_smooth_iterations(): H.Ref<number>;
set pose_smooth_iterations(v: H.In<number>);
/** Number of segments of the inverse kinematics chain that will deform the mesh Range: 1 to 20. Default: 1. */
get pose_ik_segments(): H.Ref<number>;
set pose_ik_segments(v: H.In<number>);
/** Roundness of the brush tip Range: 0 to 1. Default: 1.0. */
get tip_roundness(): H.Ref<number>;
set tip_roundness(v: H.In<number>);
/** Mass of each simulation particle Range: 0.009999999776482582 to 2. Default: 1.0. */
get cloth_mass(): H.Ref<number>;
set cloth_mass(v: H.In<number>);
/** How much the applied forces are propagated through the cloth Range: 0.009999999776482582 to 1. Default: 0.01. */
get cloth_damping(): H.Ref<number>;
set cloth_damping(v: H.In<number>);
/** Factor added relative to the size of the radius to limit the cloth simulation effects Range: 0.10000000149011612 to 10. Default: 2.5. */
get cloth_sim_limit(): H.Ref<number>;
set cloth_sim_limit(v: H.In<number>);
/** Area to apply deformation falloff to the effects of the simulation Range: 0 to 1. Default: 0.75. */
get cloth_sim_falloff(): H.Ref<number>;
set cloth_sim_falloff(v: H.In<number>);
/** How much the cloth preserves the original shape, acting as a soft body Range: 0 to 1. Default: 0.0. */
get cloth_constraint_softbody_strength(): H.Ref<number>;
set cloth_constraint_softbody_strength(v: H.In<number>);
/** How close the brush falloff starts from the edge of the brush Range: 0 to 1. Default: 0.0. */
get hardness(): H.Ref<number>;
set hardness(v: H.In<number>);
/** Amount of smoothing to automatically apply to each stroke Range: 0 to 1. Default: 0.0. */
get auto_smooth_factor(): H.Ref<number>;
set auto_smooth_factor(v: H.In<number>);
/** Automatically align edges to the brush direction to generate cleaner topology and define sharp features. Best used on low-poly meshes as it has a performance impact. Range: 0 to 1. Default: 0.0. */
get topology_rake_factor(): H.Ref<number>;
set topology_rake_factor(v: H.In<number>);
/** How much the tilt of the pen will affect the brush. Negative values indicate inverting the tilt directions. Range: -1 to 1. Default: 0.0. */
get tilt_strength_factor(): H.Ref<number>;
set tilt_strength_factor(v: H.In<number>);
/** Ratio between the brush radius and the radius that is going to be used to sample the normal Range: 0 to 2. Default: 0.5. */
get normal_radius_factor(): H.Ref<number>;
set normal_radius_factor(v: H.In<number>);
/** Ratio between the brush radius and the radius that is going to be used to sample the area center Range: 0 to 2. Default: 0.5. */
get area_radius_factor(): H.Ref<number>;
set area_radius_factor(v: H.In<number>);
/** Ratio between the brush radius and the radius that is going to be used to sample the color to blend in wet paint Range: 0 to 2. Default: 0.5. */
get wet_paint_radius_factor(): H.Ref<number>;
set wet_paint_radius_factor(v: H.In<number>);
/** Position of stencil in viewport Default: (256.0, 256.0). */
get stencil_pos(): H.Remote<M.Vector>;
set stencil_pos(v: H.In<M.VectorLike>);
/** Dimensions of stencil in viewport Default: (256.0, 256.0). */
get stencil_dimension(): H.Remote<M.Vector>;
set stencil_dimension(v: H.In<M.VectorLike>);
/** Position of mask stencil in viewport Default: (256.0, 256.0). */
get mask_stencil_pos(): H.Remote<M.Vector>;
set mask_stencil_pos(v: H.In<M.VectorLike>);
/** Dimensions of mask stencil in viewport Default: (256.0, 256.0). */
get mask_stencil_dimension(): H.Remote<M.Vector>;
set mask_stencil_dimension(v: H.In<M.VectorLike>);
/** Threshold below which, no sharpening is done Range: 0 to 100. Default: 0.0. */
get sharp_threshold(): H.Ref<number>;
set sharp_threshold(v: H.In<number>);
/** Threshold above which filling is not propagated Range: 0 to 100. Default: 0.2. */
get fill_threshold(): H.Ref<number>;
set fill_threshold(v: H.In<number>);
/** Radius of kernel used for soften and sharpen in pixels Range: 1 to 10000. Default: 2. */
get blur_kernel_radius(): H.Ref<number>;
set blur_kernel_radius(v: H.In<number>);
/**
* Blur Mode Default: 'GAUSSIAN'.
* - `BOX`: Box
* - `GAUSSIAN`: Gaussian
*/
get blur_mode(): H.Ref<"BOX" | "GAUSSIAN">;
set blur_mode(v: H.In<"BOX" | "GAUSSIAN">);
/** Paint most on faces pointing towards the view according to this angle Range: 0 to 1.5707963705062866. Default: 0.0. */
get falloff_angle(): H.Ref<number>;
set falloff_angle(v: H.In<number>);
/** When locked keep using normal of surface where stroke was initiated Default: False. */
get use_original_normal(): H.Ref<boolean>;
set use_original_normal(v: H.In<boolean>);
/** When locked keep using the plane origin of surface where stroke was initiated Default: False. */
get use_original_plane(): H.Ref<boolean>;
set use_original_plane(v: H.In<boolean>);
/**
* Calculate the brush spacing using view or scene distance Default: 'VIEW'.
* - `VIEW`: View (Calculate brush spacing relative to the view)
* - `SCENE`: Scene (Calculate brush spacing relative to the scene using the stroke location)
*/
get use_scene_spacing(): H.Ref<"VIEW" | "SCENE">;
set use_scene_spacing(v: H.In<"VIEW" | "SCENE">);
/** Apply the maximum grab strength to the active vertex instead of the cursor location Default: False. */
get use_grab_active_vertex(): H.Ref<boolean>;
set use_grab_active_vertex(v: H.In<boolean>);
/** Grabs trying to automask the silhouette of the object Default: False. */
get use_grab_silhouette(): H.Ref<boolean>;
set use_grab_silhouette(v: H.In<boolean>);
/** Smooths the edges of the strokes Default: True. */
get use_paint_antialiasing(): H.Ref<boolean>;
set use_paint_antialiasing(v: H.In<boolean>);
/** The angle between the planes changes during the stroke to fit the surface under the cursor Default: False. */
get use_multiplane_scrape_dynamic(): H.Ref<boolean>;
set use_multiplane_scrape_dynamic(v: H.In<boolean>);
/** Preview the scrape planes in the cursor during the stroke Default: False. */
get show_multiplane_scrape_planes_preview(): H.Ref<boolean>;
set show_multiplane_scrape_planes_preview(v: H.In<boolean>);
/** Keep the position of the last segment in the IK chain fixed Default: False. */
get use_pose_ik_anchored(): H.Ref<boolean>;
set use_pose_ik_anchored(v: H.In<boolean>);
/** Do not rotate the segment when using the scale deform mode Default: False. */
get use_pose_lock_rotation(): H.Ref<boolean>;
set use_pose_lock_rotation(v: H.In<boolean>);
/** Affect only topologically connected elements Default: False. */
get use_connected_only(): H.Ref<boolean>;
set use_connected_only(v: H.In<boolean>);
/** Lock the position of the vertices in the simulation falloff area to avoid artifacts and create a softer transition with unaffected areas Default: False. */
get use_cloth_pin_simulation_boundary(): H.Ref<boolean>;
set use_cloth_pin_simulation_boundary(v: H.In<boolean>);
/** Collide with objects during the simulation Default: False. */
get use_cloth_collision(): H.Ref<boolean>;
set use_cloth_collision(v: H.In<boolean>);
/** Use Scrape or Fill brush when inverting this brush instead of inverting its displacement direction Default: False. */
get invert_to_scrape_fill(): H.Ref<boolean>;
set invert_to_scrape_fill(v: H.In<boolean>);
/** Enable tablet pressure sensitivity for strength Default: True. */
get use_pressure_strength(): H.Ref<boolean>;
set use_pressure_strength(v: H.In<boolean>);
/** Enable tablet pressure sensitivity for offset Default: False. */
get use_offset_pressure(): H.Ref<boolean>;
set use_offset_pressure(v: H.In<boolean>);
/** Enable tablet pressure sensitivity for area radius Default: False. */
get use_pressure_area_radius(): H.Ref<boolean>;
set use_pressure_area_radius(v: H.In<boolean>);
/** Enable tablet pressure sensitivity for size Default: False. */
get use_pressure_size(): H.Ref<boolean>;
set use_pressure_size(v: H.In<boolean>);
/** Enable tablet pressure sensitivity for jitter Default: False. */
get use_pressure_jitter(): H.Ref<boolean>;
set use_pressure_jitter(v: H.In<boolean>);
/** Enable tablet pressure sensitivity for spacing Default: False. */
get use_pressure_spacing(): H.Ref<boolean>;
set use_pressure_spacing(v: H.In<boolean>);
/**
* Pen pressure makes texture influence smaller Default: 'NONE'.
* - `NONE`: Off
* - `RAMP`: Ramp
* - `CUTOFF`: Cutoff
*/
get use_pressure_masking(): H.Ref<"NONE" | "RAMP" | "CUTOFF">;
set use_pressure_masking(v: H.In<"NONE" | "RAMP" | "CUTOFF">);
/** Lighter pressure causes more smoothing to be applied Default: False. */
get use_inverse_smooth_pressure(): H.Ref<boolean>;
set use_inverse_smooth_pressure(v: H.In<boolean>);
/** Limit the distance from the offset plane that a vertex can be affected Default: False. */
get use_plane_trim(): H.Ref<boolean>;
set use_plane_trim(v: H.In<boolean>);
/** Brush only affects vertices that face the viewer Default: False. */
get use_frontface(): H.Ref<boolean>;
set use_frontface(v: H.In<boolean>);
/** Blend brush influence by how much they face the front Default: False. */
get use_frontface_falloff(): H.Ref<boolean>;
set use_frontface_falloff(v: H.In<boolean>);
/** Brush lags behind mouse and follows a smoother path Default: False. */
get use_smooth_stroke(): H.Ref<boolean>;
set use_smooth_stroke(v: H.In<boolean>);
/** Sculpt on a persistent layer of the mesh Default: False. */
get use_persistent(): H.Ref<boolean>;
set use_persistent(v: H.In<boolean>);
/** Project vertices both along the projection direction and its inverse, choosing the closest intersection. Default: False. */
get use_bidirectional(): H.Ref<boolean>;
set use_bidirectional(v: H.In<boolean>);
/** Accumulate stroke daubs on top of each other Default: False. */
get use_accumulate(): H.Ref<boolean>;
set use_accumulate(v: H.In<boolean>);
/** Automatically adjust strength to give consistent results for different spacings Default: True. */
get use_space_attenuation(): H.Ref<boolean>;
set use_space_attenuation(v: H.In<boolean>);
/** Space daubs according to surface orientation instead of screen space Default: False. */
get use_adaptive_space(): H.Ref<boolean>;
set use_adaptive_space(v: H.In<boolean>);
/**
* Measure brush size relative to the view or the scene Default: 'VIEW'.
* - `VIEW`: View (Measure brush size relative to the view)
* - `SCENE`: Scene (Measure brush size relative to the scene)
*/
get use_locked_size(): H.Ref<"VIEW" | "SCENE">;
set use_locked_size(v: H.In<"VIEW" | "SCENE">);
/**
* Use single color or gradient when painting Default: 'COLOR'.
* - `COLOR`: Color (Paint with a single color)
* - `GRADIENT`: Gradient (Paint with a gradient)
*/
get color_type(): H.Ref<"COLOR" | "GRADIENT">;
set color_type(v: H.In<"COLOR" | "GRADIENT">);
/** Drag anchor brush from edge-to-edge Default: False. */
get use_edge_to_edge(): H.Ref<boolean>;
set use_edge_to_edge(v: H.In<boolean>);
/** When this is disabled, lock alpha while painting Default: True. */
get use_alpha(): H.Ref<boolean>;
set use_alpha(v: H.In<boolean>);
/** Editable falloff curve */
get curve_distance_falloff(): H.Own<R.CurveMapping>;
/** Active paint curve */
get paint_curve(): H.Ptr<R.PaintCurve>;
set paint_curve(v: R.PaintCurve | null);
/** Gradient */
get gradient(): H.Ptr<R.ColorRamp>;
/**
* Gradient Stroke Mode Default: 'PRESSURE'.
* - `PRESSURE`: Pressure
* - `SPACING_REPEAT`: Repeat
* - `SPACING_CLAMP`: Clamp
*/
get gradient_stroke_mode(): H.Ref<"PRESSURE" | "SPACING_REPEAT" | "SPACING_CLAMP">;
set gradient_stroke_mode(v: H.In<"PRESSURE" | "SPACING_REPEAT" | "SPACING_CLAMP">);
/**
* Gradient Fill Mode Default: 'LINEAR'.
* - `LINEAR`: Linear
* - `RADIAL`: Radial
*/
get gradient_fill_mode(): H.Ref<"LINEAR" | "RADIAL">;
set gradient_fill_mode(v: H.In<"LINEAR" | "RADIAL">);
/** Show texture in viewport Default: False. */
get use_primary_overlay(): H.Ref<boolean>;
set use_primary_overlay(v: H.In<boolean>);
/** Show texture in viewport Default: False. */
get use_secondary_overlay(): H.Ref<boolean>;
set use_secondary_overlay(v: H.In<boolean>);
/** Show cursor in viewport Default: False. */
get use_cursor_overlay(): H.Ref<boolean>;
set use_cursor_overlay(v: H.In<boolean>);
/** Don't show overlay during a stroke Default: False. */
get use_cursor_overlay_override(): H.Ref<boolean>;
set use_cursor_overlay_override(v: H.In<boolean>);
/** Don't show overlay during a stroke Default: False. */
get use_primary_overlay_override(): H.Ref<boolean>;
set use_primary_overlay_override(v: H.In<boolean>);
/** Don't show overlay during a stroke Default: False. */
get use_secondary_overlay_override(): H.Ref<boolean>;
set use_secondary_overlay_override(v: H.In<boolean>);
/** Use this brush in sculpt mode Default: True. */
get use_paint_sculpt(): H.Ref<boolean>;
set use_paint_sculpt(v: H.In<boolean>);
/** Use this brush in UV sculpt mode Default: False. */
get use_paint_uv_sculpt(): H.Ref<boolean>;
set use_paint_uv_sculpt(v: H.In<boolean>);
/** Use this brush in vertex paint mode Default: True. */
get use_paint_vertex(): H.Ref<boolean>;
set use_paint_vertex(v: H.In<boolean>);
/** Use this brush in weight paint mode Default: True. */
get use_paint_weight(): H.Ref<boolean>;
set use_paint_weight(v: H.In<boolean>);
/** Use this brush in texture paint mode Default: True. */
get use_paint_image(): H.Ref<boolean>;
set use_paint_image(v: H.In<boolean>);
/** Use this brush in Grease Pencil drawing mode Default: False. */
get use_paint_grease_pencil(): H.Ref<boolean>;
set use_paint_grease_pencil(v: H.In<boolean>);
/** Use this brush in Grease Pencil vertex color mode Default: False. */
get use_vertex_grease_pencil(): H.Ref<boolean>;
set use_vertex_grease_pencil(v: H.In<boolean>);
/** Use this brush in sculpt curves mode Default: False. */
get use_paint_sculpt_curves(): H.Ref<boolean>;
set use_paint_sculpt_curves(v: H.In<boolean>);
/** Texture Slot */
get texture_slot(): H.Ptr<R.BrushTextureSlot>;
/** Texture */
get texture(): H.Ptr<R.Texture>;
set texture(v: R.Texture | null);
/** Mask Texture Slot */
get mask_texture_slot(): H.Ptr<R.BrushTextureSlot>;
/** Mask Texture */
get mask_texture(): H.Ptr<R.Texture>;
set mask_texture(v: R.Texture | null);
/** Texture Overlay Alpha Range: 0 to 100. Default: 33. */
get texture_overlay_alpha(): H.Ref<number>;
set texture_overlay_alpha(v: H.In<number>);
/** Mask Texture Overlay Alpha Range: 0 to 100. Default: 33. */
get mask_overlay_alpha(): H.Ref<number>;
set mask_overlay_alpha(v: H.In<number>);
/** Mask Texture Overlay Alpha Range: 0 to 100. Default: 33. */
get cursor_overlay_alpha(): H.Ref<number>;
set cursor_overlay_alpha(v: H.In<number>);
/** Color of cursor when adding Range: 0 to inf. Default: (1.0, 0.39, 0.39, 0.9). */
get cursor_color_add(): H.Arr<number>;
set cursor_color_add(v: H.In<readonly number[]>);
/** Color of cursor when subtracting Range: 0 to inf. Default: (0.39, 0.39, 1.0, 0.9). */
get cursor_color_subtract(): H.Arr<number>;
set cursor_color_subtract(v: H.In<readonly number[]>);
/** Brush's capabilities */
get brush_capabilities(): H.Own<R.BrushCapabilities>;
/** Sculpt Capabilities */
get sculpt_capabilities(): H.Own<R.BrushCapabilitiesSculpt>;
/** Image Paint Capabilities */
get image_paint_capabilities(): H.Own<R.BrushCapabilitiesImagePaint>;
/** Vertex Paint Capabilities */
get vertex_paint_capabilities(): H.Own<R.BrushCapabilitiesVertexPaint>;
/** Weight Paint Capabilities */
get weight_paint_capabilities(): H.Own<R.BrushCapabilitiesWeightPaint>;
/** Gpencil Settings */
get gpencil_settings(): H.Ptr<R.BrushGpencilSettings>;
/** Curves Sculpt Settings */
get curves_sculpt_settings(): H.Ptr<R.BrushCurvesSculptSettings>;
/** Mesh Automasking Settings */
get mesh_automasking_settings(): H.Ptr<R.MeshAutomaskingSettings>;
}
/**
* Read-only indications of supported operations
*
* bpy.types.BrushCapabilities (in Brush)
*/
export interface BrushCapabilities extends R.bpy_struct {
/** Has Overlay Default: False. */
get has_overlay(): H.Ref<boolean>;
/** Has Random Texture Angle Default: False. */
get has_random_texture_angle(): H.Ref<boolean>;
/** Has Spacing Default: False. */
get has_spacing(): H.Ref<boolean>;
/** Has Smooth Stroke Default: False. */
get has_smooth_stroke(): H.Ref<boolean>;
}
/**
* Read-only indications of supported operations
*
* bpy.types.BrushCapabilitiesImagePaint (in Brush)
*/
export interface BrushCapabilitiesImagePaint extends R.bpy_struct {
/** Has Accumulate Default: False. */
get has_accumulate(): H.Ref<boolean>;
/** Has Space Attenuation Default: False. */
get has_space_attenuation(): H.Ref<boolean>;
/** Has Radius Default: False. */
get has_radius(): H.Ref<boolean>;
/** Has Color Default: False. */
get has_color(): H.Ref<boolean>;
}
/**
* Read-only indications of which brush operations are supported by the current sculpt tool
*
* bpy.types.BrushCapabilitiesSculpt (in Brush)
*/
export interface BrushCapabilitiesSculpt extends R.bpy_struct {
/** Has Accumulate Default: False. */
get has_accumulate(): H.Ref<boolean>;
/** Has Auto Smooth Default: False. */
get has_auto_smooth(): H.Ref<boolean>;
/** Has Normal Radius Default: False. */
get has_normal_radius(): H.Ref<boolean>;
/** Has Hardness Default: False. */
get has_hardness(): H.Ref<boolean>;
/** Has Topology Rake Default: False. */
get has_topology_rake(): H.Ref<boolean>;
/** Has Height Default: False. */
get has_height(): H.Ref<boolean>;
/** Has Plane Depth Default: False. */
get has_plane_depth(): H.Ref<boolean>;
/** Has Plane Height Default: False. */
get has_plane_height(): H.Ref<boolean>;
/** Has Jitter Default: False. */
get has_jitter(): H.Ref<boolean>;
/** Has Crease/Pinch Factor Default: False. */
get has_normal_weight(): H.Ref<boolean>;
/** Has Rake Factor Default: False. */
get has_rake_factor(): H.Ref<boolean>;
/** Has Persistence Default: False. */
get has_persistence(): H.Ref<boolean>;
/** Has Pinch Factor Default: False. */
get has_pinch_factor(): H.Ref<boolean>;
/** Has Plane Offset Default: False. */
get has_plane_offset(): H.Ref<boolean>;
/** Has Random Texture Angle Default: False. */
get has_random_texture_angle(): H.Ref<boolean>;
/** Has Sculpt Plane Default: False. */
get has_sculpt_plane(): H.Ref<boolean>;
/** Has Color Default: False. */
get has_color(): H.Ref<boolean>;
/** Has Secondary Color Default: False. */
get has_secondary_color(): H.Ref<boolean>;
/** Has Smooth Stroke Default: False. */
get has_smooth_stroke(): H.Ref<boolean>;
/** Has Space Attenuation Default: False. */
get has_space_attenuation(): H.Ref<boolean>;
/** Has Strength Pressure Default: False. */
get has_strength_pressure(): H.Ref<boolean>;
/** Has Size Pressure Default: False. */
get has_size_pressure(): H.Ref<boolean>;
/** Has Auto-Smooth Pressure Default: False. */
get has_auto_smooth_pressure(): H.Ref<boolean>;
/** Has Hardness Pressure Default: False. */
get has_hardness_pressure(): H.Ref<boolean>;
/** Has Direction Default: False. */
get has_direction(): H.Ref<boolean>;
/** Has Gravity Default: False. */
get has_gravity(): H.Ref<boolean>;
/** Has Tilt Default: False. */
get has_tilt(): H.Ref<boolean>;
/** Has Dyntopo Default: False. */
get has_dyntopo(): H.Ref<boolean>;
}
/**
* Read-only indications of supported operations
*
* bpy.types.BrushCapabilitiesVertexPaint (in Brush)
*/
export interface BrushCapabilitiesVertexPaint extends R.bpy_struct {
/** Has Color Default: False. */
get has_color(): H.Ref<boolean>;
}
/**
* Read-only indications of supported operations
*
* bpy.types.BrushCapabilitiesWeightPaint (in Brush)
*/
export interface BrushCapabilitiesWeightPaint extends R.bpy_struct {
/** Has Weight Default: False. */
get has_weight(): H.Ref<boolean>;
}
/** bpy.types.BrushCurvesSculptSettings */
export interface BrushCurvesSculptSettings extends R.bpy_struct {
/** Number of curves added by the Add brush Range: 1 to 2147483647. Default: 0. */
get add_amount(): H.Ref<number>;
set add_amount(v: H.In<number>);
/** Number of control points in a newly added curve Range: 2 to 2147483647. Default: 0. */
get points_per_curve(): H.Ref<number>;
set points_per_curve(v: H.In<number>);
/** Grow or shrink curves by changing their size uniformly instead of using trimming or extrapolation Default: False. */
get use_uniform_scale(): H.Ref<boolean>;
set use_uniform_scale(v: H.In<boolean>);
/** Avoid shrinking curves shorter than this length Range: 0 to inf. Default: 0.0. */
get minimum_length(): H.Ref<number>;
set minimum_length(v: H.In<number>);
/** Use length of the curves in close proximity Default: False. */
get use_length_interpolate(): H.Ref<boolean>;
set use_length_interpolate(v: H.In<boolean>);
/** Use radius of the curves in close proximity Default: True. */
get use_radius_interpolate(): H.Ref<boolean>;
set use_radius_interpolate(v: H.In<boolean>);
/** Use the number of points from the curves in close proximity Default: False. */
get use_point_count_interpolate(): H.Ref<boolean>;
set use_point_count_interpolate(v: H.In<boolean>);
/** Use shape of the curves in close proximity Default: False. */
get use_shape_interpolate(): H.Ref<boolean>;
set use_shape_interpolate(v: H.In<boolean>);
/** Length of newly added curves when it is not interpolated from other curves Range: 0 to inf. Default: 0.0. */
get curve_length(): H.Ref<number>;
set curve_length(v: H.In<number>);
/** Goal distance between curve roots for the Density brush Range: 0 to inf. Default: 0.0. */
get minimum_distance(): H.Ref<number>;
set minimum_distance(v: H.In<number>);
/** Radius of newly added curves when it is not interpolated from other curves Range: 0 to inf. Default: 0.01. */
get curve_radius(): H.Ref<number>;
set curve_radius(v: H.In<number>);
/** How many times the Density brush tries to add a new curve Range: 0 to 2147483647. Default: 0. */
get density_add_attempts(): H.Ref<number>;
set density_add_attempts(v: H.In<number>);
/**
* Determines whether the brush adds or removes curves Default: 'AUTO'.
* - `AUTO`: Auto (Either add or remove curves depending on the minimum distance of the curves under the cursor)
* - `ADD`: Add (Add new curves between existing curves, taking the minimum distance into account)
* - `REMOVE`: Remove (Remove curves whose root points are too close)
*/
get density_mode(): H.Ref<"AUTO" | "ADD" | "REMOVE">;
set density_mode(v: H.In<"AUTO" | "ADD" | "REMOVE">);
/** Falloff that is applied from the tip to the root of each curve */
get curve_parameter_falloff(): H.Ptr<R.CurveMapping>;
}
/**
* Settings for Grease Pencil brush
*
* bpy.types.BrushGpencilSettings
*/
export interface BrushGpencilSettings extends R.bpy_struct {
/** Color strength for new strokes (affect alpha factor of color) Range: 0 to 1. Default: 0.0. */
get pen_strength(): H.Ref<number>;
set pen_strength(v: H.In<number>);
/** Jitter factor of brush radius for new strokes Range: 0 to 100. Default: 0.0. */
get pen_jitter(): H.Ref<number>;
set pen_jitter(v: H.In<number>);
/** Randomness factor for pressure in new strokes Range: 0 to 1. Default: 0.0. */
get random_pressure(): H.Ref<number>;
set random_pressure(v: H.In<number>);
/** Randomness factor strength in new strokes Range: 0 to 1. Default: 0.0. */
get random_strength(): H.Ref<number>;
set random_strength(v: H.In<number>);
/** Direction of the stroke at which brush gives maximal thickness (0° for horizontal) Range: -1.5707963705062866 to 1.5707963705062866. Default: 0.0. */
get angle(): H.Ref<number>;
set angle(v: H.In<number>);
/** Reduce brush thickness by this factor when stroke is perpendicular to 'Angle' direction Range: 0 to 1. Default: 0.0. */
get angle_factor(): H.Ref<number>;
set angle_factor(v: H.In<number>);
/** Amount of smoothing to apply after finish newly created strokes, to reduce jitter/noise Range: 0 to 2. Default: 0.0. */
get pen_smooth_factor(): H.Ref<number>;
set pen_smooth_factor(v: H.In<number>);
/** Number of times to smooth newly created strokes Range: 0 to 100. Default: 0. */
get pen_smooth_steps(): H.Ref<number>;
set pen_smooth_steps(v: H.In<number>);
/** Number of times to subdivide newly created strokes, for less jagged strokes Range: 0 to 3. Default: 0. */
get pen_subdivision_steps(): H.Ref<number>;
set pen_subdivision_steps(v: H.In<number>);
/** Factor of Simplify using adaptive algorithm Range: 0 to 100. Default: 0.0. */
get simplify_factor(): H.Ref<number>;
set simplify_factor(v: H.In<number>);
/** Threshold in screen space used for the simplify algorithm. Points within this threshold are treated as if they were in a straight line. Range: 0 to 10. Default: 0.0. */
get simplify_pixel_threshold(): H.Ref<number>;
set simplify_pixel_threshold(v: H.In<number>);
/** Curve used for the sensitivity */
get curve_sensitivity(): H.Ptr<R.CurveMapping>;
/** Curve used for the strength */
get curve_strength(): H.Ptr<R.CurveMapping>;
/** Curve used for the jitter effect */
get curve_jitter(): H.Ptr<R.CurveMapping>;
/** Curve used for modulating effect */
get curve_random_pressure(): H.Ptr<R.CurveMapping>;
/** Curve used for modulating effect */
get curve_random_strength(): H.Ptr<R.CurveMapping>;
/** Curve used for modulating effect */
get curve_random_uv(): H.Ptr<R.CurveMapping>;
/** Curve used for modulating effect */
get curve_random_hue(): H.Ptr<R.CurveMapping>;
/** Curve used for modulating effect */
get curve_random_saturation(): H.Ptr<R.CurveMapping>;
/** Curve used for modulating effect */
get curve_random_value(): H.Ptr<R.CurveMapping>;
/** Threshold to consider color transparent for filling Range: 0 to 1. Default: 0.0. */
get fill_threshold(): H.Ref<number>;
set fill_threshold(v: H.In<number>);
/** Factor for fill boundary accuracy, higher values are more accurate but slower Range: 0.05000000074505806 to 8. Default: 0.0. */
get fill_factor(): H.Ref<number>;
set fill_factor(v: H.In<number>);
/** Number of simplify steps (large values reduce fill accuracy) Range: 0 to 10. Default: 0. */
get fill_simplify_level(): H.Ref<number>;
set fill_simplify_level(v: H.In<number>);
/** Random factor for auto-generated UV rotation Range: 0 to 1. Default: 0.0. */
get uv_random(): H.Ref<number>;
set uv_random(v: H.In<number>);
/** Gradient from the center of Dot and Box strokes (set to 1 for a solid stroke) Range: 0.0010000000474974513 to 1. Default: 1.0. */
get hardness(): H.Ref<number>;
set hardness(v: H.In<number>);
/** Aspect Range: 0.009999999776482582 to 1. Default: (0.0, 0.0). */
get aspect(): H.Remote<M.Vector>;
set aspect(v: H.In<M.VectorLike>);
/** Generated intermediate points for very fast mouse movements (Set to 0 to disable) Range: 0 to 10. Default: 0. */
get input_samples(): H.Ref<number>;
set input_samples(v: H.In<number>);
/** Amount of smoothing while drawing Range: 0 to 1. Default: 0.0. */
get active_smooth_factor(): H.Ref<number>;
set active_smooth_factor(v: H.In<number>);
/** Amount of erasing for strength Range: 0 to 100. Default: 0.0. */
get eraser_strength_factor(): H.Ref<number>;
set eraser_strength_factor(v: H.In<number>);
/** Amount of erasing for thickness Range: 0 to 100. Default: 0.0. */
get eraser_thickness_factor(): H.Ref<number>;
set eraser_thickness_factor(v: H.In<number>);
/**
* Defines how vertex color affect to the strokes Default: 'STROKE'.
* - `STROKE`: Stroke (Painting affects only strokes, not fills)
* - `FILL`: Fill (Painting affects only fills, not strokes)
* - `BOTH`: Both (Painting affects both strokes and fills)
*/
get vertex_mode(): H.Ref<"STROKE" | "FILL" | "BOTH">;
set vertex_mode(v: H.In<"STROKE" | "FILL" | "BOTH">);
/** Factor used to mix vertex color to get final color Range: 0 to 1. Default: 0.0. */
get vertex_color_factor(): H.Ref<number>;
set vertex_color_factor(v: H.In<number>);
/** Random factor to modify original hue Range: 0 to 1. Default: 0.0. */
get random_hue_factor(): H.Ref<number>;
set random_hue_factor(v: H.In<number>);
/** Random factor to modify original saturation Range: 0 to 1. Default: 0.0. */
get random_saturation_factor(): H.Ref<number>;
set random_saturation_factor(v: H.In<number>);
/** Random factor to modify original value Range: 0 to 1. Default: 0.0. */
get random_value_factor(): H.Ref<number>;
set random_value_factor(v: H.In<number>);
/** Strokes end extension for closing gaps, use zero to disable Range: 0 to inf. Default: 0.0. */
get extend_stroke_factor(): H.Ref<number>;
set extend_stroke_factor(v: H.In<number>);
/**
* Types of stroke extensions used for closing gaps Default: 'EXTEND'.
* - `EXTEND`: Extend (Extend strokes in straight lines)
* - `RADIUS`: Radius (Connect endpoints that are close together)
*/
get fill_extend_mode(): H.Ref<"EXTEND" | "RADIUS">;
set fill_extend_mode(v: H.In<"EXTEND" | "RADIUS">);
/** Number of pixels to expand or contract fill area Range: -40 to 40. Default: 1. */
get dilate(): H.Ref<number>;
set dilate(v: H.In<number>);
/** Thickness of the outline stroke relative to current brush thickness Range: 0 to 1. Default: 0.0. */
get outline_thickness_factor(): H.Ref<number>;
set outline_thickness_factor(v: H.In<number>);
/** Threshold distance between points for conversion Range: 0 to inf. Default: 0.001. */
get conversion_threshold(): H.Ref<number>;
set conversion_threshold(v: H.In<number>);
/** Use tablet pressure Default: False. */
get use_pressure(): H.Ref<boolean>;
set use_pressure(v: H.In<boolean>);
/** Use tablet pressure for color strength Default: False. */
get use_strength_pressure(): H.Ref<boolean>;
set use_strength_pressure(v: H.In<boolean>);
/** Use tablet pressure for jitter Default: False. */
get use_jitter_pressure(): H.Ref<boolean>;
set use_jitter_pressure(v: H.In<boolean>);
/** Use randomness at stroke level Default: False. */
get use_stroke_random_hue(): H.Ref<boolean>;
set use_stroke_random_hue(v: H.In<boolean>);
/** Use randomness at stroke level Default: False. */
get use_stroke_random_sat(): H.Ref<boolean>;
set use_stroke_random_sat(v: H.In<boolean>);
/** Use randomness at stroke level Default: False. */
get use_stroke_random_val(): H.Ref<boolean>;
set use_stroke_random_val(v: H.In<boolean>);
/** Use randomness at stroke level Default: False. */
get use_stroke_random_radius(): H.Ref<boolean>;
set use_stroke_random_radius(v: H.In<boolean>);
/** Use randomness at stroke level Default: False. */
get use_stroke_random_strength(): H.Ref<boolean>;
set use_stroke_random_strength(v: H.In<boolean>);
/** Use randomness at stroke level Default: False. */
get use_stroke_random_uv(): H.Ref<boolean>;
set use_stroke_random_uv(v: H.In<boolean>);
/** Use pressure to modulate randomness Default: False. */
get use_random_press_hue(): H.Ref<boolean>;
set use_random_press_hue(v: H.In<boolean>);
/** Use pressure to modulate randomness Default: False. */
get use_random_press_sat(): H.Ref<boolean>;
set use_random_press_sat(v: H.In<boolean>);
/** Use pressure to modulate randomness Default: False. */
get use_random_press_val(): H.Ref<boolean>;
set use_random_press_val(v: H.In<boolean>);
/** Use pressure to modulate randomness Default: False. */
get use_random_press_radius(): H.Ref<boolean>;
set use_random_press_radius(v: H.In<boolean>);
/** Use pressure to modulate randomness Default: False. */
get use_random_press_strength(): H.Ref<boolean>;
set use_random_press_strength(v: H.In<boolean>);
/** Use pressure to modulate randomness Default: False. */
get use_random_press_uv(): H.Ref<boolean>;
set use_random_press_uv(v: H.In<boolean>);
/**
* Mode to use when creating strokes Default: 'STROKE'.
* - `STROKE`: Stroke
* - `FILL`: Fill
* - `BOTH`: Both
*/
get stroke_type(): H.Ref<"STROKE" | "FILL" | "BOTH">;
set stroke_type(v: H.In<"STROKE" | "FILL" | "BOTH">);
/** Draw lines with a delay to allow smooth strokes (press Shift key to override while drawing) Default: True. */
get use_settings_stabilizer(): H.Ref<boolean>;
set use_settings_stabilizer(v: H.In<boolean>);
/**
* Eraser Mode Default: 'SOFT'.
* - `SOFT`: Dissolve (Erase strokes, fading their points strength and thickness)
* - `HARD`: Point (Erase stroke points)
* - `STROKE`: Stroke (Erase entire strokes)
*/
get eraser_mode(): H.Ref<"SOFT" | "HARD" | "STROKE">;
set eraser_mode(v: H.In<"SOFT" | "HARD" | "STROKE">);
/**
* The shape of the start and end of the stroke Default: 'ROUND'.
* - `ROUND`: Round
* - `FLAT`: Flat
*/
get caps_type(): H.Ref<"ROUND" | "FLAT">;
set caps_type(v: H.In<"ROUND" | "FLAT">);
/**
* Mode to draw boundary limits Default: 'BOTH'.
* - `BOTH`: All (Use both visible strokes and edit lines as fill boundary limits)
* - `STROKE`: Strokes (Use visible strokes as fill boundary limits)
* - `CONTROL`: Edit Lines (Use edit lines as fill boundary limits)
*/
get fill_draw_mode(): H.Ref<"BOTH" | "STROKE" | "CONTROL">;
set fill_draw_mode(v: H.In<"BOTH" | "STROKE" | "CONTROL">);
/**
* Layers used as boundaries Default: 'VISIBLE'.
* - `VISIBLE`: Visible (Visible layers)
* - `ACTIVE`: Active (Only active layer)
* - `ABOVE`: Layer Above (Layer above active)
* - `BELOW`: Layer Below (Layer below active)
* - `ALL_ABOVE`: All Above (All layers above active)
* - `ALL_BELOW`: All Below (All layers below active)
*/
get fill_layer_mode(): H.Ref<"VISIBLE" | "ACTIVE" | "ABOVE" | "BELOW" | "ALL_ABOVE" | "ALL_BELOW">;
set fill_layer_mode(v: H.In<"VISIBLE" | "ACTIVE" | "ABOVE" | "BELOW" | "ALL_ABOVE" | "ALL_BELOW">);
/**
* Direction of the fill Default: 'NORMAL'.
* - `NORMAL`: Normal (Fill internal area)
* - `INVERT`: Inverted (Fill inverted area)
*/
get fill_direction(): H.Ref<"NORMAL" | "INVERT">;
set fill_direction(v: H.In<"NORMAL" | "INVERT">);
/**
* Method used for when filling Default: 'DELAUNAY'.
* - `DELAUNAY`: Delaunay (Use the exact geometry to create fills)
* - `PIXEL`: Pixel (Use pixel based flooding to create fills)
*/
get fill_solver(): H.Ref<"DELAUNAY" | "PIXEL">;
set fill_solver(v: H.In<"DELAUNAY" | "PIXEL">);
/** The sensitivity of the gap detection. Higher values results in more gaps detected and as such can create smaller fills Range: 0 to 1. Default: 0.0. */
get fill_gap_factor(): H.Ref<number>;
set fill_gap_factor(v: H.In<number>);
/** Pin the mode to the brush Default: False. */
get pin_draw_mode(): H.Ref<boolean>;
set pin_draw_mode(v: H.In<boolean>);
/**
* Preselected mode when using this brush Default: 'ACTIVE'.
* - `ACTIVE`: Active (Use current mode)
* - `MATERIAL`: Material (Use always material mode)
* - `VERTEXCOLOR`: Vertex Color (Use always Vertex Color mode)
*/
get brush_draw_mode(): H.Ref<"ACTIVE" | "MATERIAL" | "VERTEXCOLOR">;
set brush_draw_mode(v: H.In<"ACTIVE" | "MATERIAL" | "VERTEXCOLOR">);
/** Trim intersecting stroke ends Default: False. */
get use_trim(): H.Ref<boolean>;
set use_trim(v: H.In<boolean>);
/** Convert stroke to outline Default: False. */
get use_settings_outline(): H.Ref<boolean>;
set use_settings_outline(v: H.In<boolean>);
/** The brush affects the position of the point Default: False. */
get use_edit_position(): H.Ref<boolean>;
set use_edit_position(v: H.In<boolean>);
/** The brush affects the color strength of the point Default: False. */
get use_edit_strength(): H.Ref<boolean>;
set use_edit_strength(v: H.In<boolean>);
/** The brush affects the thickness of the point Default: False. */
get use_edit_thickness(): H.Ref<boolean>;
set use_edit_thickness(v: H.In<boolean>);
/** The brush affects the UV rotation of the point Default: False. */
get use_edit_uv(): H.Ref<boolean>;
set use_edit_uv(v: H.In<boolean>);
/** Material used for strokes drawn using this brush */
get material(): H.Ptr<R.Material>;
set material(v: R.Material | null);
/** Material used for secondary uses for this brush */
get material_alt(): H.Ptr<R.Material>;
set material_alt(v: R.Material | null);
/** Show help lines for filling to see boundaries Default: True. */
get show_fill_boundary(): H.Ref<boolean>;
set show_fill_boundary(v: H.In<boolean>);
/** Show help lines for stroke extension Default: True. */
get show_fill_extend(): H.Ref<boolean>;
set show_fill_extend(v: H.In<boolean>);
/** Check if extend lines collide with strokes Default: False. */
get use_collide_strokes(): H.Ref<boolean>;
set use_collide_strokes(v: H.In<boolean>);
/** Show transparent lines to use as boundary for filling Default: True. */
get show_fill(): H.Ref<boolean>;
set show_fill(v: H.In<boolean>);
/** Automatically remove fill guide strokes after fill operation Default: True. */
get use_auto_remove_fill_guides(): H.Ref<boolean>;
set use_auto_remove_fill_guides(v: H.In<boolean>);
/** Stop at internal gaps Default: False. */
get fill_internal_gaps(): H.Ref<boolean>;
set fill_internal_gaps(v: H.In<boolean>);
/**
* Type of curves Default: 'CATMULL_ROM'.
* - `CATMULL_ROM`: Catmull Rom
* - `POLY`: Poly
* - `BEZIER`: Bézier
* - `NURBS`: NURBS
*/
get curve_type(): H.Ref<"CATMULL_ROM" | "POLY" | "BEZIER" | "NURBS">;
set curve_type(v: H.In<"CATMULL_ROM" | "POLY" | "BEZIER" | "NURBS">);
/** Fill only visible areas in viewport Default: True. */
get use_fill_limit(): H.Ref<boolean>;
set use_fill_limit(v: H.In<boolean>);
/** Additional post processing options for new strokes Default: False. */
get use_settings_postprocess(): H.Ref<boolean>;
set use_settings_postprocess(v: H.In<boolean>);
/** Random brush settings Default: False. */
get use_settings_random(): H.Ref<boolean>;
set use_settings_random(v: H.In<boolean>);
/** Keep material assigned to brush Default: False. */
get use_material_pin(): H.Ref<boolean>;
set use_material_pin(v: H.In<boolean>);
/** Display fill color while drawing the stroke Default: True. */
get show_lasso(): H.Ref<boolean>;
set show_lasso(v: H.In<boolean>);
/** Erase only strokes visible and not occluded Default: False. */
get use_occlude_eraser(): H.Ref<boolean>;
set use_occlude_eraser(v: H.In<boolean>);
/** Keep the caps as they are and don't flatten them when erasing Default: False. */
get use_keep_caps_eraser(): H.Ref<boolean>;
set use_keep_caps_eraser(v: H.In<boolean>);
/** Only edit the active layer of the object Default: False. */
get use_active_layer_only(): H.Ref<boolean>;
set use_active_layer_only(v: H.In<boolean>);
}
/**
* Texture slot for textures in a Brush data-block
*
* bpy.types.BrushTextureSlot
*/
export interface BrushTextureSlot extends R.TextureSlot {
/** Brush texture rotation Range: 0 to 6.2831854820251465. Default: 0.0. */
get angle(): H.Ref<number>;
set angle(v: H.In<number>);
/**
* Mode Default: 'VIEW_PLANE'.
* - `VIEW_PLANE`: View Plane
* - `AREA_PLANE`: Area Plane
* - `TILED`: Tiled
* - `3D`: 3D
* - `RANDOM`: Random
* - `STENCIL`: Stencil
*/
get map_mode(): H.Ref<"VIEW_PLANE" | "AREA_PLANE" | "TILED" | "3D" | "RANDOM" | "STENCIL" | (string & {})>;
set map_mode(v: H.In<"VIEW_PLANE" | "AREA_PLANE" | "TILED" | "3D" | "RANDOM" | "STENCIL" | (string & {})>);
/**
* Mode Default: 'VIEW_PLANE'.
* - `VIEW_PLANE`: View Plane
* - `TILED`: Tiled
* - `RANDOM`: Random
* - `STENCIL`: Stencil
*/
get mask_map_mode(): H.Ref<"VIEW_PLANE" | "TILED" | "RANDOM" | "STENCIL">;
set mask_map_mode(v: H.In<"VIEW_PLANE" | "TILED" | "RANDOM" | "STENCIL">);
/** Rake Default: False. */
get use_rake(): H.Ref<boolean>;
set use_rake(v: H.In<boolean>);
/** Random Default: False. */
get use_random(): H.Ref<boolean>;
set use_random(v: H.In<boolean>);
/** Brush texture random angle Range: 0 to 6.2831854820251465. Default: 6.28319. */
get random_angle(): H.Ref<number>;
set random_angle(v: H.In<number>);
/** Has Texture Angle Source Default: False. */
get has_texture_angle_source(): H.Ref<boolean>;
/** Has Random Texture Angle Default: False. */
get has_random_texture_angle(): H.Ref<boolean>;
/** Has Texture Angle Source Default: False. */
get has_texture_angle(): H.Ref<boolean>;
}
/**
* Build effect modifier
*
* bpy.types.BuildModifier
*/
export interface BuildModifier extends R.Modifier {
/** Start frame of the effect Range: -1048574 to 1048574. Default: 1.0. */
get frame_start(): H.Ref<number>;
set frame_start(v: H.In<number>);
/** Total time the build effect requires Range: 1 to 1048574. Default: 100.0. */
get frame_duration(): H.Ref<number>;
set frame_duration(v: H.In<number>);
/** Deconstruct the mesh instead of building it Default: False. */
get use_reverse(): H.Ref<boolean>;
set use_reverse(v: H.In<boolean>);
/** Randomize the faces or edges during build Default: False. */
get use_random_order(): H.Ref<boolean>;
set use_random_order(v: H.In<boolean>);
/** Seed for random if used Range: 1 to 1048574. Default: 0. */
get seed(): H.Ref<number>;
set seed(v: H.In<number>);
}
/**
* Geometry attribute that stores RGBA colors as positive integer values using 8-bits per channel
*
* bpy.types.ByteColorAttribute
*/
export interface ByteColorAttribute extends R.Attribute {
readonly data: H.Own<H.Coll<R.ByteColorAttributeValue>>;
}
/**
* Color value in geometry attribute
*
* bpy.types.ByteColorAttributeValue
*/
export interface ByteColorAttributeValue extends R.bpy_struct {
/** RGBA color in scene linear color space Range: 0 to 1. Default: (0.0, 0.0, 0.0, 0.0). */
get color(): H.Arr<number>;
set color(v: H.In<readonly number[]>);
/** RGBA color in sRGB color space Range: 0 to 1. Default: (0.0, 0.0, 0.0, 0.0). */
get color_srgb(): H.Arr<number>;
set color_srgb(v: H.In<readonly number[]>);
}
/**
* Geometry attribute that stores 8-bit integers
*
* bpy.types.ByteIntAttribute
*/
export interface ByteIntAttribute extends R.Attribute {
readonly data: H.Own<H.Coll<R.ByteIntAttributeValue>>;
}
/**
* 8-bit value in geometry attribute
*
* bpy.types.ByteIntAttributeValue
*/
export interface ByteIntAttributeValue extends R.bpy_struct {
/** Range: -128 to 127. Default: 0. */
get value(): H.Ref<number>;
set value(v: H.In<number>);
}