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.

25 lines (24 loc) 767 B
/** This file must only contain pure code and pure imports */ import { type NodeMaterialBuildState } from "../nodeMaterialBuildState.js"; import { BaseMathBlock } from "./baseMathBlock.js"; /** * Block used to subtract 2 vectors */ export declare class SubtractBlock extends BaseMathBlock { /** * Creates a new SubtractBlock * @param name defines the block name */ constructor(name: string); /** * Gets the current class name * @returns the class name */ getClassName(): string; protected _buildBlock(state: NodeMaterialBuildState): this; } /** * Register side effects for subtractBlock. * Safe to call multiple times; only the first call has an effect. */ export declare function RegisterSubtractBlock(): void;