@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) • 535 B
TypeScript
import { type Nullable } from "../types.js";
import { type SelectionOutlineLayer } from "./selectionOutlineLayer.pure.js";
declare module "../scene.pure.js" {
interface Scene {
/**
* Return a the first selection outline layer of the scene with a given name.
* @param name The name of the selection outline layer to look for.
* @returns The selection outline layer if found otherwise null.
*/
getSelectionOutlineLayerByName(name: string): Nullable<SelectionOutlineLayer>;
}
}