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.

27 lines (26 loc) 780 B
import { NodeMaterialBlock } from "../nodeMaterialBlock.js"; import type { NodeMaterialConnectionPoint } from "../nodeMaterialBlockConnectionPoint.js"; /** * Block used to perform a mathematical operation on 2 values */ export declare class BaseMathBlock extends NodeMaterialBlock { private readonly _connectionObservers; protected constructor(name: string); /** * Gets the left operand input component */ get left(): NodeMaterialConnectionPoint; /** * Gets the right operand input component */ get right(): NodeMaterialConnectionPoint; /** * Gets the output component */ get output(): NodeMaterialConnectionPoint; private _updateInputOutputTypes; /** * Release resources */ dispose(): void; }