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.0 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.import_anim */
export interface Ops {
  /**
   * Load a BVH motion capture file
   *
   * bpy.ops.import_anim.bvh
   */
  bvh: H.Operator<{
    /** Filepath used for importing the file Default: "". */
    filepath?: H.In<string>;
    /** Default: "*.bvh". */
    filter_glob?: H.In<string>;
    /**
     * Import target type Default: 'ARMATURE'.
     * - `ARMATURE`: Armature
     * - `OBJECT`: Object
     */
    target?: H.In<"ARMATURE" | "OBJECT">;
    /** Scale the BVH by this value Default: 1.0. */
    global_scale?: H.In<number>;
    /** Starting frame for the animation Default: 1. */
    frame_start?: H.In<number>;
    /** Scale the frame-rate from the BVH to the current scenes, otherwise each BVH frame maps directly to a Blender frame Default: False. */
    use_fps_scale?: H.In<boolean>;
    /** Set the scene frame-rate to that of the BVH file (note that this nullifies the 'Scale FPS' option, as the scale will be 1:1) Default: False. */
    update_scene_fps?: H.In<boolean>;
    /** Extend the scene's duration to the BVH duration (never shortens the scene) Default: False. */
    update_scene_duration?: H.In<boolean>;
    /** Loop the animation playback Default: False. */
    use_cyclic?: H.In<boolean>;
    /** Rotation conversion Default: 'NATIVE'. */
    rotate_mode?: H.In<E.ImportAnimBvhRotateMode>;
    /**
     * Forward Default: '-Z'.
     * - `X`: X Forward
     * - `Y`: Y Forward
     * - `Z`: Z Forward
     * - `-X`: -X Forward
     * - `-Y`: -Y Forward
     * - `-Z`: -Z Forward
     */
    axis_forward?: H.In<"X" | "Y" | "Z" | "-X" | "-Y" | "-Z">;
    /**
     * Up Default: 'Y'.
     * - `X`: X Up
     * - `Y`: Y Up
     * - `Z`: Z Up
     * - `-X`: -X Up
     * - `-Y`: -Y Up
     * - `-Z`: -Z Up
     */
    axis_up?: H.In<"X" | "Y" | "Z" | "-X" | "-Y" | "-Z">;
  }>;
}