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