@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.
36 lines (35 loc) • 1.08 kB
TypeScript
/**
* Interface used to convey context through execution nodes
*/
export interface INodeGeometryExecutionContext {
/**
* Gets the current vertex index in the current flow
* @returns the current index
*/
getExecutionIndex(): number;
/**
* Gets the current face index in the current flow
* @returns the current face index
*/
getExecutionFaceIndex(): number;
/**
* Gets the current loop index in the current flow
* @returns the current loop index
*/
getExecutionLoopIndex(): number;
/**
* Gets the value associated with a contextual positions
* @returns the value associated with the source
*/
getOverridePositionsContextualValue?(): any;
/**
* Gets the value associated with a contextual normals
* @returns the value associated with the source
*/
getOverrideNormalsContextualValue?(): any;
/**
* Gets the value associated with a contextual UV1 set
* @returns the value associated with the source
*/
getOverrideUVs1ContextualValue?(): any;
}