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";
/**
* Shape keys data-block containing different shapes of geometric data-blocks
*
* bpy.types.Key
*/
export interface Key extends R.ID {
/** Reference Key */
get reference_key(): H.Own<R.ShapeKey>;
/** Shape keys */
readonly key_blocks: H.Own<H.Coll<R.ShapeKey>>;
/** Animation data for this data-block */
get animation_data(): H.Ptr<R.AnimData>;
/** Data-block using these shape keys */
get user(): H.Own<R.ID>;
/** Make shape keys relative, otherwise play through shapes as a sequence using the evaluation time Default: False. */
get use_relative(): H.Ref<boolean>;
set use_relative(v: H.In<boolean>);
/** Evaluation time for absolute shape keys Range: 0 to 1048574. Default: 0.0. */
get eval_time(): H.Ref<number>;
set eval_time(v: H.In<number>);
}
/**
* Input configuration, including keymaps
*
* bpy.types.KeyConfig
*/
export interface KeyConfig extends R.bpy_struct {
/** Name of the key configuration Default: "". */
get name(): H.Ref<string>;
set name(v: H.In<string>);
/** Key maps configured as part of this configuration */
readonly keymaps: H.Own<H.Coll<R.KeyMap> & R.KeyMaps>;
/** Indicates that a keyconfig was defined by the user Default: False. */
get is_user_defined(): H.Ref<boolean>;
get preferences(): H.Ptr<R.KeyConfigPreferences>;
}
/** bpy.types.KeyConfigPreferences */
export interface KeyConfigPreferences extends R.bpy_struct {
/** Default: "". */
get bl_idname(): H.Ref<string>;
set bl_idname(v: H.In<string>);
/**
* 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>;
}
/**
* Collection of KeyConfigs
*
* bpy.types.KeyConfigurations
*/
export interface KeyConfigurations {
/** Active key configuration (preset) */
get active(): H.Ptr<R.KeyConfig>;
set active(v: R.KeyConfig | null);
/** Default builtin key configuration */
get default(): H.Ptr<R.KeyConfig>;
/** Key configuration that can be extended by add-ons, and is added to the active configuration when handling events */
get addon(): H.Ptr<R.KeyConfig>;
/** Final key configuration that combines keymaps from the active and add-on configurations, and can be edited by the user */
get user(): H.Ptr<R.KeyConfig>;
/** new */
"new"(name: H.In<string>): H.Ptr<R.KeyConfig>;
/** new */
"new"(kw: { name: H.In<string> }): H.Ptr<R.KeyConfig>;
/**
* remove
* @param keyconfig Removed key configuration
*/
remove(keyconfig: R.KeyConfig): H.Ref<void>;
/**
* remove
* @param keyconfig Removed key configuration
*/
remove(kw: {
/** Removed key configuration */
keyconfig: R.KeyConfig;
}): H.Ref<void>;
/** find_item_from_operator */
find_item_from_operator(idname: H.In<string>, context?: H.In<E.KeyConfigurationsContext>, properties?: R.OperatorProperties | null, include?: H.In<Set<E.KeyConfigurationsInclude>>, exclude?: H.In<Set<E.KeyConfigurationsInclude>>): H.Ref<[R.KeyMap | null, R.KeyMapItem | null]>;
/** find_item_from_operator */
find_item_from_operator(idname: H.In<string>, kw: {
context?: H.In<E.KeyConfigurationsContext>;
properties?: R.OperatorProperties | null;
include?: H.In<Set<E.KeyConfigurationsInclude>>;
exclude?: H.In<Set<E.KeyConfigurationsInclude>>;
}): H.Ref<[R.KeyMap | null, R.KeyMapItem | null]>;
/** find_item_from_operator */
find_item_from_operator(kw: {
idname: H.In<string>;
context?: H.In<E.KeyConfigurationsContext>;
properties?: R.OperatorProperties | null;
include?: H.In<Set<E.KeyConfigurationsInclude>>;
exclude?: H.In<Set<E.KeyConfigurationsInclude>>;
}): H.Ref<[R.KeyMap | null, R.KeyMapItem | null]>;
/**
* update
* @param keep_properties Operator properties are kept to allow the operators to be registered again in the future
*/
update(keep_properties?: H.In<boolean>): H.Ref<void>;
/**
* update
* @param keep_properties Operator properties are kept to allow the operators to be registered again in the future
*/
update(kw: {
/** Operator properties are kept to allow the operators to be registered again in the future */
keep_properties?: H.In<boolean>;
}): H.Ref<void>;
}
/**
* Input configuration, including keymaps
*
* bpy.types.KeyMap
*/
export interface KeyMap extends R.bpy_struct {
/** Name of the key map Default: "". */
get name(): H.Ref<string>;
/** Internal owner Default: "". */
get bl_owner_id(): H.Ref<string>;
set bl_owner_id(v: H.In<string>);
/** Optional space type keymap is associated with Default: 'EMPTY'. */
get space_type(): H.Ref<E.AreaType>;
/** Optional region type keymap is associated with Default: 'WINDOW'. */
get region_type(): H.Ref<E.GizmoGroupBlRegionType>;
/** Items in the keymap, linking an operator to an input event */
readonly keymap_items: H.Own<H.Coll<R.KeyMapItem> & R.KeyMapItems>;
/** Keymap is defined by the user Default: False. */
get is_user_modified(): H.Ref<boolean>;
set is_user_modified(v: H.In<boolean>);
/** Indicates that a keymap is used for translate modal events for an operator Default: False. */
get is_modal(): H.Ref<boolean>;
/** Expanded in the user interface Default: False. */
get show_expanded_items(): H.Ref<boolean>;
set show_expanded_items(v: H.In<boolean>);
/** Children expanded in the user interface Default: False. */
get show_expanded_children(): H.Ref<boolean>;
set show_expanded_children(v: H.In<boolean>);
/** Give access to the possible event values of this modal keymap's items (#KeyMapItem.propvalue), for API introspection */
readonly modal_event_values: H.Own<H.Coll<R.EnumPropertyItem>>;
/** active */
active(): H.Ptr<R.KeyMap>;
/** restore_to_default */
restore_to_default(): H.Ref<void>;
/** restore_item_to_default */
restore_item_to_default(item: R.KeyMapItem): H.Ref<void>;
/** restore_item_to_default */
restore_item_to_default(kw: { item: R.KeyMapItem }): H.Ref<void>;
}
/**
* Item in a Key Map
*
* bpy.types.KeyMapItem
*/
export interface KeyMapItem extends R.bpy_struct {
/** Identifier of operator to call on input event Default: "". */
get idname(): H.Ref<string>;
set idname(v: H.In<string>);
/** Name of operator (translated) to call on input event Default: "". */
get name(): H.Ref<string>;
/** Properties to set when the operator is called */
get properties(): H.Ptr<R.OperatorProperties>;
/**
* Type of event mapping Default: 'KEYBOARD'.
* - `KEYBOARD`: Keyboard
* - `MOUSE`: Mouse
* - `NDOF`: NDOF
* - `TEXTINPUT`: Text Input
* - `TIMER`: Timer
*/
get map_type(): H.Ref<"KEYBOARD" | "MOUSE" | "NDOF" | "TEXTINPUT" | "TIMER">;
set map_type(v: H.In<"KEYBOARD" | "MOUSE" | "NDOF" | "TEXTINPUT" | "TIMER">);
/** Type of event Default: 'NONE'. */
get type(): H.Ref<E.EventType | (string & {})>;
set type(v: H.In<E.EventType | (string & {})>);
/** Value Default: 'NOTHING'. */
get value(): H.Ref<E.EventValue>;
set value(v: H.In<E.EventValue>);
/** The direction (only applies to drag events) Default: 'ANY'. */
get direction(): H.Ref<E.EventDirection>;
set direction(v: H.In<E.EventDirection>);
/** ID of the item Range: -32768 to 32767. Default: 0. */
get id(): H.Ref<number>;
/** Any modifier keys pressed Default: False. */
get any(): H.Ref<boolean>;
set any(v: H.In<boolean>);
/** Shift key pressed, -1 for any state Range: -1 to 1. Default: 0. */
get shift(): H.Ref<number>;
set shift(v: H.In<number>);
/** Control key pressed, -1 for any state Range: -1 to 1. Default: 0. */
get ctrl(): H.Ref<number>;
set ctrl(v: H.In<number>);
/** Alt key pressed, -1 for any state Range: -1 to 1. Default: 0. */
get alt(): H.Ref<number>;
set alt(v: H.In<number>);
/** Operating system key pressed, -1 for any state Range: -1 to 1. Default: 0. */
get oskey(): H.Ref<number>;
set oskey(v: H.In<number>);
/** Hyper key pressed, -1 for any state Range: -1 to 1. Default: 0. */
get hyper(): H.Ref<number>;
set hyper(v: H.In<number>);
/** Shift key pressed Default: False. */
get shift_ui(): H.Ref<boolean>;
set shift_ui(v: H.In<boolean>);
/** Control key pressed Default: False. */
get ctrl_ui(): H.Ref<boolean>;
set ctrl_ui(v: H.In<boolean>);
/** Alt key pressed Default: False. */
get alt_ui(): H.Ref<boolean>;
set alt_ui(v: H.In<boolean>);
/** Operating system key pressed Default: False. */
get oskey_ui(): H.Ref<boolean>;
set oskey_ui(v: H.In<boolean>);
/** Hyper key pressed. An additional modifier which can be configured on Linux, typically replacing CapsLock Default: False. */
get hyper_ui(): H.Ref<boolean>;
set hyper_ui(v: H.In<boolean>);
/** Regular key pressed as a modifier Default: 'NONE'. */
get key_modifier(): H.Ref<E.EventType>;
set key_modifier(v: H.In<E.EventType>);
/** Active on key-repeat events (when a key is held) Default: False. */
get repeat(): H.Ref<boolean>;
set repeat(v: H.In<boolean>);
/** Show key map event and property details in the user interface Default: False. */
get show_expanded(): H.Ref<boolean>;
set show_expanded(v: H.In<boolean>);
/** The value this event translates to in a modal keymap Default: 'NONE'. */
get propvalue(): H.Ref<string>;
set propvalue(v: H.In<string>);
/** Activate or deactivate item Default: False. */
get active(): H.Ref<boolean>;
set active(v: H.In<boolean>);
/** Is this keymap item modified by the user Default: False. */
get is_user_modified(): H.Ref<boolean>;
/** Is this keymap item user defined (does not just replace a builtin item) Default: False. */
get is_user_defined(): H.Ref<boolean>;
/** compare */
compare(item: R.KeyMapItem): H.Ref<boolean>;
/** compare */
compare(kw: { item: R.KeyMapItem }): H.Ref<boolean>;
/** to_string */
to_string(compact?: H.In<boolean>): H.Ref<string>;
/** to_string */
to_string(kw: { compact?: H.In<boolean> }): H.Ref<string>;
}
/**
* Collection of keymap items
*
* bpy.types.KeyMapItems
*/
export interface KeyMapItems {
/**
* new
* @param repeat When set, accept key-repeat events
* @param head Force item to be added at start (not end) of key map so that it doesn't get blocked by an existing key map item
*/
"new"(idname: H.In<string>, type: H.In<E.EventType>, value: H.In<E.EventValue>, any?: H.In<boolean>, shift?: H.In<number>, ctrl?: H.In<number>, alt?: H.In<number>, oskey?: H.In<number>, hyper?: H.In<number>, key_modifier?: H.In<E.EventType>, direction?: H.In<E.EventDirection>, repeat?: H.In<boolean>, head?: H.In<boolean>): H.Ptr<R.KeyMapItem>;
/**
* new
* @param repeat When set, accept key-repeat events
* @param head Force item to be added at start (not end) of key map so that it doesn't get blocked by an existing key map item
*/
"new"(idname: H.In<string>, type: H.In<E.EventType>, value: H.In<E.EventValue>, kw: {
any?: H.In<boolean>;
shift?: H.In<number>;
ctrl?: H.In<number>;
alt?: H.In<number>;
oskey?: H.In<number>;
hyper?: H.In<number>;
key_modifier?: H.In<E.EventType>;
direction?: H.In<E.EventDirection>;
/** When set, accept key-repeat events */
repeat?: H.In<boolean>;
/** Force item to be added at start (not end) of key map so that it doesn't get blocked by an existing key map item */
head?: H.In<boolean>;
}): H.Ptr<R.KeyMapItem>;
/**
* new
* @param repeat When set, accept key-repeat events
* @param head Force item to be added at start (not end) of key map so that it doesn't get blocked by an existing key map item
*/
"new"(kw: {
idname: H.In<string>;
type: H.In<E.EventType>;
value: H.In<E.EventValue>;
any?: H.In<boolean>;
shift?: H.In<number>;
ctrl?: H.In<number>;
alt?: H.In<number>;
oskey?: H.In<number>;
hyper?: H.In<number>;
key_modifier?: H.In<E.EventType>;
direction?: H.In<E.EventDirection>;
/** When set, accept key-repeat events */
repeat?: H.In<boolean>;
/** Force item to be added at start (not end) of key map so that it doesn't get blocked by an existing key map item */
head?: H.In<boolean>;
}): H.Ptr<R.KeyMapItem>;
/**
* new_modal
* @param repeat When set, accept key-repeat events
*/
new_modal(propvalue: H.In<string>, type: H.In<E.EventType>, value: H.In<E.EventValue>, any?: H.In<boolean>, shift?: H.In<number>, ctrl?: H.In<number>, alt?: H.In<number>, oskey?: H.In<number>, hyper?: H.In<number>, key_modifier?: H.In<E.EventType>, direction?: H.In<E.EventDirection>, repeat?: H.In<boolean>): H.Ptr<R.KeyMapItem>;
/**
* new_modal
* @param repeat When set, accept key-repeat events
*/
new_modal(propvalue: H.In<string>, type: H.In<E.EventType>, value: H.In<E.EventValue>, kw: {
any?: H.In<boolean>;
shift?: H.In<number>;
ctrl?: H.In<number>;
alt?: H.In<number>;
oskey?: H.In<number>;
hyper?: H.In<number>;
key_modifier?: H.In<E.EventType>;
direction?: H.In<E.EventDirection>;
/** When set, accept key-repeat events */
repeat?: H.In<boolean>;
}): H.Ptr<R.KeyMapItem>;
/**
* new_modal
* @param repeat When set, accept key-repeat events
*/
new_modal(kw: {
propvalue: H.In<string>;
type: H.In<E.EventType>;
value: H.In<E.EventValue>;
any?: H.In<boolean>;
shift?: H.In<number>;
ctrl?: H.In<number>;
alt?: H.In<number>;
oskey?: H.In<number>;
hyper?: H.In<number>;
key_modifier?: H.In<E.EventType>;
direction?: H.In<E.EventDirection>;
/** When set, accept key-repeat events */
repeat?: H.In<boolean>;
}): H.Ptr<R.KeyMapItem>;
/**
* new_from_item
* @param item Item to use as a reference
*/
new_from_item(item: R.KeyMapItem, head?: H.In<boolean>): H.Ptr<R.KeyMapItem>;
/**
* new_from_item
* @param item Item to use as a reference
*/
new_from_item(item: R.KeyMapItem, kw: { head?: H.In<boolean> }): H.Ptr<R.KeyMapItem>;
/**
* new_from_item
* @param item Item to use as a reference
*/
new_from_item(kw: {
/** Item to use as a reference */
item: R.KeyMapItem;
head?: H.In<boolean>;
}): H.Ptr<R.KeyMapItem>;
/** remove */
remove(item: R.KeyMapItem): H.Ref<void>;
/** remove */
remove(kw: { item: R.KeyMapItem }): H.Ref<void>;
/**
* from_id
* @param id ID of the item
*/
from_id(id: H.In<number>): H.Ptr<R.KeyMapItem>;
/**
* from_id
* @param id ID of the item
*/
from_id(kw: {
/** ID of the item */
id: H.In<number>;
}): H.Ptr<R.KeyMapItem>;
/** find_from_operator */
find_from_operator(idname: H.In<string>, properties?: R.OperatorProperties | null, include?: H.In<Set<E.KeyConfigurationsInclude>>, exclude?: H.In<Set<E.KeyConfigurationsInclude>>): H.Ptr<R.KeyMapItem>;
/** find_from_operator */
find_from_operator(idname: H.In<string>, kw: { properties?: R.OperatorProperties | null; include?: H.In<Set<E.KeyConfigurationsInclude>>; exclude?: H.In<Set<E.KeyConfigurationsInclude>> }): H.Ptr<R.KeyMapItem>;
/** find_from_operator */
find_from_operator(kw: {
idname: H.In<string>;
properties?: R.OperatorProperties | null;
include?: H.In<Set<E.KeyConfigurationsInclude>>;
exclude?: H.In<Set<E.KeyConfigurationsInclude>>;
}): H.Ptr<R.KeyMapItem>;
/**
* find_match
* @param keymap The matching keymap
* @param item The matching keymap item
*/
find_match(keymap: R.KeyMap, item: R.KeyMapItem): H.Ptr<R.KeyMapItem>;
/**
* find_match
* @param keymap The matching keymap
* @param item The matching keymap item
*/
find_match(kw: {
/** The matching keymap */
keymap: R.KeyMap;
/** The matching keymap item */
item: R.KeyMapItem;
}): H.Ptr<R.KeyMapItem>;
/**
* match_event
* @param event Event to match against
*/
match_event(event: R.Event): H.Ptr<R.KeyMapItem>;
/**
* match_event
* @param event Event to match against
*/
match_event(kw: {
/** Event to match against */
event: R.Event;
}): H.Ptr<R.KeyMapItem>;
}
/**
* Collection of keymaps
*
* bpy.types.KeyMaps
*/
export interface KeyMaps {
/**
* Ensure the keymap exists. This will return the one with the given name/space type/region type, or create a new one if it does not exist yet.
* @param modal Keymap for modal operators. Modal keymaps are not supported for :class:`KeyConfigs.addons`.
* @param tool Keymap for active tools
*/
"new"(name: H.In<string>, space_type?: H.In<E.AreaType>, region_type?: H.In<E.GizmoGroupBlRegionType>, modal?: H.In<boolean>, tool?: H.In<boolean>): H.Ptr<R.KeyMap>;
/**
* Ensure the keymap exists. This will return the one with the given name/space type/region type, or create a new one if it does not exist yet.
* @param modal Keymap for modal operators. Modal keymaps are not supported for :class:`KeyConfigs.addons`.
* @param tool Keymap for active tools
*/
"new"(name: H.In<string>, kw: {
space_type?: H.In<E.AreaType>;
region_type?: H.In<E.GizmoGroupBlRegionType>;
/** Keymap for modal operators. Modal keymaps are not supported for :class:`KeyConfigs.addons`. */
modal?: H.In<boolean>;
/** Keymap for active tools */
tool?: H.In<boolean>;
}): H.Ptr<R.KeyMap>;
/**
* Ensure the keymap exists. This will return the one with the given name/space type/region type, or create a new one if it does not exist yet.
* @param modal Keymap for modal operators. Modal keymaps are not supported for :class:`KeyConfigs.addons`.
* @param tool Keymap for active tools
*/
"new"(kw: {
name: H.In<string>;
space_type?: H.In<E.AreaType>;
region_type?: H.In<E.GizmoGroupBlRegionType>;
/** Keymap for modal operators. Modal keymaps are not supported for :class:`KeyConfigs.addons`. */
modal?: H.In<boolean>;
/** Keymap for active tools */
tool?: H.In<boolean>;
}): H.Ptr<R.KeyMap>;
/**
* remove
* @param keymap Removed key map
*/
remove(keymap: R.KeyMap): H.Ref<void>;
/**
* remove
* @param keymap Removed key map
*/
remove(kw: {
/** Removed key map */
keymap: R.KeyMap;
}): H.Ref<void>;
/** Remove all keymaps. */
clear(): H.Ref<void>;
/** find */
find(name: H.In<string>, space_type?: H.In<E.AreaType>, region_type?: H.In<E.GizmoGroupBlRegionType>): H.Ptr<R.KeyMap>;
/** find */
find(name: H.In<string>, kw: { space_type?: H.In<E.AreaType>; region_type?: H.In<E.GizmoGroupBlRegionType> }): H.Ptr<R.KeyMap>;
/** find */
find(kw: { name: H.In<string>; space_type?: H.In<E.AreaType>; region_type?: H.In<E.GizmoGroupBlRegionType> }): H.Ptr<R.KeyMap>;
/**
* find_match
* @param keymap The key map for comparison
*/
find_match(keymap: R.KeyMap): H.Ptr<R.KeyMap>;
/**
* find_match
* @param keymap The key map for comparison
*/
find_match(kw: {
/** The key map for comparison */
keymap: R.KeyMap;
}): H.Ptr<R.KeyMap>;
/** find_modal */
find_modal(name: H.In<string>): H.Ptr<R.KeyMap>;
/** find_modal */
find_modal(kw: { name: H.In<string> }): H.Ptr<R.KeyMap>;
}
/**
* Bézier curve point with two handles defining a Keyframe on an F-Curve
*
* bpy.types.Keyframe
*/
export interface Keyframe extends R.bpy_struct {
/** Left handle selection status Default: False. */
get select_left_handle(): H.Ref<boolean>;
set select_left_handle(v: H.In<boolean>);
/** Right handle 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>);
/**
* Handle types Default: 'FREE'.
* - `FREE`: Free (Completely independent manually set handle)
* - `ALIGNED`: Aligned (Manually set handle with rotation locked together with its pair)
* - `VECTOR`: Vector (Automatic handles that create straight lines)
* - `AUTO`: Automatic (Automatic handles that create smooth curves)
* - `AUTO_CLAMPED`: Auto Clamped (Automatic handles that create smooth curves which only change direction at keyframes)
*/
get handle_left_type(): H.Ref<"FREE" | "ALIGNED" | "VECTOR" | "AUTO" | "AUTO_CLAMPED">;
set handle_left_type(v: H.In<"FREE" | "ALIGNED" | "VECTOR" | "AUTO" | "AUTO_CLAMPED">);
/**
* Handle types Default: 'FREE'.
* - `FREE`: Free (Completely independent manually set handle)
* - `ALIGNED`: Aligned (Manually set handle with rotation locked together with its pair)
* - `VECTOR`: Vector (Automatic handles that create straight lines)
* - `AUTO`: Automatic (Automatic handles that create smooth curves)
* - `AUTO_CLAMPED`: Auto Clamped (Automatic handles that create smooth curves which only change direction at keyframes)
*/
get handle_right_type(): H.Ref<"FREE" | "ALIGNED" | "VECTOR" | "AUTO" | "AUTO_CLAMPED">;
set handle_right_type(v: H.In<"FREE" | "ALIGNED" | "VECTOR" | "AUTO" | "AUTO_CLAMPED">);
/** Interpolation method to use for segment of the F-Curve from this Keyframe until the next Keyframe Default: 'CONSTANT'. */
get interpolation(): H.Ref<E.KeyframeInterpolation>;
set interpolation(v: H.In<E.KeyframeInterpolation>);
/**
* Type of keyframe (for visual purposes only) Default: 'KEYFRAME'.
* - `KEYFRAME`: Keyframe (Normal keyframe, e.g. for key poses)
* - `BREAKDOWN`: Breakdown (A breakdown pose, e.g. for transitions between key poses)
* - `MOVING_HOLD`: Moving Hold (A keyframe that is part of a moving hold)
* - `EXTREME`: Extreme (An "extreme" pose, or some other purpose as needed)
* - `JITTER`: Jitter (A filler or baked keyframe for keying on ones, or some other purpose as needed)
* - `GENERATED`: Generated (A key generated automatically by a tool, not manually created)
*/
get type(): H.Ref<"KEYFRAME" | "BREAKDOWN" | "MOVING_HOLD" | "EXTREME" | "JITTER" | "GENERATED">;
set type(v: H.In<"KEYFRAME" | "BREAKDOWN" | "MOVING_HOLD" | "EXTREME" | "JITTER" | "GENERATED">);
/**
* Which ends of the segment between this and the next keyframe easing interpolation is applied to Default: 'AUTO'.
* - `AUTO`: Automatic Easing (Easing type is chosen automatically based on what the type of interpolation used (e.g. Ease In for transitional types, and Ease Out for dynamic effects))
* - `EASE_IN`: Ease In (Only on the end closest to the next keyframe)
* - `EASE_OUT`: Ease Out (Only on the end closest to the first keyframe)
* - `EASE_IN_OUT`: Ease In and Out (Segment between both keyframes)
*/
get easing(): H.Ref<"AUTO" | "EASE_IN" | "EASE_OUT" | "EASE_IN_OUT">;
set easing(v: H.In<"AUTO" | "EASE_IN" | "EASE_OUT" | "EASE_IN_OUT">);
/** Amount of overshoot for 'back' easing Default: 0.0. */
get back(): H.Ref<number>;
set back(v: H.In<number>);
/** Amount to boost elastic bounces for 'elastic' easing Range: 0 to inf. Default: 0.0. */
get amplitude(): H.Ref<number>;
set amplitude(v: H.In<number>);
/** Time between bounces for elastic easing Default: 0.0. */
get period(): H.Ref<number>;
set period(v: H.In<number>);
/** Coordinates of the left handle (before the control point) Default: (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). */
get co(): H.Remote<M.Vector>;
set co(v: H.In<M.VectorLike>);
/** Coordinates of the control point. Note: Changing this value also updates the handles similar to using the graph editor transform operator Default: (0.0, 0.0). */
get co_ui(): H.Remote<M.Vector>;
set co_ui(v: H.In<M.VectorLike>);
/** Coordinates of the right handle (after the control point) Default: (0.0, 0.0). */
get handle_right(): H.Remote<M.Vector>;
set handle_right(v: H.In<M.VectorLike>);
}
/**
* Settings that should be keyframed together
*
* bpy.types.KeyingSet
*/
export interface KeyingSet extends R.bpy_struct {
/** If this is set, the Keying Set gets a custom ID, otherwise it takes the name of the class used to define the Keying Set (for example, if the class name is "BUILTIN_KSI_location", and bl_idname is not set by the script, then bl_idname = "BUILTIN_KSI_location") Default: "". */
get bl_idname(): H.Ref<string>;
set bl_idname(v: H.In<string>);
/** UI Name Default: "". */
get bl_label(): H.Ref<string>;
set bl_label(v: H.In<string>);
/** A short description of the keying set Default: "". */
get bl_description(): H.Ref<string>;
set bl_description(v: H.In<string>);
/** Callback function defines for built-in Keying Sets */
get type_info(): H.Ptr<R.KeyingSetInfo>;
/** Keying Set Paths to define settings that get keyframed together */
readonly paths: H.Own<H.Coll<R.KeyingSetPath> & R.KeyingSetPaths>;
/** Keying Set defines specific paths/settings to be keyframed (i.e. is not reliant on context info) Default: False. */
get is_path_absolute(): H.Ref<boolean>;
/** Override default setting to only insert keyframes where they're needed in the relevant F-Curves Default: False. */
get use_insertkey_override_needed(): H.Ref<boolean>;
set use_insertkey_override_needed(v: H.In<boolean>);
/** Override default setting to insert keyframes based on 'visual transforms' Default: False. */
get use_insertkey_override_visual(): H.Ref<boolean>;
set use_insertkey_override_visual(v: H.In<boolean>);
/** Only insert keyframes where they're needed in the relevant F-Curves Default: False. */
get use_insertkey_needed(): H.Ref<boolean>;
set use_insertkey_needed(v: H.In<boolean>);
/** Insert keyframes based on 'visual transforms' Default: False. */
get use_insertkey_visual(): H.Ref<boolean>;
set use_insertkey_visual(v: H.In<boolean>);
/** Refresh Keying Set to ensure that it is valid for the current context (call before each use of one) */
refresh(): H.Ref<void>;
}
/**
* Callback function defines for builtin Keying Sets
*
* bpy.types.KeyingSetInfo
*/
export interface KeyingSetInfo extends R.bpy_struct {
/** If this is set, the Keying Set gets a custom ID, otherwise it takes the name of the class used to define the Keying Set (for example, if the class name is "BUILTIN_KSI_location", and bl_idname is not set by the script, then bl_idname = "BUILTIN_KSI_location") Default: "". */
get bl_idname(): H.Ref<string>;
set bl_idname(v: H.In<string>);
/** UI Name Default: "". */
get bl_label(): H.Ref<string>;
set bl_label(v: H.In<string>);
/** A short description of the keying set Default: "". */
get bl_description(): H.Ref<string>;
set bl_description(v: H.In<string>);
/**
* Keying Set options to use when inserting keyframes Default: set().
* - `INSERTKEY_NEEDED`: Only Needed (Only insert keyframes where they're needed in the relevant F-Curves)
* - `INSERTKEY_VISUAL`: Visual Keying (Insert keyframes based on 'visual transforms')
*/
get bl_options(): H.Ref<Set<"INSERTKEY_NEEDED" | "INSERTKEY_VISUAL">>;
set bl_options(v: H.In<Set<"INSERTKEY_NEEDED" | "INSERTKEY_VISUAL">>);
/**
* Test if Keying Set can be used or not
* @param context The context
*/
poll(context: R.Context): H.Ref<boolean>;
/**
* Test if Keying Set can be used or not
* @param context The context
*/
poll(kw: {
/** The context */
context: R.Context;
}): H.Ref<boolean>;
/**
* Call generate() on the structs which have properties to be keyframed
* @param context The context
* @param ks Keying set this iterator runs on
*/
iterator(context: R.Context, ks: R.KeyingSet): H.Ref<void>;
/**
* Call generate() on the structs which have properties to be keyframed
* @param context The context
* @param ks Keying set this iterator runs on
*/
iterator(kw: {
/** The context */
context: R.Context;
/** Keying set this iterator runs on */
ks: R.KeyingSet;
}): H.Ref<void>;
/**
* Add Paths to the Keying Set to keyframe the properties of the given data
* @param context The context
* @param ks Keying set to add paths to
* @param data Data to add paths from
*/
generate(context: R.Context, ks: R.KeyingSet, data: R.AnyType): H.Ref<void>;
/**
* Add Paths to the Keying Set to keyframe the properties of the given data
* @param context The context
* @param ks Keying set to add paths to
* @param data Data to add paths from
*/
generate(kw: {
/** The context */
context: R.Context;
/** Keying set to add paths to */
ks: R.KeyingSet;
/** Data to add paths from */
data: R.AnyType;
}): H.Ref<void>;
}
/**
* Path to a setting for use in a Keying Set
*
* bpy.types.KeyingSetPath
*/
export interface KeyingSetPath extends R.bpy_struct {
/** ID-Block that keyframes for Keying Set should be added to (for Absolute Keying Sets only) */
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>);
/** Name of Action Group to assign setting(s) for this path to Default: "". */
get group(): H.Ref<string>;
set group(v: H.In<string>);
/**
* Method used to define which Group-name to use Default: 'NAMED'.
* - `NAMED`: Named Group
* - `NONE`: None
* - `KEYINGSET`: Keying Set Name
*/
get group_method(): H.Ref<"NAMED" | "NONE" | "KEYINGSET">;
set group_method(v: H.In<"NAMED" | "NONE" | "KEYINGSET">);
/** Path to property setting Default: "". */
get data_path(): H.Ref<string>;
set data_path(v: H.In<string>);
/** Index to the specific setting if applicable Range: -2147483648 to 2147483647. Default: 0. */
get array_index(): H.Ref<number>;
set array_index(v: H.In<number>);
/** When an 'array/vector' type is chosen (Location, Rotation, Color, etc.), entire array is to be used Default: False. */
get use_entire_array(): H.Ref<boolean>;
set use_entire_array(v: H.In<boolean>);
/** Override default setting to only insert keyframes where they're needed in the relevant F-Curves Default: False. */
get use_insertkey_override_needed(): H.Ref<boolean>;
set use_insertkey_override_needed(v: H.In<boolean>);
/** Override default setting to insert keyframes based on 'visual transforms' Default: False. */
get use_insertkey_override_visual(): H.Ref<boolean>;
set use_insertkey_override_visual(v: H.In<boolean>);
/** Only insert keyframes where they're needed in the relevant F-Curves Default: False. */
get use_insertkey_needed(): H.Ref<boolean>;
set use_insertkey_needed(v: H.In<boolean>);
/** Insert keyframes based on 'visual transforms' Default: False. */
get use_insertkey_visual(): H.Ref<boolean>;
set use_insertkey_visual(v: H.In<boolean>);
}
/**
* Collection of keying set paths
*
* bpy.types.KeyingSetPaths
*/
export interface KeyingSetPaths {
/** Active Keying Set used to insert/delete keyframes */
get active(): H.Ptr<R.KeyingSetPath>;
set active(v: R.KeyingSetPath | null);
/** Current Keying Set index Range: -2147483648 to 2147483647. Default: 0. */
get active_index(): H.Ref<number>;
set active_index(v: H.In<number>);
/**
* Add a new path for the Keying Set
* @param target_id ID data-block for the destination
* @param data_path RNA-Path to destination property
* @param index The index of the destination property (i.e. axis of Location/Rotation/etc.), or -1 for the entire array
* @param group_method Method used to define which Group-name to use - `NAMED`: Named Group - `NONE`: None - `KEYINGSET`: Keying Set Name
* @param group_name Name of Action Group to assign destination to (only if grouping mode is to use this name)
*/
add(target_id: R.ID, data_path: H.In<string>, index?: H.In<number>, group_method?: H.In<"NAMED" | "NONE" | "KEYINGSET">, group_name?: H.In<string>): H.Ptr<R.KeyingSetPath>;
/**
* Add a new path for the Keying Set
* @param target_id ID data-block for the destination
* @param data_path RNA-Path to destination property
* @param index The index of the destination property (i.e. axis of Location/Rotation/etc.), or -1 for the entire array
* @param group_method Method used to define which Group-name to use - `NAMED`: Named Group - `NONE`: None - `KEYINGSET`: Keying Set Name
* @param group_name Name of Action Group to assign destination to (only if grouping mode is to use this name)
*/
add(target_id: R.ID, data_path: H.In<string>, kw: {
/** The index of the destination property (i.e. axis of Location/Rotation/etc.), or -1 for the entire array */
index?: H.In<number>;
/**
* Method used to define which Group-name to use
* - `NAMED`: Named Group
* - `NONE`: None
* - `KEYINGSET`: Keying Set Name
*/
group_method?: H.In<"NAMED" | "NONE" | "KEYINGSET">;
/** Name of Action Group to assign destination to (only if grouping mode is to use this name) */
group_name?: H.In<string>;
}): H.Ptr<R.KeyingSetPath>;
/**
* Add a new path for the Keying Set
* @param target_id ID data-block for the destination
* @param data_path RNA-Path to destination property
* @param index The index of the destination property (i.e. axis of Location/Rotation/etc.), or -1 for the entire array
* @param group_method Method used to define which Group-name to use - `NAMED`: Named Group - `NONE`: None - `KEYINGSET`: Keying Set Name
* @param group_name Name of Action Group to assign destination to (only if grouping mode is to use this name)
*/
add(kw: {
/** ID data-block for the destination */
target_id: R.ID;
/** RNA-Path to destination property */
data_path: H.In<string>;
/** The index of the destination property (i.e. axis of Location/Rotation/etc.), or -1 for the entire array */
index?: H.In<number>;
/**
* Method used to define which Group-name to use
* - `NAMED`: Named Group
* - `NONE`: None
* - `KEYINGSET`: Keying Set Name
*/
group_method?: H.In<"NAMED" | "NONE" | "KEYINGSET">;
/** Name of Action Group to assign destination to (only if grouping mode is to use this name) */
group_name?: H.In<string>;
}): H.Ptr<R.KeyingSetPath>;
/** Remove the given path from the Keying Set */
remove(path: R.KeyingSetPath): H.Ref<void>;
/** Remove the given path from the Keying Set */
remove(kw: { path: R.KeyingSetPath }): H.Ref<void>;
/** Remove all the paths from the Keying Set */
clear(): H.Ref<void>;
}
/**
* Scene keying sets
*
* bpy.types.KeyingSets
*/
export interface KeyingSets {
/** Active Keying Set used to insert/delete keyframes */
get active(): H.Ptr<R.KeyingSet>;
set active(v: R.KeyingSet | null);
/** Current Keying Set index (negative for 'builtin' and positive for 'absolute') Range: -2147483648 to 2147483647. Default: 0. */
get active_index(): H.Ref<number>;
set active_index(v: H.In<number>);
/**
* Add a new Keying Set to Scene
* @param idname Internal identifier of Keying Set
* @param name User visible name of Keying Set
*/
"new"(idname?: H.In<string>, name?: H.In<string>): H.Ptr<R.KeyingSet>;
/**
* Add a new Keying Set to Scene
* @param idname Internal identifier of Keying Set
* @param name User visible name of Keying Set
*/
"new"(kw: {
/** Internal identifier of Keying Set */
idname?: H.In<string>;
/** User visible name of Keying Set */
name?: H.In<string>;
}): H.Ptr<R.KeyingSet>;
}
/**
* All available keying sets
*
* bpy.types.KeyingSetsAll
*/
export interface KeyingSetsAll {
/** Active Keying Set used to insert/delete keyframes */
get active(): H.Ptr<R.KeyingSet>;
set active(v: R.KeyingSet | null);
/** Current Keying Set index (negative for 'builtin' and positive for 'absolute') Range: -2147483648 to 2147483647. Default: 0. */
get active_index(): H.Ref<number>;
set active_index(v: H.In<number>);
}
/**
* Inverse Kinematics
*
* bpy.types.KinematicConstraint
*/
export interface KinematicConstraint extends R.Constraint {
/** 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>);
/** Maximum number of solving iterations Range: 0 to 10000. Default: 0. */
get iterations(): H.Ref<number>;
set iterations(v: H.In<number>);
/** Object for pole rotation */
get pole_target(): H.Ptr<R.Object>;
set pole_target(v: R.Object | null);
/** Pole Sub-Target Default: "". */
get pole_subtarget(): H.Ref<string>;
set pole_subtarget(v: H.In<string>);
/** Pole rotation offset Range: -3.1415927410125732 to 3.1415927410125732. Default: 0.0. */
get pole_angle(): H.Ref<number>;
set pole_angle(v: H.In<number>);
/** For Tree-IK: Weight of position control for this target Range: 0.009999999776482582 to 1. Default: 0.0. */
get weight(): H.Ref<number>;
set weight(v: H.In<number>);
/** For Tree-IK: Weight of orientation control for this target Range: 0.009999999776482582 to 1. Default: 0.0. */
get orient_weight(): H.Ref<number>;
set orient_weight(v: H.In<number>);
/** How many bones are included in the IK effect - 0 uses all bones Range: 0 to 255. Default: 0. */
get chain_count(): H.Ref<number>;
set chain_count(v: H.In<number>);
/** Include bone's tail as last element in chain Default: False. */
get use_tail(): H.Ref<boolean>;
set use_tail(v: H.In<boolean>);
/**
* Constraint axis Lock options relative to Bone or Target reference Default: 'BONE'.
* - `BONE`: Bone
* - `TARGET`: Target
*/
get reference_axis(): H.Ref<"BONE" | "TARGET">;
set reference_axis(v: H.In<"BONE" | "TARGET">);
/** Chain follows position of target Default: False. */
get use_location(): H.Ref<boolean>;
set use_location(v: H.In<boolean>);
/** Constraint position along X axis Default: True. */
get lock_location_x(): H.Ref<boolean>;
set lock_location_x(v: H.In<boolean>);
/** Constraint position along Y axis Default: True. */
get lock_location_y(): H.Ref<boolean>;
set lock_location_y(v: H.In<boolean>);
/** Constraint position along Z axis Default: True. */
get lock_location_z(): H.Ref<boolean>;
set lock_location_z(v: H.In<boolean>);
/** Chain follows rotation of target Default: False. */
get use_rotation(): H.Ref<boolean>;
set use_rotation(v: H.In<boolean>);
/** Constraint rotation along X axis Default: True. */
get lock_rotation_x(): H.Ref<boolean>;
set lock_rotation_x(v: H.In<boolean>);
/** Constraint rotation along Y axis Default: True. */
get lock_rotation_y(): H.Ref<boolean>;
set lock_rotation_y(v: H.In<boolean>);
/** Constraint rotation along Z axis Default: True. */
get lock_rotation_z(): H.Ref<boolean>;
set lock_rotation_z(v: H.In<boolean>);
/** Enable IK Stretching Default: False. */
get use_stretch(): H.Ref<boolean>;
set use_stretch(v: H.In<boolean>);
/**
* IK Type Default: 'COPY_POSE'.
* - `COPY_POSE`: Copy Pose
* - `DISTANCE`: Distance
*/
get ik_type(): H.Ref<"COPY_POSE" | "DISTANCE">;
set ik_type(v: H.In<"COPY_POSE" | "DISTANCE">);
/**
* Distances in relation to sphere of influence to allow Default: 'LIMITDIST_INSIDE'.
* - `LIMITDIST_INSIDE`: Inside (The object is constrained inside a virtual sphere around the target object, with a radius defined by the limit distance)
* - `LIMITDIST_OUTSIDE`: Outside (The object is constrained outside a virtual sphere around the target object, with a radius defined by the limit distance)
* - `LIMITDIST_ONSURFACE`: On Surface (The object is constrained on the surface of a virtual sphere around the target object, with a radius defined by the limit distance)
*/
get limit_mode(): H.Ref<"LIMITDIST_INSIDE" | "LIMITDIST_OUTSIDE" | "LIMITDIST_ONSURFACE">;
set limit_mode(v: H.In<"LIMITDIST_INSIDE" | "LIMITDIST_OUTSIDE" | "LIMITDIST_ONSURFACE">);
/** Radius of limiting sphere Range: 0 to 100. Default: 0.0. */
get distance(): H.Ref<number>;
set distance(v: H.In<number>);
}