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.

31 lines (30 loc) 1.04 kB
import { NodeGeometryBlock } from "../nodeGeometryBlock.js"; import type { NodeGeometryConnectionPoint } from "../nodeGeometryBlockConnectionPoint.js"; import type { NodeGeometryBuildState } from "../nodeGeometryBuildState.js"; import type { VertexData } from "../../mesh.vertexData.js"; import type { Nullable } from "../../../types.js"; /** * Block used to generate the final geometry */ export declare class GeometryOutputBlock extends NodeGeometryBlock { private _vertexData; /** * Gets the current vertex data if the graph was successfully built */ get currentVertexData(): Nullable<VertexData>; /** * Create a new GeometryOutputBlock * @param name defines the block name */ constructor(name: string); /** * Gets the current class name * @returns the class name */ getClassName(): string; /** * Gets the geometry input component */ get geometry(): NodeGeometryConnectionPoint; protected _buildBlock(state: NodeGeometryBuildState): void; }