UNPKG

polygonjs-engine

Version:

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

25 lines (24 loc) 783 B
/** * Returns the number of points in a geometry. * * @remarks * It takes 1 arguments. * * pointsCount(<input_index_or_node_path\>) * * - **<input_index_or_node_path\>** returns the number of points, as a number * * ## Usage * * - `pointsCount(0)` - returns the number of points in the input node. * - `pointsCount('/geo/merge1')` - returns the number of points in the node /geo/merge1 * */ import { BaseMethod } from './_Base'; import { MethodDependency } from '../MethodDependency'; export declare class PointsCountExpression extends BaseMethod { protected _require_dependency: boolean; static required_arguments(): string[][]; find_dependency(index_or_path: number | string): MethodDependency | null; process_arguments(args: any[]): Promise<any>; }