@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.
21 lines (20 loc) • 677 B
TypeScript
import type { NodeMaterialBuildState } from "../nodeMaterialBuildState.js";
import { TriPlanarBlock } from "./triPlanarBlock.js";
/**
* Block used to read a texture with triplanar mapping (see https://iquilezles.org/articles/biplanar/)
*/
export declare class BiPlanarBlock extends TriPlanarBlock {
/**
* Create a new BiPlanarBlock
* @param name defines the block name
*/
constructor(name: string);
/**
* Gets the current class name
* @returns the class name
*/
getClassName(): string;
private _declareLocalVarAsVec3I;
private _getTextureGrad;
protected _generateTextureLookup(state: NodeMaterialBuildState): void;
}