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.

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

/** bpy.ops.marker */
export interface Ops {
  /**
   * Add a new time marker
   *
   * bpy.ops.marker.add
   */
  add: H.Operator<{}>;
  /**
   * Bind the selected camera to a marker on the current frame
   *
   * bpy.ops.marker.camera_bind
   */
  camera_bind: H.Operator<{}>;
  /**
   * Delete selected time marker(s)
   *
   * bpy.ops.marker.delete
   */
  delete: H.Operator<{
    /** Prompt for confirmation Default: True. */
    confirm?: H.In<boolean>;
  }>;
  /**
   * Duplicate selected time marker(s)
   *
   * bpy.ops.marker.duplicate
   */
  duplicate: H.Operator<{
    /** Frames Default: 0. */
    frames?: H.In<number>;
  }>;
  /**
   * Copy selected markers to another scene
   *
   * bpy.ops.marker.make_links_scene
   */
  make_links_scene: H.Operator<{
    /** Scene Default: ''. */
    scene?: H.In<string>;
  }>;
  /**
   * Move selected time marker(s)
   *
   * bpy.ops.marker.move
   */
  move: H.Operator<{
    /** Frames Default: 0. */
    frames?: H.In<number>;
    /** Operator has been activated using a click-drag event Default: False. */
    tweak?: H.In<boolean>;
  }>;
  /**
   * Rename first selected time marker
   *
   * bpy.ops.marker.rename
   */
  rename: H.Operator<{
    /** New name for marker Default: "RenamedMarker". */
    name?: H.In<string>;
  }>;
  /**
   * Select time marker(s)
   *
   * bpy.ops.marker.select
   */
  select: H.Operator<{
    /** Wait to Deselect Others Default: False. */
    wait_to_deselect_others?: H.In<boolean>;
    /** Instead of selecting on mouse press, wait to see if there's drag event. Otherwise select on mouse release Default: False. */
    use_select_on_click?: H.In<boolean>;
    /** Mouse X Default: 0. */
    mouse_x?: H.In<number>;
    /** Mouse Y Default: 0. */
    mouse_y?: H.In<number>;
    /** Extend the selection Default: False. */
    extend?: H.In<boolean>;
    /** Select the camera Default: False. */
    camera?: H.In<boolean>;
  }>;
  /**
   * Change selection of all time markers
   *
   * bpy.ops.marker.select_all
   */
  select_all: H.Operator<{
    /**
     * Selection action to execute Default: 'TOGGLE'.
     * - `TOGGLE`: Toggle (Toggle selection for all elements)
     * - `SELECT`: Select (Select all elements)
     * - `DESELECT`: Deselect (Deselect all elements)
     * - `INVERT`: Invert (Invert selection of all elements)
     */
    action?: H.In<"TOGGLE" | "SELECT" | "DESELECT" | "INVERT">;
  }>;
  /**
   * Select all time markers using box selection
   *
   * bpy.ops.marker.select_box
   */
  select_box: H.Operator<{
    /** X Min Default: 0. */
    xmin?: H.In<number>;
    /** X Max Default: 0. */
    xmax?: H.In<number>;
    /** Y Min Default: 0. */
    ymin?: H.In<number>;
    /** Y Max Default: 0. */
    ymax?: H.In<number>;
    /** Wait for Input Default: True. */
    wait_for_input?: H.In<boolean>;
    /**
     * Mode Default: 'SET'.
     * - `SET`: Set (Set a new selection)
     * - `ADD`: Extend (Extend existing selection)
     * - `SUB`: Subtract (Subtract existing selection)
     */
    mode?: H.In<"SET" | "ADD" | "SUB">;
    /** Operator has been activated using a click-drag event Default: False. */
    tweak?: H.In<boolean>;
  }>;
  /**
   * Select markers on and left/right of the current frame
   *
   * bpy.ops.marker.select_leftright
   */
  select_leftright: H.Operator<{
    /**
     * Mode Default: 'LEFT'.
     * - `LEFT`: Before Current Frame
     * - `RIGHT`: After Current Frame
     * - `CLICK_SIDE`: Mouse Click Side
     */
    mode?: H.In<"LEFT" | "RIGHT" | "CLICK_SIDE">;
    /** Extend Select Default: False. */
    extend?: H.In<boolean>;
  }>;
}