@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.
28 lines (27 loc) • 888 B
TypeScript
import { NodeMaterialBlock } from "../../nodeMaterialBlock.js";
import type { NodeMaterialBuildState } from "../../nodeMaterialBuildState.js";
import type { NodeMaterialConnectionPoint } from "../../nodeMaterialBlockConnectionPoint.js";
/**
* Block used to discard a pixel if a value is smaller than a cutoff
*/
export declare class DiscardBlock extends NodeMaterialBlock {
/**
* Create a new DiscardBlock
* @param name defines the block name
*/
constructor(name: string);
/**
* Gets the current class name
* @returns the class name
*/
getClassName(): string;
/**
* Gets the color input component
*/
get value(): NodeMaterialConnectionPoint;
/**
* Gets the cutoff input component
*/
get cutoff(): NodeMaterialConnectionPoint;
protected _buildBlock(state: NodeMaterialBuildState): this | undefined;
}