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.5 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.pointcloud */
export interface Ops {
  /**
   * Set values of the active attribute for selected elements
   *
   * bpy.ops.pointcloud.attribute_set
   */
  attribute_set: H.Operator<{
    /** Value Default: 0.0. */
    value_float?: H.In<number>;
    /** Value Default: (0.0, 0.0). */
    value_float_vector_2d?: H.In<readonly number[]>;
    /** Value Default: (0.0, 0.0, 0.0). */
    value_float_vector_3d?: H.In<readonly number[]>;
    /** Value Default: (0.0, 0.0, 0.0, 0.0). */
    value_float_vector_4d?: H.In<readonly number[]>;
    /** Value Default: 0. */
    value_int?: H.In<number>;
    /** Value Default: (0, 0). */
    value_int_vector_2d?: H.In<readonly number[]>;
    /** Value Default: (1.0, 1.0, 1.0, 1.0). */
    value_color?: H.In<readonly number[]>;
    /** Value Default: False. */
    value_bool?: H.In<boolean>;
  }>;
  /**
   * Remove selected points
   *
   * bpy.ops.pointcloud.delete
   */
  delete: H.Operator<{}>;
  /**
   * Copy selected points
   *
   * bpy.ops.pointcloud.duplicate
   */
  duplicate: H.Operator<{}>;
  /**
   * Make copies of selected elements and move them
   *
   * bpy.ops.pointcloud.duplicate_move
   */
  duplicate_move: H.Operator<{
    /** Copy selected points */
    POINTCLOUD_OT_duplicate?: any;
    /** Move selected items */
    TRANSFORM_OT_translate?: any;
  }>;
  /**
   * (De)select all points
   *
   * bpy.ops.pointcloud.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">;
  }>;
  /**
   * Randomize existing selection or create new random selection
   *
   * bpy.ops.pointcloud.select_random
   */
  select_random: H.Operator<{
    /** Source of randomness Default: 0. */
    seed?: H.In<number>;
    /** Chance of every point being included in the selection Default: 0.5. */
    probability?: H.In<number>;
  }>;
  /**
   * Separate selected geometry into a new point cloud
   *
   * bpy.ops.pointcloud.separate
   */
  separate: H.Operator<{}>;
}