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.
TypeScript 3dagent-skillsai-agentsai-videobevyclaude-codegame-enginegpulinuxmacosmotion-designmotion-graphicsreactrusttypescriptvideo-editingvideo-renderingwgpuwindows
// 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";
import type * as P from "../py";
/** bpy_extras.node_utils */
export interface Api {
/**
* Connect sockets in a node tree.
*
* This is useful because the links created through the normal Python API are
* invalid when one of the sockets is a virtual socket (grayed out sockets in
* Group Input and Group Output nodes).
*
* It replaces node_tree.links.new(input, output)
* @returns The created link, or ``None`` when the sockets cannot be connected.
* @param input The input socket.
* @param output The output socket.
*/
connect_sockets(input: R.NodeSocket, output: R.NodeSocket): H.Ptr<R.NodeLink>;
/**
* Connect sockets in a node tree.
*
* This is useful because the links created through the normal Python API are
* invalid when one of the sockets is a virtual socket (grayed out sockets in
* Group Input and Group Output nodes).
*
* It replaces node_tree.links.new(input, output)
* @returns The created link, or ``None`` when the sockets cannot be connected.
* @param input The input socket.
* @param output The output socket.
*/
connect_sockets(kw: {
/** The input socket. */
input: R.NodeSocket;
/** The output socket. */
output: R.NodeSocket;
}): H.Ptr<R.NodeLink>;
/**
* Find the base class of the socket.
*
* Sockets can have a subtype such as NodeSocketFloatFactor,
* but only the base type is allowed, e.g. NodeSocketFloat
* @returns The base socket type identifier.
* @param socket The socket to find the base type for.
*/
find_base_socket_type(socket: R.NodeSocket): H.Ref<string>;
/**
* Find the base class of the socket.
*
* Sockets can have a subtype such as NodeSocketFloatFactor,
* but only the base type is allowed, e.g. NodeSocketFloat
* @returns The base socket type identifier.
* @param socket The socket to find the base type for.
*/
find_base_socket_type(kw: {
/** The socket to find the base type for. */
socket: R.NodeSocket;
}): H.Ref<string>;
/**
* Find a node input socket by name.
*
* Note that names are not unique, returns the first match.
* @returns The input socket or None if not found.
* @param node The node to search.
* @param name The name of the input socket.
*/
find_node_input(node: R.Node, name: H.In<string>): H.Ptr<R.NodeSocket>;
/**
* Find a node input socket by name.
*
* Note that names are not unique, returns the first match.
* @returns The input socket or None if not found.
* @param node The node to search.
* @param name The name of the input socket.
*/
find_node_input(kw: {
/** The node to search. */
node: R.Node;
/** The name of the input socket. */
name: H.In<string>;
}): H.Ptr<R.NodeSocket>;
}