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) 757 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 divide 2 vectors */ export declare class DivideBlock extends BaseMathBlock { /** * Creates a new DivideBlock * @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 divideBlock. * Safe to call multiple times; only the first call has an effect. */ export declare function RegisterDivideBlock(): void;