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.

2.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.collection */
export interface Ops {
  /**
   * Create an object collection from selected objects
   *
   * bpy.ops.collection.create
   */
  create: H.Operator<{
    /** Name of the new collection Default: "". */
    name?: H.In<string>;
  }>;
  /**
   * Invoke all configured exporters on this collection
   *
   * bpy.ops.collection.export_all
   */
  export_all: H.Operator<{}>;
  /**
   * Add exporter to the exporter list
   *
   * bpy.ops.collection.exporter_add
   */
  exporter_add: H.Operator<{
    /** FileHandler idname Default: "". */
    name?: H.In<string>;
  }>;
  /**
   * Invoke the export operation
   *
   * bpy.ops.collection.exporter_export
   */
  exporter_export: H.Operator<{
    /** Exporter index Default: 0. */
    index?: H.In<number>;
  }>;
  /**
   * Move exporter up or down in the exporter list
   *
   * bpy.ops.collection.exporter_move
   */
  exporter_move: H.Operator<{
    /**
     * Direction to move the active exporter Default: 'UP'.
     * - `UP`: Up
     * - `DOWN`: Down
     */
    direction?: H.In<"UP" | "DOWN">;
  }>;
  /**
   * Remove exporter from the exporter list
   *
   * bpy.ops.collection.exporter_remove
   */
  exporter_remove: H.Operator<{
    /** Exporter index Default: 0. */
    index?: H.In<number>;
  }>;
  /**
   * Add Importer
   *
   * bpy.ops.collection.importer_add
   */
  importer_add: H.Operator<{
    /** FileHandler idname Default: "". */
    name?: H.In<string>;
  }>;
  /**
   * Remove Importer
   *
   * bpy.ops.collection.importer_remove
   */
  importer_remove: H.Operator<{}>;
  /**
   * Add selected objects to one of the collections the active-object is part of. Optionally add to "All Collections" to ensure selected objects are included in the same collections as the active object
   *
   * bpy.ops.collection.objects_add_active
   */
  objects_add_active: H.Operator<{
    /** The collection to add other selected objects to Default: ''. */
    collection?: H.In<string>;
  }>;
  /**
   * Remove selected objects from a collection
   *
   * bpy.ops.collection.objects_remove
   */
  objects_remove: H.Operator<{
    /** The collection to remove this object from Default: ''. */
    collection?: H.In<string>;
  }>;
  /**
   * Remove the object from an object collection that contains the active object
   *
   * bpy.ops.collection.objects_remove_active
   */
  objects_remove_active: H.Operator<{
    /** The collection to remove other selected objects from Default: ''. */
    collection?: H.In<string>;
  }>;
  /**
   * Remove selected objects from all collections
   *
   * bpy.ops.collection.objects_remove_all
   */
  objects_remove_all: H.Operator<{}>;
}