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.

60 lines (59 loc) 1.83 kB
import { NodeMaterialBlock } from "../nodeMaterialBlock.js"; import type { NodeMaterialBuildState } from "../nodeMaterialBuildState.js"; import type { NodeMaterialConnectionPoint } from "../nodeMaterialBlockConnectionPoint.js"; import type { Scene } from "../../../scene.js"; /** * block used to Generate a Worley Noise 3D Noise Pattern */ export declare class WorleyNoise3DBlock extends NodeMaterialBlock { /** Gets or sets a boolean indicating that normal should be inverted on X axis */ manhattanDistance: boolean; /** * Creates a new WorleyNoise3DBlock * @param name defines the block name */ constructor(name: string); /** * Gets the current class name * @returns the class name */ getClassName(): string; /** * Gets the seed input component */ get seed(): NodeMaterialConnectionPoint; /** * Gets the jitter input component */ get jitter(): NodeMaterialConnectionPoint; /** * Gets the output component */ get output(): NodeMaterialConnectionPoint; /** * Gets the x component */ get x(): NodeMaterialConnectionPoint; /** * Gets the y component */ get y(): NodeMaterialConnectionPoint; protected _buildBlock(state: NodeMaterialBuildState): this | undefined; /** * Exposes the properties to the UI? * @returns - boolean indicating if the block has properties or not */ protected _dumpPropertiesCode(): string; /** * Exposes the properties to the Serialize? * @returns - a serialized object */ serialize(): any; /** * Exposes the properties to the deserialize? * @param serializationObject * @param scene * @param rootUrl */ _deserialize(serializationObject: any, scene: Scene, rootUrl: string): void; }