UNPKG

@polygonjs/polygonjs

Version:

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

22 lines (21 loc) 1.04 kB
import { BaseSopOperation } from './_Base'; import { CoreGroup } from '../../../core/geometry/Group'; import { Vector3 } from 'three'; import { InputCloneMode } from '../../../engine/poly/InputCloneMode'; import { DefaultOperationParams } from '../../../core/operations/_Base'; interface BoxLinesSopParams extends DefaultOperationParams { size: number; sizes: Vector3; divisions: Vector3; center: Vector3; } export declare class BoxLinesSopOperation extends BaseSopOperation { static readonly DEFAULT_PARAMS: BoxLinesSopParams; static readonly INPUT_CLONED_STATE = InputCloneMode.NEVER; static type(): Readonly<'boxLines'>; cook(inputCoreGroups: CoreGroup[], params: BoxLinesSopParams): CoreGroup; private _cookWithoutInput; private _cookWithInput; static createLines(params: BoxLinesSopParams): import("three").LineSegments<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>; } export {};