polygonjs-engine
Version:
node-based webgl 3D engine https://polygonjs.com
26 lines (25 loc) • 948 B
TypeScript
import { BaseSopOperation } from './_Base';
import { DefaultOperationParams } from '../_Base';
import { Vector2 } from 'three/src/math/Vector2';
import { Vector3 } from 'three/src/math/Vector3';
import { CoreGroup } from '../../../core/geometry/Group';
import { InputCloneMode } from '../../../engine/poly/InputCloneMode';
interface PlaneSopParams extends DefaultOperationParams {
size: Vector2;
useSegmentsCount: boolean;
stepSize: number;
segments: Vector2;
direction: Vector3;
center: Vector3;
}
export declare class PlaneSopOperation extends BaseSopOperation {
static readonly DEFAULT_PARAMS: PlaneSopParams;
static readonly INPUT_CLONED_STATE = InputCloneMode.NEVER;
static type(): Readonly<'plane'>;
private _core_transform;
cook(input_contents: CoreGroup[], params: PlaneSopParams): CoreGroup;
private _cook_without_input;
private _cook_with_input;
private _create_plane;
}
export {};