UNPKG

@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.

36 lines (35 loc) 1.05 kB
import { NodeMaterialBlock } from "../nodeMaterialBlock.js"; import type { NodeMaterialBuildState } from "../nodeMaterialBuildState.js"; import type { NodeMaterialConnectionPoint } from "../nodeMaterialBlockConnectionPoint.js"; /** * Block used to lerp between 2 values */ export declare class LerpBlock extends NodeMaterialBlock { /** * Creates a new LerpBlock * @param name defines the block name */ constructor(name: string); /** * Gets the current class name * @returns the class name */ getClassName(): string; /** * Gets the left operand input component */ get left(): NodeMaterialConnectionPoint; /** * Gets the right operand input component */ get right(): NodeMaterialConnectionPoint; /** * Gets the gradient operand input component */ get gradient(): NodeMaterialConnectionPoint; /** * Gets the output component */ get output(): NodeMaterialConnectionPoint; protected _buildBlock(state: NodeMaterialBuildState): this; }