@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
30 lines (29 loc) • 1.32 kB
TypeScript
/**
* Creates a box.
*
* @remarks
* If the node has no input, you can control the radius and center of the box. If the node has an input, it will create a box that encompasses the input geometry.
*
*/
import { TypedSopNode } from './_Base';
import { CoreGroup } from '../../../core/geometry/Group';
import { NodeParamsConfig } from '../utils/params/ParamsConfig';
import { SopType } from '../../poly/registers/nodes/types/Sop';
declare class DecalSopParamsConfig extends NodeParamsConfig {
/** @param decal position */
t: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>;
/** @param decal rotation */
r: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>;
/** @param decal scale */
s: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>;
/** @param decal scale multipler */
scale: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>;
}
export declare class DecalSopNode extends TypedSopNode<DecalSopParamsConfig> {
paramsConfig: DecalSopParamsConfig;
static type(): SopType;
initializeNode(): void;
private _operation;
cook(input_contents: CoreGroup[]): void;
}
export {};