@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.
30 lines (29 loc) • 943 B
TypeScript
import { type Scene, type Camera, type FrameGraph, type FrameGraphObjectList } from "../../../index.js";
import { FrameGraphTask } from "../../frameGraphTask.js";
/**
* Task used to cull objects that are not visible.
*/
export declare class FrameGraphCullObjectsTask extends FrameGraphTask {
/**
* The object list to cull.
*/
objectList: FrameGraphObjectList;
/**
* The camera to use for culling.
*/
camera: Camera;
/**
* The output object list containing the culled objects.
*/
readonly outputObjectList: FrameGraphObjectList;
private readonly _scene;
/**
* Creates a new cull objects task.
* @param name The name of the task.
* @param frameGraph The frame graph the task belongs to.
* @param scene The scene to cull objects from.
*/
constructor(name: string, frameGraph: FrameGraph, scene: Scene);
getClassName(): string;
record(): void;
}