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.

42 lines (41 loc) 1.19 kB
import { NodeGeometryBlock } from "../nodeGeometryBlock.js"; import type { NodeGeometryConnectionPoint } from "../nodeGeometryBlockConnectionPoint.js"; /** * Block used to clamp a float */ export declare class GeometryClampBlock extends NodeGeometryBlock { /** Gets or sets the minimum range */ get minimum(): number; set minimum(value: number); /** Gets or sets the maximum range */ get maximum(): number; set maximum(value: number); /** * Creates a new GeometryClampBlock * @param name defines the block name */ constructor(name: string); /** * Gets the current class name * @returns the class name */ getClassName(): string; /** * Gets the value input component */ get value(): NodeGeometryConnectionPoint; /** * Gets the min input component */ get min(): NodeGeometryConnectionPoint; /** * Gets the max input component */ get max(): NodeGeometryConnectionPoint; /** * Gets the output component */ get output(): NodeGeometryConnectionPoint; protected _buildBlock(): this | undefined; _deserialize(serializationObject: any): void; }