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.

1.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";

/** bpy.ops.palette */
export interface Ops {
  /**
   * Add new color to active palette
   *
   * bpy.ops.palette.color_add
   */
  color_add: H.Operator<{}>;
  /**
   * Remove active color from palette
   *
   * bpy.ops.palette.color_delete
   */
  color_delete: H.Operator<{}>;
  /**
   * Move the active Color up/down in the list
   *
   * bpy.ops.palette.color_move
   */
  color_move: H.Operator<{
    /**
     * Type Default: 'UP'.
     * - `UP`: Up
     * - `DOWN`: Down
     */
    type?: H.In<"UP" | "DOWN">;
  }>;
  /**
   * Extract all colors used in Image and create a Palette
   *
   * bpy.ops.palette.extract_from_image
   */
  extract_from_image: H.Operator<{
    /** Threshold Default: 1. */
    threshold?: H.In<number>;
  }>;
  /**
   * Join Palette Swatches
   *
   * bpy.ops.palette.join
   */
  join: H.Operator<{
    /** Name of the Palette Default: "". */
    palette?: H.In<string>;
  }>;
  /**
   * Add new palette
   *
   * bpy.ops.palette.new
   */
  "new": H.Operator<{}>;
  /**
   * Sort Palette Colors
   *
   * bpy.ops.palette.sort
   */
  sort: H.Operator<{
    /**
     * Type Default: 'HSV'.
     * - `HSV`: Hue, Saturation, Value
     * - `SVH`: Saturation, Value, Hue
     * - `VHS`: Value, Hue, Saturation
     * - `LUMINANCE`: Luminance
     */
    type?: H.In<"HSV" | "SVH" | "VHS" | "LUMINANCE">;
  }>;
}