polygonjs-engine
Version:
node-based webgl 3D engine https://polygonjs.com
25 lines (24 loc) • 1.06 kB
TypeScript
/**
* Creates a tetrahedron
*
*
*
*/
import { TypedSopNode } from './_Base';
import { NodeParamsConfig } from '../utils/params/ParamsConfig';
declare class TetrahedronSopParamsConfig extends NodeParamsConfig {
/** @param radius of the tetrahedron */
radius: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.FLOAT>;
/** @param resolution of the tetrahedron */
detail: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.INTEGER>;
/** @param sets to create only points */
pointsOnly: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.BOOLEAN>;
/** @param center of the tetrahedron */
center: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.VECTOR3>;
}
export declare class TetrahedronSopNode extends TypedSopNode<TetrahedronSopParamsConfig> {
params_config: TetrahedronSopParamsConfig;
static type(): string;
cook(): void;
}
export {};