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.

5.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.cachefile */
export interface Ops {
  /**
   * Add an override layer to the archive
   *
   * bpy.ops.cachefile.layer_add
   */
  layer_add: H.Operator<{
    /** Path to file Default: "". */
    filepath?: H.In<string>;
    /** Collapse the region displaying the operator settings Default: True. */
    hide_props_region?: H.In<boolean>;
    /** Check and warn on overwriting existing files Default: False. */
    check_existing?: H.In<boolean>;
    /** Filter .blend files Default: False. */
    filter_blender?: H.In<boolean>;
    /** Filter backup .blend files Default: False. */
    filter_backup?: H.In<boolean>;
    /** Filter image files Default: False. */
    filter_image?: H.In<boolean>;
    /** Filter movie files Default: False. */
    filter_movie?: H.In<boolean>;
    /** Filter Python files Default: False. */
    filter_python?: H.In<boolean>;
    /** Filter font files Default: False. */
    filter_font?: H.In<boolean>;
    /** Filter sound files Default: False. */
    filter_sound?: H.In<boolean>;
    /** Filter text files Default: False. */
    filter_text?: H.In<boolean>;
    /** Filter archive files Default: False. */
    filter_archive?: H.In<boolean>;
    /** Filter btx files Default: False. */
    filter_btx?: H.In<boolean>;
    /** Filter Alembic files Default: True. */
    filter_alembic?: H.In<boolean>;
    /** Filter USD files Default: True. */
    filter_usd?: H.In<boolean>;
    /** Filter OBJ files Default: False. */
    filter_obj?: H.In<boolean>;
    /** Filter OpenVDB volume files Default: False. */
    filter_volume?: H.In<boolean>;
    /** Filter folders Default: True. */
    filter_folder?: H.In<boolean>;
    /** Filter Blender IDs Default: False. */
    filter_blenlib?: H.In<boolean>;
    /** The setting for the file browser mode to load a .blend file, a library or a special file Default: 8. */
    filemode?: H.In<number>;
    /** Select the file relative to the blend file Default: True. */
    relative_path?: H.In<boolean>;
    /**
     * Display Type Default: 'DEFAULT'.
     * - `DEFAULT`: Default (Automatically determine display type for files)
     * - `LIST_VERTICAL`: Short List (Display files as short list)
     * - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
     * - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
     */
    display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
    /** File sorting mode Default: ''. */
    sort_method?: H.In<string>;
  }>;
  /**
   * Move layer in the list, layers further down the list will overwrite data from the layers higher up
   *
   * bpy.ops.cachefile.layer_move
   */
  layer_move: H.Operator<{
    /**
     * Direction to move the active layer towards Default: 'UP'.
     * - `UP`: Up
     * - `DOWN`: Down
     */
    direction?: H.In<"UP" | "DOWN">;
  }>;
  /**
   * Remove an override layer from the archive
   *
   * bpy.ops.cachefile.layer_remove
   */
  layer_remove: H.Operator<{}>;
  /**
   * Load a cache file
   *
   * bpy.ops.cachefile.open
   */
  open: H.Operator<{
    /** Path to file Default: "". */
    filepath?: H.In<string>;
    /** Collapse the region displaying the operator settings Default: True. */
    hide_props_region?: H.In<boolean>;
    /** Check and warn on overwriting existing files Default: False. */
    check_existing?: H.In<boolean>;
    /** Filter .blend files Default: False. */
    filter_blender?: H.In<boolean>;
    /** Filter backup .blend files Default: False. */
    filter_backup?: H.In<boolean>;
    /** Filter image files Default: False. */
    filter_image?: H.In<boolean>;
    /** Filter movie files Default: False. */
    filter_movie?: H.In<boolean>;
    /** Filter Python files Default: False. */
    filter_python?: H.In<boolean>;
    /** Filter font files Default: False. */
    filter_font?: H.In<boolean>;
    /** Filter sound files Default: False. */
    filter_sound?: H.In<boolean>;
    /** Filter text files Default: False. */
    filter_text?: H.In<boolean>;
    /** Filter archive files Default: False. */
    filter_archive?: H.In<boolean>;
    /** Filter btx files Default: False. */
    filter_btx?: H.In<boolean>;
    /** Filter Alembic files Default: True. */
    filter_alembic?: H.In<boolean>;
    /** Filter USD files Default: True. */
    filter_usd?: H.In<boolean>;
    /** Filter OBJ files Default: False. */
    filter_obj?: H.In<boolean>;
    /** Filter OpenVDB volume files Default: False. */
    filter_volume?: H.In<boolean>;
    /** Filter folders Default: True. */
    filter_folder?: H.In<boolean>;
    /** Filter Blender IDs Default: False. */
    filter_blenlib?: H.In<boolean>;
    /** The setting for the file browser mode to load a .blend file, a library or a special file Default: 8. */
    filemode?: H.In<number>;
    /** Select the file relative to the blend file Default: True. */
    relative_path?: H.In<boolean>;
    /**
     * Display Type Default: 'DEFAULT'.
     * - `DEFAULT`: Default (Automatically determine display type for files)
     * - `LIST_VERTICAL`: Short List (Display files as short list)
     * - `LIST_HORIZONTAL`: Long List (Display files as a detailed list)
     * - `THUMBNAIL`: Thumbnails (Display files as thumbnails)
     */
    display_type?: H.In<"DEFAULT" | "LIST_VERTICAL" | "LIST_HORIZONTAL" | "THUMBNAIL">;
    /** File sorting mode Default: ''. */
    sort_method?: H.In<string>;
  }>;
  /**
   * Update objects paths list with new data from the archive
   *
   * bpy.ops.cachefile.reload
   */
  reload: H.Operator<{}>;
}