@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.
34 lines (33 loc) • 1.23 kB
TypeScript
import { type FrameGraph, type FrameGraphObjectList, type FrameGraphShadowGeneratorTask } from "../../../index.js";
import { LightingVolume } from "../../../Lights/lightingVolume.js";
import { FrameGraphTask } from "../../frameGraphTask.js";
/**
* Task used to create a lighting volume from a directional light's shadow generator.
*/
export declare class FrameGraphLightingVolumeTask extends FrameGraphTask {
/**
* The shadow generator used to create the lighting volume.
*/
shadowGenerator: FrameGraphShadowGeneratorTask;
/**
* The output object list containing the lighting volume mesh.
* You can get the mesh by doing outputMeshLightingVolume.meshes[0]
*/
readonly outputMeshLightingVolume: FrameGraphObjectList;
/**
* The lighting volume created by this task.
*/
readonly lightingVolume: LightingVolume;
get name(): string;
set name(name: string);
/**
* Creates a new FrameGraphLightingVolumeTask.
* @param name Name of the task.
* @param frameGraph The frame graph instance.
*/
constructor(name: string, frameGraph: FrameGraph);
isReady(): boolean;
getClassName(): string;
record(): void;
dispose(): void;
}