UNPKG

polygonjs-engine

Version:

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

22 lines (21 loc) 867 B
/** * Sets the layer of the input objects * * @remarks * This should be combined with the layer of a camera. This will allow some objects to be only visible via some cameras. */ import { TypedSopNode } from './_Base'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; import { CoreGroup } from '../../../core/geometry/Group'; declare class LayerSopParamsConfig extends NodeParamsConfig { /** @param the layer that the objects will be assigned to */ layer: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.INTEGER>; } export declare class LayerSopNode extends TypedSopNode<LayerSopParamsConfig> { params_config: LayerSopParamsConfig; static type(): string; static displayedInputNames(): string[]; initializeNode(): void; cook(input_contents: CoreGroup[]): void; } export {};