Skip to content

armgit / raea

Public Imported from GitHub
0

Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.

51.6 KB
Raw Blame
// Generated by tools/gen.sh from Blender's own API (tools/dump.py). Don't edit: regenerate.
import type * as H from "../../types";
import type * as M from "../../mathutils";
import type * as R from "../rna";
import type * as E from "../enums";
import type * as P from "../py";

/** bpy.types.DATA_UL_bone_collections */
export interface DATA_UL_bone_collections extends R.UIList {

}

/**
 * Point toward target by taking the shortest rotation path
 *
 * bpy.types.DampedTrackConstraint
 */
export interface DampedTrackConstraint extends R.Constraint {
  /** Target along length of bone: Head is 0, Tail is 1 Range: 0 to 1. Default: 0.0. */
  get head_tail(): H.Ref<number>;
  set head_tail(v: H.In<number>);
  /** Follow shape of B-Bone segments when calculating Head/Tail position Default: False. */
  get use_bbone_shape(): H.Ref<boolean>;
  set use_bbone_shape(v: H.In<boolean>);
  /** Target object */
  get target(): H.Ptr<R.Object>;
  set target(v: R.Object | null);
  /** Armature bone, mesh or lattice vertex group, ... Default: "". */
  get subtarget(): H.Ref<string>;
  set subtarget(v: H.In<string>);
  /**
   * Axis that points to the target object Default: 'TRACK_X'.
   * - `TRACK_X`: X
   * - `TRACK_Y`: Y
   * - `TRACK_Z`: Z
   * - `TRACK_NEGATIVE_X`: -X
   * - `TRACK_NEGATIVE_Y`: -Y
   * - `TRACK_NEGATIVE_Z`: -Z
   */
  get track_axis(): H.Ref<"TRACK_X" | "TRACK_Y" | "TRACK_Z" | "TRACK_NEGATIVE_X" | "TRACK_NEGATIVE_Y" | "TRACK_NEGATIVE_Z">;
  set track_axis(v: H.In<"TRACK_X" | "TRACK_Y" | "TRACK_Z" | "TRACK_NEGATIVE_X" | "TRACK_NEGATIVE_Y" | "TRACK_NEGATIVE_Z">);
}

/**
 * Modifier transferring some data from a source mesh
 *
 * bpy.types.DataTransferModifier
 */
export interface DataTransferModifier extends R.Modifier {
  /** Object to transfer data from */
  get object(): H.Ptr<R.Object>;
  set object(v: R.Object | null);
  /** Evaluate source and destination meshes in global space Default: True. */
  get use_object_transform(): H.Ref<boolean>;
  set use_object_transform(v: H.In<boolean>);
  /** Enable vertex data transfer Default: False. */
  get use_vert_data(): H.Ref<boolean>;
  set use_vert_data(v: H.In<boolean>);
  /** Enable edge data transfer Default: False. */
  get use_edge_data(): H.Ref<boolean>;
  set use_edge_data(v: H.In<boolean>);
  /** Enable face corner data transfer Default: False. */
  get use_loop_data(): H.Ref<boolean>;
  set use_loop_data(v: H.In<boolean>);
  /** Enable face data transfer Default: False. */
  get use_poly_data(): H.Ref<boolean>;
  set use_poly_data(v: H.In<boolean>);
  /**
   * Which vertex data layers to transfer Default: set().
   * - `VGROUP_WEIGHTS`: Vertex Groups (Transfer active or all vertex groups)
   * - `BEVEL_WEIGHT_VERT`: Bevel Weight (Transfer bevel weights)
   * - `COLOR_VERTEX`: Colors (Transfer color attributes)
   */
  get data_types_verts(): H.Ref<Set<"VGROUP_WEIGHTS" | "BEVEL_WEIGHT_VERT" | "COLOR_VERTEX">>;
  set data_types_verts(v: H.In<Set<"VGROUP_WEIGHTS" | "BEVEL_WEIGHT_VERT" | "COLOR_VERTEX">>);
  /**
   * Which edge data layers to transfer Default: set().
   * - `SHARP_EDGE`: Sharp (Transfer sharp mark)
   * - `SEAM`: UV Seam (Transfer UV seam mark)
   * - `CREASE`: Crease (Transfer subdivision crease values)
   * - `BEVEL_WEIGHT_EDGE`: Bevel Weight (Transfer bevel weights)
   * - `FREESTYLE_EDGE`: Freestyle (Transfer Freestyle edge mark)
   */
  get data_types_edges(): H.Ref<Set<"SHARP_EDGE" | "SEAM" | "CREASE" | "BEVEL_WEIGHT_EDGE" | "FREESTYLE_EDGE">>;
  set data_types_edges(v: H.In<Set<"SHARP_EDGE" | "SEAM" | "CREASE" | "BEVEL_WEIGHT_EDGE" | "FREESTYLE_EDGE">>);
  /**
   * Which face corner data layers to transfer Default: set().
   * - `CUSTOM_NORMAL`: Custom Normals (Transfer custom normals)
   * - `COLOR_CORNER`: Colors (Transfer color attributes)
   * - `UV`: UVs (Transfer UV layers)
   */
  get data_types_loops(): H.Ref<Set<"CUSTOM_NORMAL" | "COLOR_CORNER" | "UV">>;
  set data_types_loops(v: H.In<Set<"CUSTOM_NORMAL" | "COLOR_CORNER" | "UV">>);
  /**
   * Which face data layers to transfer Default: set().
   * - `SMOOTH`: Smooth (Transfer flat/smooth mark)
   * - `FREESTYLE_FACE`: Freestyle Mark (Transfer Freestyle face mark)
   */
  get data_types_polys(): H.Ref<Set<"SMOOTH" | "FREESTYLE_FACE">>;
  set data_types_polys(v: H.In<Set<"SMOOTH" | "FREESTYLE_FACE">>);
  /** Method used to map source vertices to destination ones Default: 'NEAREST'. */
  get vert_mapping(): H.Ref<E.DataTransferModifierVertMapping>;
  set vert_mapping(v: H.In<E.DataTransferModifierVertMapping>);
  /**
   * Method used to map source edges to destination ones Default: 'NEAREST'.
   * - `TOPOLOGY`: Topology (Copy from identical topology meshes)
   * - `VERT_NEAREST`: Nearest Vertices (Copy from most similar edge (edge which vertices are the closest of destination edge's ones))
   * - `NEAREST`: Nearest Edge (Copy from closest edge (using midpoints))
   * - `POLY_NEAREST`: Nearest Face Edge (Copy from closest edge of closest face (using midpoints))
   * - `EDGEINTERP_VNORPROJ`: Projected Edge Interpolated (Interpolate all source edges hit by the projection of destination one along its own normal (from vertices))
   */
  get edge_mapping(): H.Ref<"TOPOLOGY" | "VERT_NEAREST" | "NEAREST" | "POLY_NEAREST" | "EDGEINTERP_VNORPROJ">;
  set edge_mapping(v: H.In<"TOPOLOGY" | "VERT_NEAREST" | "NEAREST" | "POLY_NEAREST" | "EDGEINTERP_VNORPROJ">);
  /**
   * Method used to map source faces' corners to destination ones Default: 'NEAREST_POLYNOR'.
   * - `TOPOLOGY`: Topology (Copy from identical topology meshes)
   * - `NEAREST_NORMAL`: Nearest Corner and Best Matching Normal (Copy from nearest corner which has the best matching normal)
   * - `NEAREST_POLYNOR`: Nearest Corner and Best Matching Face Normal (Copy from nearest corner which has the face with the best matching normal to destination corner's face one)
   * - `NEAREST_POLY`: Nearest Corner of Nearest Face (Copy from nearest corner of nearest face)
   * - `POLYINTERP_NEAREST`: Nearest Face Interpolated (Copy from interpolated corners of the nearest source face)
   * - `POLYINTERP_LNORPROJ`: Projected Face Interpolated (Copy from interpolated corners of the source face hit by corner normal projection)
   */
  get loop_mapping(): H.Ref<"TOPOLOGY" | "NEAREST_NORMAL" | "NEAREST_POLYNOR" | "NEAREST_POLY" | "POLYINTERP_NEAREST" | "POLYINTERP_LNORPROJ">;
  set loop_mapping(v: H.In<"TOPOLOGY" | "NEAREST_NORMAL" | "NEAREST_POLYNOR" | "NEAREST_POLY" | "POLYINTERP_NEAREST" | "POLYINTERP_LNORPROJ">);
  /**
   * Method used to map source faces to destination ones Default: 'NEAREST'.
   * - `TOPOLOGY`: Topology (Copy from identical topology meshes)
   * - `NEAREST`: Nearest Face (Copy from nearest face (using center points))
   * - `NORMAL`: Best Normal-Matching (Copy from source face which normal is the closest to destination one)
   * - `POLYINTERP_PNORPROJ`: Projected Face Interpolated (Interpolate all source polygons intersected by the projection of destination one along its own normal)
   */
  get poly_mapping(): H.Ref<"TOPOLOGY" | "NEAREST" | "NORMAL" | "POLYINTERP_PNORPROJ">;
  set poly_mapping(v: H.In<"TOPOLOGY" | "NEAREST" | "NORMAL" | "POLYINTERP_PNORPROJ">);
  /** Source elements must be closer than given distance from destination one Default: False. */
  get use_max_distance(): H.Ref<boolean>;
  set use_max_distance(v: H.In<boolean>);
  /** Maximum allowed distance between source and destination element, for non-topology mappings Range: 0 to inf. Default: 1.0. */
  get max_distance(): H.Ref<number>;
  set max_distance(v: H.In<number>);
  /** 'Width' of rays (especially useful when raycasting against vertices or edges) Range: 0 to inf. Default: 0.0. */
  get ray_radius(): H.Ref<number>;
  set ray_radius(v: H.In<number>);
  /** Factor controlling precision of islands handling (typically, 0.1 should be enough, higher values can make things really slow) Range: 0 to 1. Default: 0.0. */
  get islands_precision(): H.Ref<number>;
  set islands_precision(v: H.In<number>);
  /**
   * Which layers to transfer, in case of multi-layers types Default: 'ALL'.
   * - `ACTIVE`: Active Layer (Only transfer active data layer)
   * - `ALL`: All Layers (Transfer all data layers)
   * - `BONE_SELECT`: Selected Pose Bones (Transfer all vertex groups used by selected pose bones)
   * - `BONE_DEFORM`: Deform Pose Bones (Transfer all vertex groups used by deform bones)
   */
  get layers_vgroup_select_src(): H.Ref<"ACTIVE" | "ALL" | "BONE_SELECT" | "BONE_DEFORM" | (string & {})>;
  set layers_vgroup_select_src(v: H.In<"ACTIVE" | "ALL" | "BONE_SELECT" | "BONE_DEFORM" | (string & {})>);
  /**
   * Which layers to transfer, in case of multi-layers types Default: 'ALL'.
   * - `ACTIVE`: Active Layer (Only transfer active data layer)
   * - `ALL`: All Layers (Transfer all data layers)
   * - `BONE_SELECT`: Selected Pose Bones (Transfer all vertex groups used by selected pose bones)
   * - `BONE_DEFORM`: Deform Pose Bones (Transfer all vertex groups used by deform bones)
   */
  get layers_vcol_vert_select_src(): H.Ref<"ACTIVE" | "ALL" | "BONE_SELECT" | "BONE_DEFORM" | (string & {})>;
  set layers_vcol_vert_select_src(v: H.In<"ACTIVE" | "ALL" | "BONE_SELECT" | "BONE_DEFORM" | (string & {})>);
  /**
   * Which layers to transfer, in case of multi-layers types Default: 'ALL'.
   * - `ACTIVE`: Active Layer (Only transfer active data layer)
   * - `ALL`: All Layers (Transfer all data layers)
   * - `BONE_SELECT`: Selected Pose Bones (Transfer all vertex groups used by selected pose bones)
   * - `BONE_DEFORM`: Deform Pose Bones (Transfer all vertex groups used by deform bones)
   */
  get layers_vcol_loop_select_src(): H.Ref<"ACTIVE" | "ALL" | "BONE_SELECT" | "BONE_DEFORM" | (string & {})>;
  set layers_vcol_loop_select_src(v: H.In<"ACTIVE" | "ALL" | "BONE_SELECT" | "BONE_DEFORM" | (string & {})>);
  /**
   * Which layers to transfer, in case of multi-layers types Default: 'ALL'.
   * - `ACTIVE`: Active Layer (Only transfer active data layer)
   * - `ALL`: All Layers (Transfer all data layers)
   * - `BONE_SELECT`: Selected Pose Bones (Transfer all vertex groups used by selected pose bones)
   * - `BONE_DEFORM`: Deform Pose Bones (Transfer all vertex groups used by deform bones)
   */
  get layers_uv_select_src(): H.Ref<"ACTIVE" | "ALL" | "BONE_SELECT" | "BONE_DEFORM" | (string & {})>;
  set layers_uv_select_src(v: H.In<"ACTIVE" | "ALL" | "BONE_SELECT" | "BONE_DEFORM" | (string & {})>);
  /**
   * How to match source and destination layers Default: 'NAME'.
   * - `ACTIVE`: Active Layer (Affect active data layer of all targets)
   * - `NAME`: By Name (Match target data layers to affect by name)
   * - `INDEX`: By Order (Match target data layers to affect by order (indices))
   */
  get layers_vgroup_select_dst(): H.Ref<"ACTIVE" | "NAME" | "INDEX" | (string & {})>;
  set layers_vgroup_select_dst(v: H.In<"ACTIVE" | "NAME" | "INDEX" | (string & {})>);
  /**
   * How to match source and destination layers Default: 'NAME'.
   * - `ACTIVE`: Active Layer (Affect active data layer of all targets)
   * - `NAME`: By Name (Match target data layers to affect by name)
   * - `INDEX`: By Order (Match target data layers to affect by order (indices))
   */
  get layers_vcol_vert_select_dst(): H.Ref<"ACTIVE" | "NAME" | "INDEX" | (string & {})>;
  set layers_vcol_vert_select_dst(v: H.In<"ACTIVE" | "NAME" | "INDEX" | (string & {})>);
  /**
   * How to match source and destination layers Default: 'NAME'.
   * - `ACTIVE`: Active Layer (Affect active data layer of all targets)
   * - `NAME`: By Name (Match target data layers to affect by name)
   * - `INDEX`: By Order (Match target data layers to affect by order (indices))
   */
  get layers_vcol_loop_select_dst(): H.Ref<"ACTIVE" | "NAME" | "INDEX" | (string & {})>;
  set layers_vcol_loop_select_dst(v: H.In<"ACTIVE" | "NAME" | "INDEX" | (string & {})>);
  /**
   * How to match source and destination layers Default: 'NAME'.
   * - `ACTIVE`: Active Layer (Affect active data layer of all targets)
   * - `NAME`: By Name (Match target data layers to affect by name)
   * - `INDEX`: By Order (Match target data layers to affect by order (indices))
   */
  get layers_uv_select_dst(): H.Ref<"ACTIVE" | "NAME" | "INDEX" | (string & {})>;
  set layers_uv_select_dst(v: H.In<"ACTIVE" | "NAME" | "INDEX" | (string & {})>);
  /** How to affect destination elements with source values Default: 'REPLACE'. */
  get mix_mode(): H.Ref<E.DataTransferModifierMixMode | (string & {})>;
  set mix_mode(v: H.In<E.DataTransferModifierMixMode | (string & {})>);
  /** Factor to use when applying data to destination (exact behavior depends on mix mode, multiplied with weights from vertex group when defined) Range: 0 to 1. Default: 0.0. */
  get mix_factor(): H.Ref<number>;
  set mix_factor(v: H.In<number>);
  /** Vertex group name for selecting the affected areas Default: "". */
  get vertex_group(): H.Ref<string>;
  set vertex_group(v: H.In<string>);
  /** Invert vertex group influence Default: False. */
  get invert_vertex_group(): H.Ref<boolean>;
  set invert_vertex_group(v: H.In<boolean>);
}

/**
 * Decimation modifier
 *
 * bpy.types.DecimateModifier
 */
export interface DecimateModifier extends R.Modifier {
  /**
   * Mode Default: 'COLLAPSE'.
   * - `COLLAPSE`: Collapse (Use edge collapsing)
   * - `UNSUBDIV`: Un-Subdivide (Use un-subdivide face reduction)
   * - `DISSOLVE`: Planar (Dissolve geometry to form planar polygons)
   */
  get decimate_type(): H.Ref<"COLLAPSE" | "UNSUBDIV" | "DISSOLVE">;
  set decimate_type(v: H.In<"COLLAPSE" | "UNSUBDIV" | "DISSOLVE">);
  /** Ratio of triangles to reduce to (collapse only) Range: 0 to 1. Default: 1.0. */
  get ratio(): H.Ref<number>;
  set ratio(v: H.In<number>);
  /** Number of times reduce the geometry (unsubdivide only) Range: 0 to 32767. Default: 0. */
  get iterations(): H.Ref<number>;
  set iterations(v: H.In<number>);
  /** Only dissolve angles below this (planar only) Range: 0 to 3.1415927410125732. Default: 0.0872665. */
  get angle_limit(): H.Ref<number>;
  set angle_limit(v: H.In<number>);
  /** Vertex group name (collapse only) Default: "". */
  get vertex_group(): H.Ref<string>;
  set vertex_group(v: H.In<string>);
  /** Invert vertex group influence (collapse only) Default: False. */
  get invert_vertex_group(): H.Ref<boolean>;
  set invert_vertex_group(v: H.In<boolean>);
  /** Keep triangulated faces resulting from decimation (collapse only) Default: False. */
  get use_collapse_triangulate(): H.Ref<boolean>;
  set use_collapse_triangulate(v: H.In<boolean>);
  /** Maintain symmetry on an axis Default: False. */
  get use_symmetry(): H.Ref<boolean>;
  set use_symmetry(v: H.In<boolean>);
  /**
   * Axis of symmetry Default: 'X'.
   * - `X`: X
   * - `Y`: Y
   * - `Z`: Z
   */
  get symmetry_axis(): H.Ref<"X" | "Y" | "Z">;
  set symmetry_axis(v: H.In<"X" | "Y" | "Z">);
  /** Vertex group strength Range: 0 to 1000. Default: 1.0. */
  get vertex_group_factor(): H.Ref<number>;
  set vertex_group_factor(v: H.In<number>);
  /** Dissolve all vertices in between face boundaries (planar only) Default: False. */
  get use_dissolve_boundaries(): H.Ref<boolean>;
  set use_dissolve_boundaries(v: H.In<boolean>);
  /**
   * Limit merging geometry Default: set().
   * - `NORMAL`: Normal (Delimit by face directions)
   * - `MATERIAL`: Material (Delimit by face material)
   * - `SEAM`: Seam (Delimit by edge seams)
   * - `SHARP`: Sharp (Delimit by sharp edges)
   * - `UV`: UVs (Delimit by UV coordinates)
   */
  get delimit(): H.Ref<Set<"NORMAL" | "MATERIAL" | "SEAM" | "SHARP" | "UV">>;
  set delimit(v: H.In<Set<"NORMAL" | "MATERIAL" | "SEAM" | "SHARP" | "UV">>);
  /** The current number of faces in the decimated mesh Range: -2147483648 to 2147483647. Default: 0. */
  get face_count(): H.Ref<number>;
}

/** bpy.types.Depsgraph */
export interface Depsgraph extends R.bpy_struct {
  /**
   * Evaluation mode Default: 'VIEWPORT'.
   * - `VIEWPORT`: Viewport (Viewport non-rendered mode)
   * - `RENDER`: Render (Render)
   */
  get mode(): H.Ref<"VIEWPORT" | "RENDER">;
  /** Original scene dependency graph is built for */
  get scene(): H.Ptr<R.Scene>;
  /** Original view layer dependency graph is built for */
  get view_layer(): H.Ptr<R.ViewLayer>;
  /** Scene at its evaluated state */
  get scene_eval(): H.Ptr<R.Scene>;
  /** View layer at its evaluated state */
  get view_layer_eval(): H.Ptr<R.ViewLayer>;
  /** All evaluated data-blocks */
  readonly ids: H.Own<H.Coll<R.ID>>;
  /** Evaluated objects in the dependency graph */
  readonly objects: H.Own<H.Coll<R.Object>>;
  /** All object instances to display or render (Warning: Only use this as an iterator, never as a sequence, and do not keep any references to its items) */
  readonly object_instances: H.Own<H.Coll<R.DepsgraphObjectInstance>>;
  /** Updates to data-blocks */
  readonly updates: H.Own<H.Coll<R.DepsgraphUpdate>>;
  /**
   * debug_relations_graphviz
   * @param filepath Optional output path for the graphviz debug file
   */
  debug_relations_graphviz(filepath?: H.In<string>): H.Ref<string>;
  /**
   * debug_relations_graphviz
   * @param filepath Optional output path for the graphviz debug file
   */
  debug_relations_graphviz(kw: {
    /** Optional output path for the graphviz debug file */
    filepath?: H.In<string>;
  }): H.Ref<string>;
  /**
   * debug_stats_gnuplot
   * @param filepath Output path for the gnuplot debug file
   * @param output_filepath File name where gnuplot script will save the result
   */
  debug_stats_gnuplot(filepath: H.In<string>, output_filepath: H.In<string>): H.Ref<void>;
  /**
   * debug_stats_gnuplot
   * @param filepath Output path for the gnuplot debug file
   * @param output_filepath File name where gnuplot script will save the result
   */
  debug_stats_gnuplot(kw: {
    /** Output path for the gnuplot debug file */
    filepath: H.In<string>;
    /** File name where gnuplot script will save the result */
    output_filepath: H.In<string>;
  }): H.Ref<void>;
  /** debug_tag_update */
  debug_tag_update(): H.Ref<void>;
  /** Report the number of elements in the Dependency Graph */
  debug_stats(): H.Ref<string>;
  /** Re-evaluate any modified data-blocks, for example for animation or modifiers. This invalidates all references to evaluated data-blocks from this dependency graph. */
  update(): H.Ref<void>;
  /**
   * id_eval_get
   * @param id Original ID to get evaluated complementary part for
   */
  id_eval_get(id: R.ID): H.Ptr<R.ID>;
  /**
   * id_eval_get
   * @param id Original ID to get evaluated complementary part for
   */
  id_eval_get(kw: {
    /** Original ID to get evaluated complementary part for */
    id: R.ID;
  }): H.Ptr<R.ID>;
  /** id_type_updated */
  id_type_updated(id_type: H.In<E.ActionSlotsIdType>): H.Ref<boolean>;
  /** id_type_updated */
  id_type_updated(kw: { id_type: H.In<E.ActionSlotsIdType> }): H.Ref<boolean>;
}

/**
 * Extended information about dependency graph object iterator (Warning: All data here is 'evaluated' one, not original .blend IDs)
 *
 * bpy.types.DepsgraphObjectInstance
 */
export interface DepsgraphObjectInstance extends R.bpy_struct {
  /** Evaluated object the iterator points to */
  get object(): H.Ptr<R.Object>;
  /** The object geometry itself should be visible in the render Default: False. */
  get show_self(): H.Ref<boolean>;
  /** Particles part of the object should be visible in the render Default: False. */
  get show_particles(): H.Ref<boolean>;
  /** Denotes if the object is generated by another object Default: False. */
  get is_instance(): H.Ref<boolean>;
  /** Evaluated object which is being instanced by this iterator */
  get instance_object(): H.Ptr<R.Object>;
  /** If the object is an instance, the parent object that generated it */
  get parent(): H.Ptr<R.Object>;
  /** Evaluated particle system that this object was instanced from */
  get particle_system(): H.Ptr<R.ParticleSystem>;
  /** Persistent identifier for inter-frame matching of objects with motion blur Range: -2147483648 to 2147483647. Default: (0, 0, 0, 0, 0, 0, 0, 0). */
  get persistent_id(): H.Arr<number>;
  /** Random id for this instance, typically for randomized shading Range: 0 to 2147483647. Default: 0. */
  get random_id(): H.Ref<number>;
  /** Generated transform matrix in world space 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_world(): H.Remote<M.Matrix>;
  /** Generated coordinates in parent object space Default: (0.0, 0.0, 0.0). */
  get orco(): H.Remote<M.Vector>;
  /** UV coordinates in parent object space Default: (0.0, 0.0). */
  get uv(): H.Arr<number>;
}

/**
 * Information about ID that was updated
 *
 * bpy.types.DepsgraphUpdate
 */
export interface DepsgraphUpdate extends R.bpy_struct {
  /** Updated data-block */
  get id(): H.Ptr<R.ID>;
  /** Object transformation is updated Default: False. */
  get is_updated_transform(): H.Ref<boolean>;
  /** Object geometry is updated Default: False. */
  get is_updated_geometry(): H.Ref<boolean>;
  /** Object shading is updated Default: False. */
  get is_updated_shading(): H.Ref<boolean>;
}

/**
 * Displacement modifier
 *
 * bpy.types.DisplaceModifier
 */
export interface DisplaceModifier extends R.Modifier {
  /** Name of Vertex Group which determines influence of modifier per point Default: "". */
  get vertex_group(): H.Ref<string>;
  set vertex_group(v: H.In<string>);
  /** Material value that gives no displacement Default: 0.5. */
  get mid_level(): H.Ref<number>;
  set mid_level(v: H.In<number>);
  /** Amount to displace geometry Default: 1.0. */
  get strength(): H.Ref<number>;
  set strength(v: H.In<number>);
  /**
   * Direction Default: 'NORMAL'.
   * - `X`: X (Use the texture's intensity value to displace in the X direction)
   * - `Y`: Y (Use the texture's intensity value to displace in the Y direction)
   * - `Z`: Z (Use the texture's intensity value to displace in the Z direction)
   * - `NORMAL`: Normal (Use the texture's intensity value to displace along the vertex normal)
   * - `CUSTOM_NORMAL`: Custom Normal (Use the texture's intensity value to displace along the (averaged) custom normal (falls back to vertex))
   * - `RGB_TO_XYZ`: RGB to XYZ (Use the texture's RGB values to displace the mesh in the XYZ direction)
   */
  get direction(): H.Ref<"X" | "Y" | "Z" | "NORMAL" | "CUSTOM_NORMAL" | "RGB_TO_XYZ">;
  set direction(v: H.In<"X" | "Y" | "Z" | "NORMAL" | "CUSTOM_NORMAL" | "RGB_TO_XYZ">);
  /**
   * Space Default: 'LOCAL'.
   * - `LOCAL`: Local (Direction is defined in local coordinates)
   * - `GLOBAL`: Global (Direction is defined in global coordinates)
   */
  get space(): H.Ref<"LOCAL" | "GLOBAL">;
  set space(v: H.In<"LOCAL" | "GLOBAL">);
  /** Invert vertex group influence Default: False. */
  get invert_vertex_group(): H.Ref<boolean>;
  set invert_vertex_group(v: H.In<boolean>);
  /** Texture */
  get texture(): H.Ptr<R.Texture>;
  set texture(v: R.Texture | null);
  /**
   * Texture Coordinates Default: 'LOCAL'.
   * - `LOCAL`: Local (Use the local coordinate system for the texture coordinates)
   * - `GLOBAL`: Global (Use the global coordinate system for the texture coordinates)
   * - `OBJECT`: Object (Use the linked object's local coordinate system for the texture coordinates)
   * - `UV`: UV (Use UV coordinates for the texture coordinates)
   */
  get texture_coords(): H.Ref<"LOCAL" | "GLOBAL" | "OBJECT" | "UV">;
  set texture_coords(v: H.In<"LOCAL" | "GLOBAL" | "OBJECT" | "UV">);
  /** UV map name Default: "". */
  get uv_layer(): H.Ref<string>;
  set uv_layer(v: H.In<string>);
  /** Object to set the texture coordinates */
  get texture_coords_object(): H.Ptr<R.Object>;
  set texture_coords_object(v: R.Object | null);
  /** Bone to set the texture coordinates Default: "". */
  get texture_coords_bone(): H.Ref<string>;
  set texture_coords_bone(v: H.In<string>);
}

/**
 * Safe areas used in 3D view and the sequencer
 *
 * bpy.types.DisplaySafeAreas
 */
export interface DisplaySafeAreas extends R.bpy_struct {
  /** Safe area for text and graphics Range: 0 to 1. Default: (0.1, 0.05). */
  get title(): H.Remote<M.Vector>;
  set title(v: H.In<M.VectorLike>);
  /** Safe area for general elements Range: 0 to 1. Default: (0.035, 0.035). */
  get action(): H.Remote<M.Vector>;
  set action(v: H.In<M.VectorLike>);
  /** Safe area for text and graphics in a different aspect ratio Range: 0 to 1. Default: (0.175, 0.05). */
  get title_center(): H.Remote<M.Vector>;
  set title_center(v: H.In<M.VectorLike>);
  /** Safe area for general elements in a different aspect ratio Range: 0 to 1. Default: (0.15, 0.05). */
  get action_center(): H.Remote<M.Vector>;
  set action_center(v: H.In<M.VectorLike>);
}

/**
 * Procedural distorted noise texture
 *
 * bpy.types.DistortedNoiseTexture
 */
export interface DistortedNoiseTexture extends R.Texture {
  /** Amount of distortion Range: 0 to 10. Default: 1.0. */
  get distortion(): H.Ref<number>;
  set distortion(v: H.In<number>);
  /** Scaling for noise input Range: 0.00009999999747378752 to inf. Default: 0.25. */
  get noise_scale(): H.Ref<number>;
  set noise_scale(v: H.In<number>);
  /** Noise basis used for turbulence Default: 'BLENDER_ORIGINAL'. */
  get noise_basis(): H.Ref<E.CloudsTextureNoiseBasis>;
  set noise_basis(v: H.In<E.CloudsTextureNoiseBasis>);
  /** Noise basis for the distortion Default: 'BLENDER_ORIGINAL'. */
  get noise_distortion(): H.Ref<E.CloudsTextureNoiseBasis>;
  set noise_distortion(v: H.In<E.CloudsTextureNoiseBasis>);
  /** Size of derivative offset used for calculating normal Range: 0.0010000000474974513 to 0.10000000149011612. Default: 0.025. */
  get nabla(): H.Ref<number>;
  set nabla(v: H.In<number>);
}

/**
 * Settings for filtering the channels shown in animation editors
 *
 * bpy.types.DopeSheet
 */
export interface DopeSheet extends R.bpy_struct {
  /** ID-Block representing source data, usually ID_SCE (i.e. Scene) */
  get source(): H.Ptr<R.ID>;
  /** Show options for whether channels related to certain types of data are included Default: False. */
  get show_datablock_filters(): H.Ref<boolean>;
  set show_datablock_filters(v: H.In<boolean>);
  /** Only include channels relating to selected objects and data Default: False. */
  get show_only_selected(): H.Ref<boolean>;
  set show_only_selected(v: H.In<boolean>);
  /** Only show the slot of the active Object. Otherwise show all the Action's Slots Default: False. */
  get show_only_slot_of_active_object(): H.Ref<boolean>;
  set show_only_slot_of_active_object(v: H.In<boolean>);
  /** Include channels from objects/bone that are not visible Default: False. */
  get show_hidden(): H.Ref<boolean>;
  set show_hidden(v: H.In<boolean>);
  /** Alphabetically sorts data-blocks - mainly objects in the scene (disable to increase viewport speed) Default: True. */
  get use_datablock_sort(): H.Ref<boolean>;
  set use_datablock_sort(v: H.In<boolean>);
  /** Invert filter search Default: False. */
  get use_filter_invert(): H.Ref<boolean>;
  set use_filter_invert(v: H.In<boolean>);
  /** Only include F-Curves and drivers that are disabled or have errors Default: False. */
  get show_only_errors(): H.Ref<boolean>;
  set show_only_errors(v: H.In<boolean>);
  /** Collection that included object should be a member of */
  get filter_collection(): H.Ptr<R.Collection>;
  set filter_collection(v: R.Collection | null);
  /** F-Curve live filtering string Default: "". */
  get filter_fcurve_name(): H.Ref<string>;
  set filter_fcurve_name(v: H.In<string>);
  /** Live filtering string Default: "". */
  get filter_text(): H.Ref<string>;
  set filter_text(v: H.In<string>);
  /**
   * Perform fuzzy/multi-word matching.
   * Warning: May be slow Default: False.
   */
  get use_multi_word_filter(): H.Ref<boolean>;
  set use_multi_word_filter(v: H.In<boolean>);
  /** Include animation data-blocks with no NLA data (NLA editor only) Default: True. */
  get show_missing_nla(): H.Ref<boolean>;
  set show_missing_nla(v: H.In<boolean>);
  /** Display an additional 'summary' line (Dope Sheet editors only) Default: False. */
  get show_summary(): H.Ref<boolean>;
  set show_summary(v: H.In<boolean>);
  /** Collapse summary when shown, so all other channels get hidden (Dope Sheet editors only) Default: True. */
  get show_expanded_summary(): H.Ref<boolean>;
  set show_expanded_summary(v: H.In<boolean>);
  /** Include visualization of object-level animation data (mostly transforms) Default: True. */
  get show_transforms(): H.Ref<boolean>;
  set show_transforms(v: H.In<boolean>);
  /** Include visualization of shape key related animation data Default: True. */
  get show_shapekeys(): H.Ref<boolean>;
  set show_shapekeys(v: H.In<boolean>);
  /** Include visualization of animation data related to data-blocks linked to modifiers Default: True. */
  get show_modifiers(): H.Ref<boolean>;
  set show_modifiers(v: H.In<boolean>);
  /** Include visualization of mesh related animation data Default: True. */
  get show_meshes(): H.Ref<boolean>;
  set show_meshes(v: H.In<boolean>);
  /** Include visualization of lattice related animation data Default: True. */
  get show_lattices(): H.Ref<boolean>;
  set show_lattices(v: H.In<boolean>);
  /** Include visualization of camera related animation data Default: True. */
  get show_cameras(): H.Ref<boolean>;
  set show_cameras(v: H.In<boolean>);
  /** Include visualization of material related animation data Default: True. */
  get show_materials(): H.Ref<boolean>;
  set show_materials(v: H.In<boolean>);
  /** Include visualization of light related animation data Default: True. */
  get show_lights(): H.Ref<boolean>;
  set show_lights(v: H.In<boolean>);
  /** Include visualization of Line Style related Animation data Default: True. */
  get show_linestyles(): H.Ref<boolean>;
  set show_linestyles(v: H.In<boolean>);
  /** Include visualization of texture related animation data Default: True. */
  get show_textures(): H.Ref<boolean>;
  set show_textures(v: H.In<boolean>);
  /** Include visualization of curve related animation data Default: True. */
  get show_curves(): H.Ref<boolean>;
  set show_curves(v: H.In<boolean>);
  /** Include visualization of world related animation data Default: True. */
  get show_worlds(): H.Ref<boolean>;
  set show_worlds(v: H.In<boolean>);
  /** Include visualization of scene related animation data Default: True. */
  get show_scenes(): H.Ref<boolean>;
  set show_scenes(v: H.In<boolean>);
  /** Include visualization of particle related animation data Default: True. */
  get show_particles(): H.Ref<boolean>;
  set show_particles(v: H.In<boolean>);
  /** Include visualization of metaball related animation data Default: True. */
  get show_metaballs(): H.Ref<boolean>;
  set show_metaballs(v: H.In<boolean>);
  /** Include visualization of armature related animation data Default: True. */
  get show_armatures(): H.Ref<boolean>;
  set show_armatures(v: H.In<boolean>);
  /** Include visualization of node related animation data Default: True. */
  get show_nodes(): H.Ref<boolean>;
  set show_nodes(v: H.In<boolean>);
  /** Include visualization of speaker related animation data Default: True. */
  get show_speakers(): H.Ref<boolean>;
  set show_speakers(v: H.In<boolean>);
  /** Include visualization of cache file related animation data Default: True. */
  get show_cache_files(): H.Ref<boolean>;
  set show_cache_files(v: H.In<boolean>);
  /** Include visualization of hair related animation data Default: True. */
  get show_hair_curves(): H.Ref<boolean>;
  set show_hair_curves(v: H.In<boolean>);
  /** Include visualization of point cloud related animation data Default: True. */
  get show_pointclouds(): H.Ref<boolean>;
  set show_pointclouds(v: H.In<boolean>);
  /** Include visualization of volume related animation data Default: True. */
  get show_volumes(): H.Ref<boolean>;
  set show_volumes(v: H.In<boolean>);
  /** Include visualization of light probe related animation data Default: True. */
  get show_lightprobes(): H.Ref<boolean>;
  set show_lightprobes(v: H.In<boolean>);
  /** Include visualization of Grease Pencil related animation data and frames Default: True. */
  get show_gpencil(): H.Ref<boolean>;
  set show_gpencil(v: H.In<boolean>);
  /** Include visualization of movie clip related animation data Default: True. */
  get show_movieclips(): H.Ref<boolean>;
  set show_movieclips(v: H.In<boolean>);
  /** Include drivers that relied on any fallback values for their evaluation in the Only Show Errors filter, even if the driver evaluation succeeded Default: False. */
  get show_driver_fallback_as_error(): H.Ref<boolean>;
  set show_driver_fallback_as_error(v: H.In<boolean>);
}

/**
 * Driver for the value of a setting based on an external value
 *
 * bpy.types.Driver
 */
export interface Driver extends R.bpy_struct {
  /**
   * Driver type Default: 'AVERAGE'.
   * - `AVERAGE`: Averaged Value
   * - `SUM`: Sum Values
   * - `SCRIPTED`: Scripted Expression
   * - `MIN`: Minimum Value
   * - `MAX`: Maximum Value
   */
  get type(): H.Ref<"AVERAGE" | "SUM" | "SCRIPTED" | "MIN" | "MAX">;
  set type(v: H.In<"AVERAGE" | "SUM" | "SCRIPTED" | "MIN" | "MAX">);
  /** Expression to use for Scripted Expression Default: "". */
  get expression(): H.Ref<string>;
  set expression(v: H.In<string>);
  /** Properties acting as inputs for this driver */
  readonly variables: H.Own<H.Coll<R.DriverVariable> & R.ChannelDriverVariables>;
  /** Include a 'self' variable in the name-space, so drivers can easily reference the data being modified (object, bone, etc...) Default: False. */
  get use_self(): H.Ref<boolean>;
  set use_self(v: H.In<boolean>);
  /** Driver could not be evaluated in past, so should be skipped Default: True. */
  get is_valid(): H.Ref<boolean>;
  set is_valid(v: H.In<boolean>);
  /** The scripted expression can be evaluated without using the full Python interpreter Default: False. */
  get is_simple_expression(): H.Ref<boolean>;
}

/**
 * Source of input values for driver variables
 *
 * bpy.types.DriverTarget
 */
export interface DriverTarget extends R.bpy_struct {
  /** ID-block that the specific property used can be found from (id_type property must be set first) */
  get id(): H.Ptr<R.ID>;
  set id(v: R.ID | null);
  /** Type of ID-block that can be used Default: 'OBJECT'. */
  get id_type(): H.Ref<E.ActionSlotsIdType>;
  set id_type(v: H.In<E.ActionSlotsIdType>);
  /** RNA Path (from ID-block) to property used Default: "". */
  get data_path(): H.Ref<string>;
  set data_path(v: H.In<string>);
  /** Name of PoseBone to use as target Default: "". */
  get bone_target(): H.Ref<string>;
  set bone_target(v: H.In<string>);
  /** Driver variable type Default: 'LOC_X'. */
  get transform_type(): H.Ref<E.DriverTargetTransformType>;
  set transform_type(v: H.In<E.DriverTargetTransformType>);
  /** Mode for calculating rotation channel values Default: 'AUTO'. */
  get rotation_mode(): H.Ref<E.DriverTargetRotationMode>;
  set rotation_mode(v: H.In<E.DriverTargetRotationMode>);
  /**
   * Space in which transforms are used Default: 'WORLD_SPACE'.
   * - `WORLD_SPACE`: World Space (Transforms include effects of parenting/restpose and constraints)
   * - `TRANSFORM_SPACE`: Transform Space (Transforms don't include parenting/restpose or constraints)
   * - `LOCAL_SPACE`: Local Space (Transforms include effects of constraints but not parenting/restpose)
   */
  get transform_space(): H.Ref<"WORLD_SPACE" | "TRANSFORM_SPACE" | "LOCAL_SPACE">;
  set transform_space(v: H.In<"WORLD_SPACE" | "TRANSFORM_SPACE" | "LOCAL_SPACE">);
  /**
   * Type of a context-dependent data-block to access property from Default: 'ACTIVE_SCENE'.
   * - `ACTIVE_SCENE`: Active Scene (Currently evaluating scene)
   * - `ACTIVE_VIEW_LAYER`: Active View Layer (Currently evaluating view layer)
   */
  get context_property(): H.Ref<"ACTIVE_SCENE" | "ACTIVE_VIEW_LAYER">;
  set context_property(v: H.In<"ACTIVE_SCENE" | "ACTIVE_VIEW_LAYER">);
  /** Use the fallback value if the data path cannot be resolved, instead of failing to evaluate the driver Default: False. */
  get use_fallback_value(): H.Ref<boolean>;
  set use_fallback_value(v: H.In<boolean>);
  /** The value to use if the data path cannot be resolved Default: 0.0. */
  get fallback_value(): H.Ref<number>;
  set fallback_value(v: H.In<number>);
  /** Indicates that the most recent variable evaluation used the fallback value Default: False. */
  get is_fallback_used(): H.Ref<boolean>;
}

/**
 * Variable from some source/target for driver relationship
 *
 * bpy.types.DriverVariable
 */
export interface DriverVariable extends R.bpy_struct {
  /** Name to use in scripted expressions/functions (no spaces or dots are allowed, and must start with a letter) Default: "". */
  get name(): H.Ref<string>;
  set name(v: H.In<string>);
  /**
   * Driver variable type Default: 'SINGLE_PROP'.
   * - `SINGLE_PROP`: Single Property (Use the value from some RNA property)
   * - `TRANSFORMS`: Transform Channel (Final transformation value of object or bone)
   * - `ROTATION_DIFF`: Rotational Difference (Use the angle between two bones)
   * - `LOC_DIFF`: Distance (Distance between two bones or objects)
   * - `CONTEXT_PROP`: Context Property (Use the value from some RNA property within the current evaluation context)
   */
  get type(): H.Ref<"SINGLE_PROP" | "TRANSFORMS" | "ROTATION_DIFF" | "LOC_DIFF" | "CONTEXT_PROP">;
  set type(v: H.In<"SINGLE_PROP" | "TRANSFORMS" | "ROTATION_DIFF" | "LOC_DIFF" | "CONTEXT_PROP">);
  /** Sources of input data for evaluating this variable */
  readonly targets: H.Own<H.Coll<R.DriverTarget>>;
  /** Is this a valid name for a driver variable Default: True. */
  get is_name_valid(): H.Ref<boolean>;
}

/**
 * Brush settings
 *
 * bpy.types.DynamicPaintBrushSettings
 */
export interface DynamicPaintBrushSettings extends R.bpy_struct {
  /** Color of the paint Range: 0 to inf. Default: (0.0, 0.0, 0.0). */
  get paint_color(): H.Remote<M.Color>;
  set paint_color(v: H.In<M.Color | readonly number[]>);
  /** Paint alpha Range: 0 to 1. Default: 0.0. */
  get paint_alpha(): H.Ref<number>;
  set paint_alpha(v: H.In<number>);
  /** Only increase alpha value if paint alpha is higher than existing Default: False. */
  get use_absolute_alpha(): H.Ref<boolean>;
  set use_absolute_alpha(v: H.In<boolean>);
  /** Paint wetness, visible in wetmap (some effects only affect wet paint) Range: 0 to 1. Default: 0.0. */
  get paint_wetness(): H.Ref<number>;
  set paint_wetness(v: H.In<number>);
  /** Erase / remove paint instead of adding it Default: False. */
  get use_paint_erase(): H.Ref<boolean>;
  set use_paint_erase(v: H.In<boolean>);
  /**
   * Wave Type Default: 'DEPTH'.
   * - `CHANGE`: Depth Change
   * - `DEPTH`: Obstacle
   * - `FORCE`: Force
   * - `REFLECT`: Reflect Only
   */
  get wave_type(): H.Ref<"CHANGE" | "DEPTH" | "FORCE" | "REFLECT">;
  set wave_type(v: H.In<"CHANGE" | "DEPTH" | "FORCE" | "REFLECT">);
  /** Multiplier for wave influence of this brush Range: -2 to 2. Default: 0.0. */
  get wave_factor(): H.Ref<number>;
  set wave_factor(v: H.In<number>);
  /** Maximum level of surface intersection used to influence waves (use 0.0 to disable) Range: 0 to 50. Default: 0.0. */
  get wave_clamp(): H.Ref<number>;
  set wave_clamp(v: H.In<number>);
  /** Make this brush to smudge existing paint as it moves Default: False. */
  get use_smudge(): H.Ref<boolean>;
  set use_smudge(v: H.In<boolean>);
  /** Smudge effect strength Range: 0 to 1. Default: 0.0. */
  get smudge_strength(): H.Ref<number>;
  set smudge_strength(v: H.In<number>);
  /** Velocity considered as maximum influence (Blender units per frame) Range: 0.00009999999747378752 to 10. Default: 0.0. */
  get velocity_max(): H.Ref<number>;
  set velocity_max(v: H.In<number>);
  /** Multiply brush influence by velocity color ramp alpha Default: False. */
  get use_velocity_alpha(): H.Ref<boolean>;
  set use_velocity_alpha(v: H.In<boolean>);
  /** Multiply brush intersection depth (displace, waves) by velocity ramp alpha Default: False. */
  get use_velocity_depth(): H.Ref<boolean>;
  set use_velocity_depth(v: H.In<boolean>);
  /** Replace brush color by velocity color ramp Default: False. */
  get use_velocity_color(): H.Ref<boolean>;
  set use_velocity_color(v: H.In<boolean>);
  /**
   * Paint Source Default: 'VOLUME'.
   * - `PARTICLE_SYSTEM`: Particle System
   * - `POINT`: Object Center
   * - `DISTANCE`: Proximity
   * - `VOLUME_DISTANCE`: Mesh Volume + Proximity
   * - `VOLUME`: Mesh Volume
   */
  get paint_source(): H.Ref<"PARTICLE_SYSTEM" | "POINT" | "DISTANCE" | "VOLUME_DISTANCE" | "VOLUME">;
  set paint_source(v: H.In<"PARTICLE_SYSTEM" | "POINT" | "DISTANCE" | "VOLUME_DISTANCE" | "VOLUME">);
  /** Maximum distance from brush to mesh surface to affect paint Range: 0 to 500. Default: 0.0. */
  get paint_distance(): H.Ref<number>;
  set paint_distance(v: H.In<number>);
  /** Only read color ramp alpha Default: False. */
  get use_proximity_ramp_alpha(): H.Ref<boolean>;
  set use_proximity_ramp_alpha(v: H.In<boolean>);
  /**
   * Proximity falloff type Default: 'CONSTANT'.
   * - `SMOOTH`: Smooth
   * - `CONSTANT`: Constant
   * - `RAMP`: Color Ramp
   */
  get proximity_falloff(): H.Ref<"SMOOTH" | "CONSTANT" | "RAMP">;
  set proximity_falloff(v: H.In<"SMOOTH" | "CONSTANT" | "RAMP">);
  /** Brush is projected to canvas from defined direction within brush proximity Default: False. */
  get use_proximity_project(): H.Ref<boolean>;
  set use_proximity_project(v: H.In<boolean>);
  /**
   * Ray direction to use for projection (if brush object is located in that direction it's painted) Default: 'CANVAS'.
   * - `CANVAS`: Canvas Normal
   * - `BRUSH`: Brush Normal
   * - `Z_AXIS`: Z-Axis
   */
  get ray_direction(): H.Ref<"CANVAS" | "BRUSH" | "Z_AXIS">;
  set ray_direction(v: H.In<"CANVAS" | "BRUSH" | "Z_AXIS">);
  /** Proximity falloff is applied inside the volume Default: False. */
  get invert_proximity(): H.Ref<boolean>;
  set invert_proximity(v: H.In<boolean>);
  /** Negate influence inside the volume Default: False. */
  get use_negative_volume(): H.Ref<boolean>;
  set use_negative_volume(v: H.In<boolean>);
  /** The particle system to paint with */
  get particle_system(): H.Ptr<R.ParticleSystem>;
  set particle_system(v: R.ParticleSystem | null);
  /** Use radius from particle settings Default: False. */
  get use_particle_radius(): H.Ref<boolean>;
  set use_particle_radius(v: H.In<boolean>);
  /** Radius that will be painted solid Range: 0.009999999776482582 to 10. Default: 0.0. */
  get solid_radius(): H.Ref<number>;
  set solid_radius(v: H.In<number>);
  /** Smooth falloff added after solid radius Range: 0 to 10. Default: 0.0. */
  get smooth_radius(): H.Ref<number>;
  set smooth_radius(v: H.In<number>);
  /** Color ramp used to define proximity falloff */
  get paint_ramp(): H.Ptr<R.ColorRamp>;
  /** Color ramp used to define brush velocity effect */
  get velocity_ramp(): H.Ptr<R.ColorRamp>;
}

/**
 * Dynamic Paint canvas settings
 *
 * bpy.types.DynamicPaintCanvasSettings
 */
export interface DynamicPaintCanvasSettings extends R.bpy_struct {
  /** Paint surface list */
  readonly canvas_surfaces: H.Own<H.Coll<R.DynamicPaintSurface> & R.DynamicPaintSurfaces>;
}

/**
 * Dynamic Paint modifier
 *
 * bpy.types.DynamicPaintModifier
 */
export interface DynamicPaintModifier extends R.Modifier {
  /** Canvas Settings */
  get canvas_settings(): H.Ptr<R.DynamicPaintCanvasSettings>;
  /** Brush Settings */
  get brush_settings(): H.Ptr<R.DynamicPaintBrushSettings>;
  /**
   * Type Default: 'CANVAS'.
   * - `CANVAS`: Canvas
   * - `BRUSH`: Brush
   */
  get ui_type(): H.Ref<"CANVAS" | "BRUSH">;
  set ui_type(v: H.In<"CANVAS" | "BRUSH">);
}

/**
 * A canvas surface layer
 *
 * bpy.types.DynamicPaintSurface
 */
export interface DynamicPaintSurface extends R.bpy_struct {
  /**
   * Surface Format Default: 'VERTEX'.
   * - `VERTEX`: Vertex
   * - `IMAGE`: Image Sequence
   */
  get surface_format(): H.Ref<"VERTEX" | "IMAGE">;
  set surface_format(v: H.In<"VERTEX" | "IMAGE">);
  /**
   * Surface Type Default: 'PAINT'.
   * - `PAINT`: Paint
   */
  get surface_type(): H.Ref<string>;
  set surface_type(v: H.In<string>);
  /** Toggle whether surface is processed or ignored Default: False. */
  get is_active(): H.Ref<boolean>;
  set is_active(v: H.In<boolean>);
  /** Surface name Default: "". */
  get name(): H.Ref<string>;
  set name(v: H.In<string>);
  /** Only use brush objects from this collection */
  get brush_collection(): H.Ptr<R.Collection>;
  set brush_collection(v: R.Collection | null);
  /** Enable to make surface changes disappear over time Default: False. */
  get use_dissolve(): H.Ref<boolean>;
  set use_dissolve(v: H.In<boolean>);
  /** Approximately in how many frames should dissolve happen Range: 1 to 10000. Default: 0. */
  get dissolve_speed(): H.Ref<number>;
  set dissolve_speed(v: H.In<number>);
  /** Enable to make surface wetness dry over time Default: False. */
  get use_drying(): H.Ref<boolean>;
  set use_drying(v: H.In<boolean>);
  /** Approximately in how many frames should drying happen Range: 1 to 10000. Default: 0. */
  get dry_speed(): H.Ref<number>;
  set dry_speed(v: H.In<number>);
  /** Output image resolution Range: 16 to 4096. Default: 0. */
  get image_resolution(): H.Ref<number>;
  set image_resolution(v: H.In<number>);
  /** UV map name Default: "". */
  get uv_layer(): H.Ref<string>;
  set uv_layer(v: H.In<string>);
  /** Simulation start frame Range: 1 to 1048574. Default: 0. */
  get frame_start(): H.Ref<number>;
  set frame_start(v: H.In<number>);
  /** Simulation end frame Range: 1 to 1048574. Default: 0. */
  get frame_end(): H.Ref<number>;
  set frame_end(v: H.In<number>);
  /** Do extra frames between scene frames to ensure smooth motion Range: 0 to 20. Default: 0. */
  get frame_substeps(): H.Ref<number>;
  set frame_substeps(v: H.In<number>);
  /** Use 5× multisampling to smooth paint edges Default: False. */
  get use_antialiasing(): H.Ref<boolean>;
  set use_antialiasing(v: H.In<boolean>);
  /** Adjust influence brush objects have on this surface Range: 0 to 1. Default: 0.0. */
  get brush_influence_scale(): H.Ref<number>;
  set brush_influence_scale(v: H.In<number>);
  /** Adjust radius of proximity brushes or particles for this surface Range: 0 to 10. Default: 0.0. */
  get brush_radius_scale(): H.Ref<number>;
  set brush_radius_scale(v: H.In<number>);
  /**
   * Initial Color Default: 'NONE'.
   * - `NONE`: None
   * - `COLOR`: Color
   * - `TEXTURE`: UV Texture
   * - `VERTEX_COLOR`: Vertex Color
   */
  get init_color_type(): H.Ref<"NONE" | "COLOR" | "TEXTURE" | "VERTEX_COLOR">;
  set init_color_type(v: H.In<"NONE" | "COLOR" | "TEXTURE" | "VERTEX_COLOR">);
  /** Initial color of the surface Range: 0 to inf. Default: (0.0, 0.0, 0.0, 0.0). */
  get init_color(): H.Arr<number>;
  set init_color(v: H.In<readonly number[]>);
  /** Texture */
  get init_texture(): H.Ptr<R.Texture>;
  set init_texture(v: R.Texture | null);
  /** Data Layer Default: "". */
  get init_layername(): H.Ref<string>;
  set init_layername(v: H.In<string>);
  /**
   * Effect Type Default: 'SPREAD'.
   * - `SPREAD`: Spread
   * - `DRIP`: Drip
   * - `SHRINK`: Shrink
   */
  get effect_ui(): H.Ref<"SPREAD" | "DRIP" | "SHRINK">;
  set effect_ui(v: H.In<"SPREAD" | "DRIP" | "SHRINK">);
  /** Use logarithmic drying (makes high values to dry faster than low values) Default: False. */
  get use_dry_log(): H.Ref<boolean>;
  set use_dry_log(v: H.In<boolean>);
  /** Use logarithmic dissolve (makes high values to fade faster than low values) Default: False. */
  get use_dissolve_log(): H.Ref<boolean>;
  set use_dissolve_log(v: H.In<boolean>);
  /** Process spread effect (spread wet paint around surface) Default: False. */
  get use_spread(): H.Ref<boolean>;
  set use_spread(v: H.In<boolean>);
  /** How fast spread effect moves on the canvas surface Range: 0.0010000000474974513 to 10. Default: 0.0. */
  get spread_speed(): H.Ref<number>;
  set spread_speed(v: H.In<number>);
  /** The wetness level when colors start to shift to the background Range: 0 to 1. Default: 0.0. */
  get color_dry_threshold(): H.Ref<number>;
  set color_dry_threshold(v: H.In<number>);
  /** How fast colors get mixed within wet paint Range: 0 to 2. Default: 0.0. */
  get color_spread_speed(): H.Ref<number>;
  set color_spread_speed(v: H.In<number>);
  /** Process drip effect (drip wet paint to gravity direction) Default: False. */
  get use_drip(): H.Ref<boolean>;
  set use_drip(v: H.In<boolean>);
  /** Process shrink effect (shrink paint areas) Default: False. */
  get use_shrink(): H.Ref<boolean>;
  set use_shrink(v: H.In<boolean>);
  /** How fast shrink effect moves on the canvas surface Range: 0.0010000000474974513 to 10. Default: 0.0. */
  get shrink_speed(): H.Ref<number>;
  set shrink_speed(v: H.In<number>);
  /** Effector Weights */
  get effector_weights(): H.Ptr<R.EffectorWeights>;
  /** How much surface velocity affects dripping Range: -200 to 200. Default: 0.0. */
  get drip_velocity(): H.Ref<number>;
  set drip_velocity(v: H.In<number>);
  /** How much surface acceleration affects dripping Range: -200 to 200. Default: 0.0. */
  get drip_acceleration(): H.Ref<number>;
  set drip_acceleration(v: H.In<number>);
  /** Multiply color by alpha (recommended for Blender input) Default: False. */
  get use_premultiply(): H.Ref<boolean>;
  set use_premultiply(v: H.In<boolean>);
  /** Directory to save the textures Default: "". */
  get image_output_path(): H.Ref<string>;
  set image_output_path(v: H.In<string>);
  /** Name used to save output from this surface Default: "". */
  get output_name_a(): H.Ref<string>;
  set output_name_a(v: H.In<string>);
  /** Save this output layer Default: False. */
  get use_output_a(): H.Ref<boolean>;
  set use_output_a(v: H.In<boolean>);
  /** Name used to save output from this surface Default: "". */
  get output_name_b(): H.Ref<string>;
  set output_name_b(v: H.In<string>);
  /** Save this output layer Default: False. */
  get use_output_b(): H.Ref<boolean>;
  set use_output_b(v: H.In<boolean>);
  /** Maximum level of depth intersection in object space (use 0.0 to disable) Range: 0 to 50. Default: 0.0. */
  get depth_clamp(): H.Ref<number>;
  set depth_clamp(v: H.In<number>);
  /** Strength of displace when applied to the mesh Range: -50 to 50. Default: 0.0. */
  get displace_factor(): H.Ref<number>;
  set displace_factor(v: H.In<number>);
  /**
   * File Format Default: 'PNG'.
   * - `PNG`: PNG
   * - `OPENEXR`: OpenEXR
   */
  get image_fileformat(): H.Ref<"PNG" | "OPENEXR">;
  set image_fileformat(v: H.In<"PNG" | "OPENEXR">);
  /**
   * Data Type Default: 'DISPLACE'.
   * - `DISPLACE`: Displacement
   * - `DEPTH`: Depth
   */
  get displace_type(): H.Ref<"DISPLACE" | "DEPTH">;
  set displace_type(v: H.In<"DISPLACE" | "DEPTH">);
  /** New displace is added cumulatively on top of existing Default: False. */
  get use_incremental_displace(): H.Ref<boolean>;
  set use_incremental_displace(v: H.In<boolean>);
  /** Wave damping factor Range: 0 to 1. Default: 0.0. */
  get wave_damping(): H.Ref<number>;
  set wave_damping(v: H.In<number>);
  /** Wave propagation speed Range: 0.009999999776482582 to 5. Default: 0.0. */
  get wave_speed(): H.Ref<number>;
  set wave_speed(v: H.In<number>);
  /** Wave time scaling factor Range: 0.009999999776482582 to 3. Default: 0.0. */
  get wave_timescale(): H.Ref<number>;
  set wave_timescale(v: H.In<number>);
  /** Spring force that pulls water level back to zero Range: 0 to 1. Default: 0.0. */
  get wave_spring(): H.Ref<number>;
  set wave_spring(v: H.In<number>);
  /** Limit maximum steepness of wave slope between simulation points (use higher values for smoother waves at expense of reduced detail) Range: 0 to 10. Default: 0.0. */
  get wave_smoothness(): H.Ref<number>;
  set wave_smoothness(v: H.In<number>);
  /** Pass waves through mesh edges Default: False. */
  get use_wave_open_border(): H.Ref<boolean>;
  set use_wave_open_border(v: H.In<boolean>);
  /** Point Cache */
  get point_cache(): H.Own<R.PointCache>;
  /** Use Cache Default: False. */
  get is_cache_user(): H.Ref<boolean>;
  /** Checks if surface output layer of given name exists */
  output_exists(object: R.Object, index: H.In<number>): H.Ref<boolean>;
  /** Checks if surface output layer of given name exists */
  output_exists(kw: { object: R.Object; index: H.In<number> }): H.Ref<boolean>;
}

/**
 * Collection of Dynamic Paint Canvas surfaces
 *
 * bpy.types.DynamicPaintSurfaces
 */
export interface DynamicPaintSurfaces {
  /** Active Point Cache Index Range: 0 to 2147483647. Default: 0. */
  get active_index(): H.Ref<number>;
  set active_index(v: H.In<number>);
  /** Active Dynamic Paint surface being displayed */
  get active(): H.Ptr<R.DynamicPaintSurface>;
}