@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
15 lines (14 loc) • 811 B
TypeScript
import { Box3, Vector3, Object3D } from 'three';
import { ObjectNamedFunction1, ObjectNamedFunction2, ObjectNamedFunction5 } from './_Base';
export declare class getGeometryPositions extends ObjectNamedFunction1<[Vector3[]]> {
static type(): string;
func(object3D: Object3D, target: Vector3[]): Vector3[];
}
export declare class getGeometryBoundingBox extends ObjectNamedFunction2<[boolean, Box3]> {
static type(): string;
func(object3D: Object3D, forceCompute: boolean, target: Box3): Box3;
}
export declare class setGeometryPositions extends ObjectNamedFunction5<[Vector3[], number, boolean, boolean, boolean]> {
static type(): string;
func(object3D: Object3D, values: Vector3[], lerp: number, attributeNeedsUpdate: boolean, computeNormals: boolean, computeTangents: boolean): void;
}