@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.
13 lines (12 loc) • 483 B
TypeScript
import { type Nullable } from "../types.js";
import { type HighlightLayer } from "./highlightLayer.pure.js";
declare module "../scene.pure.js" {
interface Scene {
/**
* Return a the first highlight layer of the scene with a given name.
* @param name The name of the highlight layer to look for.
* @returns The highlight layer if found otherwise null.
*/
getHighlightLayerByName(name: string): Nullable<HighlightLayer>;
}
}