UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

25 lines (24 loc) 792 B
/** * Returns the names of objects created by a node. * * @remarks * It takes 1 arguments. * * `objectNames(input_index_or_node_path)` * * - `input_index_or_node_path` the path to a node, or input index * * ## Usage * * - `objectNames(0)` - returns the names of objects in the input node. * - `objectNames('/geo/merge1')` - returns the names of objects in the node /geo/merge1 * */ import { BaseMethodFindDependencyArgs } from './_Base'; import { BaseMethod } from './_Base'; import { MethodDependency } from '../MethodDependency'; export declare class ObjectNamesExpression extends BaseMethod { static requiredArguments(): string[][]; findDependency(args: BaseMethodFindDependencyArgs): MethodDependency | null; processArguments(args: any[]): Promise<string[]>; }