@babylonjs/core
Version:
Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.
31 lines (30 loc) • 874 B
TypeScript
import { NodeGeometryBlock } from "../nodeGeometryBlock.js";
import type { NodeGeometryConnectionPoint } from "../nodeGeometryBlockConnectionPoint.js";
/**
* Block used to desaturate a color
*/
export declare class GeometryDesaturateBlock extends NodeGeometryBlock {
/**
* Creates a new GeometryDesaturateBlock
* @param name defines the block name
*/
constructor(name: string);
/**
* Gets the current class name
* @returns the class name
*/
getClassName(): string;
/**
* Gets the color operand input component
*/
get color(): NodeGeometryConnectionPoint;
/**
* Gets the level operand input component
*/
get level(): NodeGeometryConnectionPoint;
/**
* Gets the output component
*/
get output(): NodeGeometryConnectionPoint;
protected _buildBlock(): this | undefined;
}